Changes for page Home
Last modified by Alex Cotiugă on 2026/01/13 13:12
From version 7.43
edited by Alex Cotiugă
on 2025/11/13 12:09
on 2025/11/13 12:09
Change comment:
There is no comment for this version
To version 7.54
edited by Alex Cotiugă
on 2025/11/13 12:37
on 2025/11/13 12:37
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -22,7 +22,7 @@ 22 22 </div> 23 23 </section> 24 24 <!-- ========= WHY CHOOSE AGNEASE (widgets) ========= --> 25 - #set ($why Array= [{25 + #set ($whySectionData = [{ 26 26 'title': 'Stability & security', 27 27 'icon': 'shield', 28 28 'content': 'Proven upgrade steps, rollback safety, and proactive hardening keep your wiki reliable.' ... ... @@ -44,7 +44,7 @@ 44 44 <h2 id="why-title">Why choose Agnease</h2> 45 45 <p class="lead">10+ years of XWiki expertise with structured delivery and lasting collaboration</p> 46 46 <div class="widgets" role="list"> 47 - #foreach ($entry in $why Array)47 + #foreach ($entry in $whySectionData) 48 48 <article class="widget" role="listitem"> 49 49 <div class="icon" aria-hidden="true"> 50 50 <i class="fa fa-$entry.icon"></i> ... ... @@ -57,30 +57,41 @@ 57 57 </div> 58 58 </section> 59 59 <!-- ================= SERVICES ================= --> 60 + #set ($servicesSectionData = [{ 61 + 'title': 'Upgrades', 62 + 'icon': 'refresh', 63 + 'content': 'Stay current with the latest XWiki LTS and keep your instance secure and stable.', 64 + 'items': [ 65 + 'Audit setup, extensions, and configurations', 66 + 'Test upgrades with backups and validation', 67 + 'Safe production rollout with minimal downtime' 68 + ] 69 + }]) 60 60 <section class="services" aria-labelledby="services-title"> 61 61 <div class="container"> 62 62 <h2 id="services-title">Services</h2> 63 63 <p class="services-sub">All the XWiki services you need, delivered with precision and care</p> 64 - 65 65 <div class="services-grid"> 66 66 <!-- Row 1 --> 67 - <article class="service"> 68 - <i class="fa fa-refresh" aria-hidden="true"></i> 69 - <div class="body"> 70 - <h3>Upgrades</h3> 71 - <p>Stay current with the latest XWiki LTS and keep your instance secure and stable.</p> 72 - <ul> 73 - <li>Audit setup, extensions, and configurations</li> 74 - <li>Test upgrades with backups and validation</li> 75 - <li>Safe production rollout with minimal downtime</li> 76 - </ul> 77 - </div> 78 - </article> 76 + #foreach ($entry in $servicesSectionData) 77 + <article class="service"> 78 + <i class="fa fa-$entry.icon" aria-hidden="true"></i> 79 + <div class="body"> 80 + <h4>$entry.title</h4> 81 + <p>$entry.content</p> 82 + <ul> 83 + #foreach ($item in $entry.items) 84 + <li>$item</li> 85 + #end 86 + </ul> 87 + </div> 88 + </article> 89 + #end 79 79 80 80 <article class="service"> 81 81 <i class="fa fa-stethoscope" aria-hidden="true"></i> 82 82 <div class="body"> 83 - <h3>Maintenance, Support & Recovery</h3> 94 + <h3>Maintenance, Support & Recovery</h3> 84 84 <p>Ensure long-term stability and quick response when issues appear.</p> 85 85 <ul> 86 86 <li>Monitoring and performance checks</li> ... ... @@ -94,7 +94,7 @@ 94 94 <article class="service"> 95 95 <i class="fa fa-cogs" aria-hidden="true"></i> 96 96 <div class="body"> 97 - <h3>Development & Integrations</h3> 108 + <h3>Development & Integrations</h3> 98 98 <p>Extend and connect XWiki to fit your workflow and systems.</p> 99 99 <ul> 100 100 <li>Custom apps, macros, automation</li> ... ... @@ -107,7 +107,7 @@ 107 107 <article class="service"> 108 108 <i class="fa fa-cloud" aria-hidden="true"></i> 109 109 <div class="body"> 110 - <h3>Hosting & Deployment</h3> 121 + <h3>Hosting & Deployment</h3> 111 111 <p>Cloud-ready environments designed for reliability and performance.</p> 112 112 <ul> 113 113 <li>Containerized deployment and TLS</li>
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -22,7 +22,7 @@ 22 22 h2 { font-size: clamp(1.4rem, 1.4vw + .8rem, 2rem); line-height: 1.2; margin: .2rem 0 .4rem; } 23 23 h3 { font-size: 1.12rem; margin: .2rem 0 .25rem; }*/ 24 24 .lead { color: @muted; max-width: 72ch; } 25 - .container { max-width: @maxw; margin-top: 5px; padding: 0;} 25 + .container { max-width: @maxw; margin-top: 5px; padding: 0; overflow-x: clip;} 26 26 27 27 /* Global sections */ 28 28 section { padding: 32px 0; border-top: 1px solid @line; } ... ... @@ -179,53 +179,113 @@ 179 179 } 180 180 181 181 /* SERVICES */ 182 - /* Grid: two columns, then a single centered block */ 183 - .services-grid { 184 - display:grid; 185 - grid-template-columns: repeat(2, 1fr); 186 - gap:32px 36px; 187 - } 182 + .services { 183 + h2 { 184 + margin: 0 0 .3rem; 185 + /* rely on global heading sizing */ 186 + } 188 188 189 - /* Service item */ 190 - .service { 191 - display:grid; 192 - grid-template-columns:48px 1fr; 193 - gap:16px; 194 - padding:18px 0; 195 - border-top:1px solid rgba(0,0,0,.08); 196 - } 197 - .service:nth-child(1), 198 - .service:nth-child(2) { border-top:none; } /* first row only */ 188 + .services-sub { 189 + margin: 0 0 1.75rem; 190 + color: @muted; 191 + } 199 199 200 - .service > i { 201 - width:42px; height:42px; border-radius:50%; 202 - display:flex; align-items:center; justify-content:center; 203 - font-size:18px; color:#008e78; background:rgba(0,142,120,.08); 204 - margin-top:3px; 205 - } 193 + /* Grid: two columns, last item spans both */ 194 + .services-grid { 195 + display: grid; 196 + grid-template-columns: repeat(2, minmax(0, 1fr)); 197 + column-gap: 36px; 198 + row-gap: 32px; 199 + } 206 206 207 - .service .body h3 { margin:0 0 4px; font-size:1.125rem; font-weight:800; } 208 - .service .body p { margin:0 0 6px; color:#25333b; line-height:1.5; } 209 - .service .body ul { margin:.45rem 0 0; padding-left:1.1rem; color:#2d3b43; } 210 - .service .body li { margin:.25rem 0; line-height:1.45; } 201 + .service { 202 + display: grid; 203 + grid-template-columns: 48px 1fr; 204 + gap: 16px; 205 + padding: 18px 0; 206 + border-top: 1px solid @line; 211 211 212 - /* Single centered item (Migrations) */ 213 - .service--center { 214 - grid-column:1 / -1; /* spans both columns */ 215 - max-width:680px; 216 - justify-self:center; /* center horizontally */ 217 - border-top:1px solid rgba(0,0,0,.08); 218 - } 208 + /* first row: no top border */ 209 + &:nth-of-type(-n + 2) { 210 + border-top: none; 211 + } 219 219 220 - /* Responsive */ 221 - @media (max-width:760px) { 222 - .services-grid { grid-template-columns:1fr; gap:20px; } 223 - .service { grid-template-columns:40px 1fr; } 224 - .service > i { width:36px; height:36px; font-size:16px; } 225 - .service:nth-child(1) { border-top:none; } /* first only on mobile */ 226 - .service--center { max-width:100%; } 227 - } 213 + /* icon badge */ 214 + > i { 215 + width: 42px; 216 + height: 42px; 217 + border-radius: 50%; 218 + display: flex; 219 + align-items: center; 220 + justify-content: center; 221 + font-size: 18px; 222 + color: @brand; 223 + background: fade(@brand, 10%); 224 + margin-top: 3px; 225 + } 228 228 227 + .body { 228 + h3 { 229 + margin: 0 0 4px; 230 + font-size: 1.125rem; 231 + font-weight: 800; 232 + } 233 + 234 + p { 235 + margin: 0 0 6px; 236 + color: @text; 237 + line-height: 1.5; 238 + } 239 + 240 + ul { 241 + margin: .45rem 0 0; 242 + padding-left: 1.1rem; 243 + color: @muted; 244 + font-size: .95rem; 245 + } 246 + 247 + li { 248 + margin: .25rem 0; 249 + line-height: 1.45; 250 + } 251 + } 252 + 253 + /* last item (Migrations): centered single row */ 254 + &.service--center { 255 + grid-column: 1 / -1; 256 + max-width: 680px; 257 + justify-self: center; 258 + border-top: 1px solid @line; // always show a separator above it 259 + } 260 + } 261 + 262 + /* Responsive */ 263 + @media (max-width: 760px) { 264 + .services-grid { 265 + grid-template-columns: 1fr; 266 + row-gap: 20px; 267 + } 268 + 269 + .service { 270 + grid-template-columns: 40px 1fr; 271 + 272 + /* on mobile only the first service has no top border */ 273 + &:nth-of-type(1) { 274 + border-top: none; 275 + } 276 + 277 + > i { 278 + width: 36px; 279 + height: 36px; 280 + font-size: 16px; 281 + } 282 + 283 + &.service--center { 284 + max-width: 100%; 285 + } 286 + } 287 + } 288 + } 229 229 /* METRICS */ 230 230 .metrics { 231 231 display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); ... ... @@ -276,12 +276,6 @@ 276 276 background-attachment: scroll; 277 277 } 278 278 279 - /* Fix possible grid or card overshoot */ 280 - .container { 281 - max-width: 100%; 282 - overflow-x: clip; /* hides subtle pixel overflow without scroll */ 283 - } 284 - 285 285 /* Safety for large paddings/margins that might extend */ 286 286 section, .widgets, .services, .metrics, .steps { 287 287 margin-left: auto;