0 Votes

Changes for page Home

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

From version 6.47
edited by Alex Cotiugă
on 2025/11/12 19:33
Change comment: There is no comment for this version
To version 7.10
edited by Alex Cotiugă
on 2025/11/12 20:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -23,39 +23,37 @@
23 23   </section>
24 24  
25 25   <!-- ========= WHY CHOOSE AGNEASE (widgets) ========= -->
26 + #set ($whyArray = [{
27 + 'title': 'Stability & security',
28 + 'icon': 'shield',
29 + 'content': 'Proven upgrade steps, rollback safety, and proactive hardening keep your wiki reliable.'
30 + },{
31 + 'title': 'Predictable delivery',
32 + 'icon': 'check-square-o',
33 + 'content': 'Clear scope, defined steps, and documented results to avoid surprises.'
34 + },{
35 + 'title': 'lean integrations',
36 + 'icon': 'link',
37 + 'content': 'Maintainable SSO, API, and system connections tailored to your environment.'
38 + },{
39 + 'title': 'Long-term support',
40 + 'icon': 'life-ring',
41 + 'content': 'Guaranteed response times, regular checks, and fast assistance when needed.'
42 + }])
26 26   <section aria-labelledby="why-title">
27 27   <div class="container">
28 28   <h2 id="why-title">Why choose Agnease</h2>
29 29   <p class="lead">10+ years of XWiki expertise with structured delivery and lasting collaboration</p>
30 30   <div class="widgets" role="list">
31 - <article class="widget" role="listitem">
32 - <div class="icon" aria-hidden="true">
33 - <i class="fa fa-shield"></i>
34 - <h4>Stability & security</h4>
35 - </div>
36 - <p>Proven upgrade steps, rollback safety, and proactive hardening keep your wiki reliable.</p>
37 - </article>
38 - <article class="widget" role="listitem">
39 - <div class="icon" aria-hidden="true">
40 - <i class="fa fa-check-square-o"></i>
41 - <h4>Predictable delivery</h4>
42 - </div>
43 - <p>Clear scope, defined steps, and documented results to avoid surprises.</p>
44 - </article>
45 - <article class="widget" role="listitem">
46 - <div class="icon" aria-hidden="true">
47 - <i class="fa fa-link"></i>
48 - <h4>Clean integrations</h4>
49 - </div>
50 - <p>Maintainable SSO, API, and system connections tailored to your environment.</p>
51 - </article>
52 - <article class="widget" role="listitem">
53 - <div class="icon" aria-hidden="true">
54 - <i class="fa fa-life-ring"></i>
55 - <h4>Long-term support</h4>
56 - </div>
57 - <p>Guaranteed response times, regular checks, and fast assistance when needed.</p>
58 - </article>
48 + #foreach ($entry in $whyArray)
49 + <article class="widget" role="listitem">
50 + <div class="icon" aria-hidden="true">
51 + <i class="fa fa-$entry.icon"></i>
52 + <h4>$entry.title</h4>
53 + </div>
54 + <p>$entry.content</p>
55 + </article>
56 + #end
59 59   </div>
60 60   </div>
61 61   </section>
XWiki.StyleSheetExtension[0]
Code
... ... @@ -147,11 +147,8 @@
147 147   border-bottom: 1px solid fade(@line, 60%);
148 148   margin-bottom: 6px;
149 149  
150 - svg {
151 - width: 24px;
152 - height: 24px;
153 - flex-shrink: 0;
154 - stroke: @text;
150 + i {
151 + color: @brand;
155 155   }
156 156  
157 157   h4 {