0 Votes

Changes for page Home

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

From version 7.7
edited by Alex Cotiugă
on 2025/11/12 20:01
Change comment: There is no comment for this version
To version 6.51
edited by Alex Cotiugă
on 2025/11/12 19:47
Change comment: There is no comment for this version

Summary

Details

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