0 Votes

Changes for page Home

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

From version 7.92
edited by Alex Cotiugă
on 2025/11/13 21:34
Change comment: There is no comment for this version
To version 7.106
edited by Alex Cotiugă
on 2025/11/14 07:43
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 secure and stable.',
70 + 'content': 'Stay current with the latest XWiki LTS and keep your instance reliable.',
71 71   'items': [
72 72   'Audit setup, extensions, and configurations',
73 73   'Test upgrades with backups and validation',
... ... @@ -117,9 +117,16 @@
117 117   All the XWiki services you need, delivered with precision and care
118 118   </p>
119 119  
120 + #set ($servicesSize = $servicesSectionData.size())
120 120   <div class="row services-grid" role="list">
121 121   #foreach ($entry in $servicesSectionData)
122 - <div class="service col-sm-6" role="listitem">
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">
123 123   <div class="service-icon">
124 124   <i class="fa fa-$entry.icon" aria-hidden="true"></i>
125 125   </div>
... ... @@ -137,7 +137,7 @@
137 137   </div>
138 138   </div>
139 139   </section>
140 -
147 +#*
141 141   <!-- ================= METRICS ================= -->
142 142   <section aria-labelledby="metrics-title">
143 143   <div class="container">
... ... @@ -204,16 +204,22 @@
204 204   </details>
205 205   </div>
206 206   </section>
207 -
214 +*#
208 208   <!-- ================= CTA ================= -->
209 - <section id="contact" aria-labelledby="contact-title">
216 + <section id="contact" aria-labelledby="contact-title" class="cta-section">
210 210   <div class="container">
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>
218 + <div class="row">
219 + <div class="col-sm-12">
220 + <div class="cta-inner text-center">
221 + <h3 id="contact-title">Need a reliable plan for your XWiki?</h3>
222 + <p class="lead">
223 + Keep your XWiki running smoothly and safely. Get in touch if you need assistance.
224 + </p>
225 + <a class="btn btn-primary" href="mailto:hello@agnease.com">
226 + Contact Agnease
227 + </a>
228 + </div>
215 215   </div>
216 - <a class="btn btn-primary" href="mailto:hello@agnease.com">Contact Agnease</a>
217 217   </div>
218 218   </div>
219 219   </section>
XWiki.StyleSheetExtension[0]
Code
... ... @@ -188,16 +188,15 @@
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 */
198 198   margin-bottom: 24px;
199 199  
200 - /* Icon + text on a row */
199 + /* icon + text side by side */
201 201   display: flex;
202 202   align-items: flex-start;
203 203   gap: 16px;
... ... @@ -233,7 +233,7 @@
233 233   margin: .45rem 0 0;
234 234   padding-left: 1.1rem;
235 235   color: @muted;
236 - font-size: .95rem;
235 + font-size: 13px;
237 237   }
238 238  
239 239   li {
... ... @@ -242,11 +242,19 @@
242 242   }
243 243   }
244 244   }
244 + }
245 245  
246 - @media (max-width: 767px) {
246 + @media (max-width: 767px) {
247 + .services-grid {
247 247   .service {
248 248   margin-bottom: 20px;
249 249   }
251 +
252 + .service-icon {
253 + width: 36px;
254 + height: 36px;
255 + font-size: 16px;
256 + }
250 250   }
251 251   }
252 252   }
... ... @@ -281,11 +281,33 @@
281 281   }
282 282  
283 283   /* CTA BAND */
284 - #contact {
285 - .cta-band {
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;
291 + .cta-section {
292 + padding: 40px 0; // similar spacing to hero
293 + border-top: 1px solid @line;
294 +
295 + .cta-inner {
296 + max-width: 760px; // same as hero-inner
297 + margin: 0 auto; // center block
298 + text-align: center;
299 + padding: 24px;
300 + background: #fff;
301 + border: 1px solid @line;
302 + border-radius: @radius;
303 + box-shadow: @shadow;
304 +
305 + h3 {
306 + margin: 0 0 10px;
307 + font-weight: 700;
308 + }
309 +
310 + .lead {
311 + margin: 0 0 16px;
312 + color: @muted;
313 + }
314 +
315 + .btn {
316 + margin-top: 4px;
317 + }
289 289   }
290 290   }
291 291