| ... |
... |
@@ -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', |
| ... |
... |
@@ -113,13 +113,20 @@ |
| 113 |
113 |
<section class="services" aria-labelledby="services-title"> |
| 114 |
114 |
<div class="container"> |
| 115 |
115 |
<h2 id="services-title">Services</h2> |
| 116 |
|
- <p class="services-sub"> |
|
116 |
+ <p class="lead"> |
| 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> |