0 Votes

Changes for page Home

Last modified by Alex Cotiugă on 2026/01/13 13:12

From version 7.102
edited by Alex Cotiugă
on 2025/11/13 22:06
Change comment: There is no comment for this version
To version 7.92
edited by Alex Cotiugă
on 2025/11/13 21:34
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -67,7 +67,7 @@
67 67   #set ($servicesSectionData = [{
68 68   'title': 'Upgrades',
69 69   'icon': 'refresh',
70 - 'content': 'Stay current with the latest XWiki LTS and keep your instance reliable.',
70 + 'content': 'Stay current with the latest XWiki LTS and keep your instance secure and stable.',
71 71   'items': [
72 72   'Audit setup, extensions, and configurations',
73 73   'Test upgrades with backups and validation',
... ... @@ -117,16 +117,9 @@
117 117   All the XWiki services you need, delivered with precision and care
118 118   </p>
119 119  
120 - #set ($servicesSize = $servicesSectionData.size())
121 121   <div class="row services-grid" role="list">
122 122   #foreach ($entry in $servicesSectionData)
123 - #set ($classes = "service col-xs-12 col-sm-6")
124 - ## If this is the last item and the number of services is odd,
125 - ## center it on its own row on small+ screens
126 - #if ($foreach.count == $servicesSize && ($servicesSize % 2) == 1)
127 - #set ($classes = "$classes col-sm-offset-3")
128 - #end
129 - <div class="$classes" role="listitem">
122 + <div class="service col-sm-6" role="listitem">
130 130   <div class="service-icon">
131 131   <i class="fa fa-$entry.icon" aria-hidden="true"></i>
132 132   </div>
... ... @@ -144,7 +144,7 @@
144 144   </div>
145 145   </div>
146 146   </section>
147 -#*
140 +
148 148   <!-- ================= METRICS ================= -->
149 149   <section aria-labelledby="metrics-title">
150 150   <div class="container">
... ... @@ -211,22 +211,16 @@
211 211   </details>
212 212   </div>
213 213   </section>
214 -*#
207 +
215 215   <!-- ================= CTA ================= -->
216 216   <section id="contact" aria-labelledby="contact-title">
217 217   <div class="container">
218 - <div class="row cta-band">
219 - <div class="col-xs-12 col-sm-8">
220 - <h4 id="contact-title">Need a reliable plan for your XWiki?</h4>
221 - <p class="lead" style="margin:0">
222 - Upgrades, support, and integrations handled with low risk and clear communication.
223 - </p>
211 + <div class="cta-band">
212 + <div>
213 + <h3 id="contact-title">Need a reliable plan for your XWiki?</h3>
214 + <p class="lead" style="margin:0">Upgrades, support, and integrations handled with low risk and clear communication.</p>
224 224   </div>
225 - <div class="col-xs-12 col-sm-4 text-sm-right">
226 - <a class="btn btn-primary" href="mailto:hello@agnease.com">
227 - Contact Agnease
228 - </a>
229 - </div>
216 + <a class="btn btn-primary" href="mailto:hello@agnease.com">Contact Agnease</a>
230 230   </div>
231 231   </div>
232 232   </section>
XWiki.StyleSheetExtension[0]
Code
... ... @@ -188,15 +188,16 @@
188 188   }
189 189   }
190 190  
191 - /* SERVICES */
191 + /* SERVICES */
192 192   .services {
193 193   .services-grid {
194 194   margin-top: 12px;
195 195  
196 196   .service {
197 + /* Bootstrap grid (col-sm-6) handles width & wrapping */
197 197   margin-bottom: 24px;
198 198  
199 - /* icon + text side by side */
200 + /* Icon + text on a row */
200 200   display: flex;
201 201   align-items: flex-start;
202 202   gap: 16px;
... ... @@ -232,7 +232,7 @@
232 232   margin: .45rem 0 0;
233 233   padding-left: 1.1rem;
234 234   color: @muted;
235 - font-size: 13px;
236 + font-size: .95rem;
236 236   }
237 237  
238 238   li {
... ... @@ -241,19 +241,11 @@
241 241   }
242 242   }
243 243   }
244 - }
245 245  
246 - @media (max-width: 767px) {
247 - .services-grid {
246 + @media (max-width: 767px) {
248 248   .service {
249 249   margin-bottom: 20px;
250 250   }
251 -
252 - .service-icon {
253 - width: 36px;
254 - height: 36px;
255 - font-size: 16px;
256 - }
257 257   }
258 258   }
259 259   }
... ... @@ -290,27 +290,9 @@
290 290   /* CTA BAND */
291 291   #contact {
292 292   .cta-band {
293 - background: #fff;
294 - border: 1px solid @line;
295 - border-radius: @radius;
296 - box-shadow: @shadow;
297 - padding: 20px;
298 - margin-top: 24px;
299 -
300 - /* Remove Bootstrap row negative margins so borders are clean */
301 - margin-left: 0;
302 - margin-right: 0;
303 -
304 - /* Align button on the right on sm+, center on mobile */
305 - .text-sm-right {
306 - text-align: center;
307 - margin-top: 12px;
308 -
309 - @media (min-width: 768px) {
310 - text-align: right;
311 - margin-top: 0;
312 - }
313 - }
286 + background: #fff; border: 1px solid @line; border-radius: @radius;
287 + padding: 20px; box-shadow: @shadow;
288 + display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
314 314   }
315 315   }
316 316