0 Votes

Changes for page Home

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

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

Summary

Details

Page properties
Content
... ... @@ -23,126 +23,95 @@
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 - }])
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
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>
57 57   </div>
58 58   </div>
59 59   </section>
60 60  
61 61   <!-- ================= SERVICES ================= -->
62 - <section id="services" aria-labelledby="services-title">
63 - <div class="container">
64 - <h2 id="services-title">Services</h2>
65 - <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>
66 66  
67 - <div class="services">
68 - <article class="card">
69 - <h3>Upgrades &amp; Migrations</h3>
70 - <p>Predictable paths to current LTS with rehearsed steps, backups, and rollback.</p>
71 - <details>
72 - <summary>Details</summary>
73 - <ul>
74 - <li>Version &amp; extension audit</li>
75 - <li>Pre-production rehearsal</li>
76 - <li>Rollback &amp; backup plan</li>
77 - </ul>
78 - </details>
79 - </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>
80 80  
81 - <article class="card">
82 - <h3>Maintenance &amp; Support</h3>
83 - <p>Health checks, patching, bug triage, and on-call investigation.</p>
84 - <details>
85 - <summary>Details</summary>
86 - <ul>
87 - <li>Monthly health report</li>
88 - <li>Security updates applied</li>
89 - <li>Response-time guarantees</li>
90 - </ul>
91 - </details>
92 - </article>
74 + <button class="details-toggle"
75 + aria-expanded="false"
76 + aria-controls="details-1">Details</button>
93 93  
94 - <article class="card">
95 - <h3>Custom Development</h3>
96 - <p>Macros, apps, structured data, and workflow automation.</p>
97 - <details>
98 - <summary>Details</summary>
99 - <ul>
100 - <li>Forms, live tables, reports</li>
101 - <li>Task &amp; review flows</li>
102 - <li>UI/UX enhancements</li>
103 - </ul>
104 - </details>
105 - </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>
106 106  
107 - <article class="card">
108 - <h3>Integrations</h3>
109 - <p>Connect XWiki to identity and business systems with clean patterns.</p>
110 - <details>
111 - <summary>Details</summary>
112 - <ul>
113 - <li>SSO / OIDC / SAML</li>
114 - <li>Stripe payments</li>
115 - <li>REST / Webhooks</li>
116 - </ul>
117 - </details>
118 - </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>
119 119  
120 - <article class="card">
121 - <h3>Hosting &amp; Deployment</h3>
122 - <p>Cloud-ready setups, backups, observability, and performance tuning.</p>
123 - <details>
124 - <summary>Details</summary>
125 - <ul>
126 - <li>Architecture guidance</li>
127 - <li>Backup &amp; restore drills</li>
128 - <li>Scaling &amp; caching</li>
129 - </ul>
130 - </details>
131 - </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>
132 132  
133 - <article class="card">
134 - <h3>Audit &amp; Recovery</h3>
135 - <p>Stabilize unstable instances, recover features, harden configuration.</p>
136 - <details>
137 - <summary>Details</summary>
138 - <ul>
139 - <li>Root-cause analysis</li>
140 - <li>Hardening checklist</li>
141 - <li>Actionable remediation plan</li>
142 - </ul>
143 - </details>
144 - </article>
145 - </div>
114 + <!-- ... more cards ... -->
146 146   </div>
147 147   </section>
148 148  
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);