0 Votes

Changes for page Home

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

From version 6.52
edited by Alex Cotiugă
on 2025/11/12 19:48
Change comment: There is no comment for this version
To version 7.5
edited by Alex Cotiugă
on 2025/11/12 19:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -23,20 +23,28 @@
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 + }])
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">
36 + #foreach ($entry in $whyArray)
37 + <article class="widget" role="listitem">
38 + <div class="icon" aria-hidden="true">
39 + <i class="fa fa-$entry.icon"></i>
40 + <h4>$entry.title</h4>
41 + </div>
42 + <p>$entry.content</p>
43 + </article>
44 + #end
45 +
31 31   <article class="widget" role="listitem">
32 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 40   <i class="fa fa-check-square-o"></i>
41 41   <h4>Predictable delivery</h4>
42 42   </div>
... ... @@ -61,57 +61,90 @@
61 61   </section>
62 62  
63 63   <!-- ================= SERVICES ================= -->
64 - <section class="services">
65 - <h2>Services</h2>
66 - <p>Everything your XWiki needs, from one expert partner.</p>
72 + <section id="services" aria-labelledby="services-title">
73 + <div class="container">
74 + <h2 id="services-title">Services</h2>
75 + <p class="lead">Everything your XWiki needs, from one expert partner.</p>
67 67  
68 - <div class="cards">
69 - <!-- Card -->
70 - <article class="card">
71 - <h3>Upgrades &amp; Migrations</h3>
72 - <p>Predictable paths to current LTS with backups and rollback.</p>
77 + <div class="services">
78 + <article class="card">
79 + <h3>Upgrades &amp; Migrations</h3>
80 + <p>Predictable paths to current LTS with rehearsed steps, backups, and rollback.</p>
81 + <details>
82 + <summary>Details</summary>
83 + <ul>
84 + <li>Version &amp; extension audit</li>
85 + <li>Pre-production rehearsal</li>
86 + <li>Rollback &amp; backup plan</li>
87 + </ul>
88 + </details>
89 + </article>
73 73  
74 - <button class="details-toggle"
75 - aria-expanded="false"
76 - aria-controls="details-1">Details</button>
91 + <article class="card">
92 + <h3>Maintenance &amp; Support</h3>
93 + <p>Health checks, patching, bug triage, and on-call investigation.</p>
94 + <details>
95 + <summary>Details</summary>
96 + <ul>
97 + <li>Monthly health report</li>
98 + <li>Security updates applied</li>
99 + <li>Response-time guarantees</li>
100 + </ul>
101 + </details>
102 + </article>
77 77  
78 - <div id="details-1" class="details" hidden>
79 - <ul>
80 - <li>Version &amp; extension audit</li>
81 - <li>Pre-production rehearsal</li>
82 - <li>Rollback &amp; backup plan</li>
83 - </ul>
84 - </div>
85 - </article>
104 + <article class="card">
105 + <h3>Custom Development</h3>
106 + <p>Macros, apps, structured data, and workflow automation.</p>
107 + <details>
108 + <summary>Details</summary>
109 + <ul>
110 + <li>Forms, live tables, reports</li>
111 + <li>Task &amp; review flows</li>
112 + <li>UI/UX enhancements</li>
113 + </ul>
114 + </details>
115 + </article>
86 86  
87 - <!-- Repeat cards as needed -->
88 - <article class="card">
89 - <h3>Maintenance &amp; Support</h3>
90 - <p>Health checks, patching, bug triage, and on-call investigation.</p>
91 - <button class="details-toggle" aria-expanded="false" aria-controls="details-2">Details</button>
92 - <div id="details-2" class="details" hidden>
93 - <ul>
94 - <li>Guaranteed response times</li>
95 - <li>Regular health checks</li>
96 - <li>Incident assistance</li>
97 - </ul>
98 - </div>
99 - </article>
117 + <article class="card">
118 + <h3>Integrations</h3>
119 + <p>Connect XWiki to identity and business systems with clean patterns.</p>
120 + <details>
121 + <summary>Details</summary>
122 + <ul>
123 + <li>SSO / OIDC / SAML</li>
124 + <li>Stripe payments</li>
125 + <li>REST / Webhooks</li>
126 + </ul>
127 + </details>
128 + </article>
100 100  
101 - <article class="card">
102 - <h3>Custom Development</h3>
103 - <p>Macros, apps, structured data, and workflow automation.</p>
104 - <button class="details-toggle" aria-expanded="false" aria-controls="details-3">Details</button>
105 - <div id="details-3" class="details" hidden>
106 - <ul>
107 - <li>Apps &amp; macros</li>
108 - <li>Structured data models</li>
109 - <li>Workflow automation</li>
110 - </ul>
111 - </div>
112 - </article>
130 + <article class="card">
131 + <h3>Hosting &amp; Deployment</h3>
132 + <p>Cloud-ready setups, backups, observability, and performance tuning.</p>
133 + <details>
134 + <summary>Details</summary>
135 + <ul>
136 + <li>Architecture guidance</li>
137 + <li>Backup &amp; restore drills</li>
138 + <li>Scaling &amp; caching</li>
139 + </ul>
140 + </details>
141 + </article>
113 113  
114 - <!-- ... more cards ... -->
143 + <article class="card">
144 + <h3>Audit &amp; Recovery</h3>
145 + <p>Stabilize unstable instances, recover features, harden configuration.</p>
146 + <details>
147 + <summary>Details</summary>
148 + <ul>
149 + <li>Root-cause analysis</li>
150 + <li>Hardening checklist</li>
151 + <li>Actionable remediation plan</li>
152 + </ul>
153 + </details>
154 + </article>
155 + </div>
115 115   </div>
116 116   </section>
117 117  
XWiki.StyleSheetExtension[0]
Code
... ... @@ -172,54 +172,18 @@
172 172   display: grid; gap: 16px; grid-template-columns: 1fr;
173 173   @media (min-width: 920px) { grid-template-columns: repeat(3, 1fr); }
174 174   }
175 - .cards {
176 - display: flex;
177 - flex-wrap: wrap;
178 - gap: 24px;
179 - align-items: flex-start; /* << allows different heights per row */
180 -}
175 + .card {
176 + background: #fff; border: 1px solid @line; border-radius: @radius;
177 + padding: 18px; box-shadow: @shadow-sm; transition: transform .18s ease, box-shadow .18s ease;
181 181  
182 -/* Card */
183 -.card {
184 - flex: 1 1 320px; /* grows nicely, min ~320px */
185 - max-width: 360px; /* optional: keeps them tidy in 3 cols */
186 - background: #fff;
187 - border-radius: 14px;
188 - box-shadow: 0 6px 20px rgba(0,0,0,.06);
189 - padding: 20px 20px 16px;
190 -}
179 + &:hover { transform: translateY(-2px); box-shadow: @shadow; }
180 + p { color: @muted; margin: 0; }
181 + details {
182 + margin-top: .6rem; border-top: 1px dashed @line; padding-top: .6rem;
183 + summary { cursor: pointer; font-weight: 650; }
184 + }
185 + }
191 191  
192 -.card h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
193 -.card p { margin: 0 0 .75rem; color: #3a4750; }
194 -
195 -/* Toggle */
196 -.details-toggle {
197 - display: inline-block;
198 - font-weight: 600;
199 - border: 1.5px solid #008e78;
200 - color: #0a3c37;
201 - background: #e8fbf7;
202 - padding: 6px 10px;
203 - border-radius: 8px;
204 - cursor: pointer;
205 -}
206 -
207 -/* Details animation */
208 -.details {
209 - margin-top: .5rem;
210 - overflow: hidden;
211 - max-height: 0; /* collapsed */
212 - opacity: 0;
213 - transition: max-height .28s ease, opacity .2s ease;
214 -}
215 -
216 -.details.open {
217 - max-height: 260px; /* big enough for your list */
218 - opacity: 1;
219 -}
220 -
221 -.details ul { margin: .25rem 0 0; padding-left: 1.1rem; }
222 -.details li { margin: .25rem 0; }
223 223   /* METRICS */
224 224   .metrics {
225 225   display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr);