0 Votes

Changes for page Home

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

From version 7.18
edited by Alex Cotiugă
on 2025/11/13 10:20
Change comment: There is no comment for this version
To version 7.55
edited by Alex Cotiugă
on 2025/11/13 12:38
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -21,9 +21,8 @@
21 21   </div>
22 22   </div>
23 23   </section>
24 -
25 25   <!-- ========= WHY CHOOSE AGNEASE (widgets) ========= -->
26 - #set ($whyArray = [{
25 + #set ($whySectionData = [{
27 27   'title': 'Stability & security',
28 28   'icon': 'shield',
29 29   'content': 'Proven upgrade steps, rollback safety, and proactive hardening keep your wiki reliable.'
... ... @@ -45,7 +45,7 @@
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)
47 + #foreach ($entry in $whySectionData)
49 49   <article class="widget" role="listitem">
50 50   <div class="icon" aria-hidden="true">
51 51   <i class="fa fa-$entry.icon"></i>
... ... @@ -58,89 +58,99 @@
58 58   </div>
59 59   </section>
60 60   <!-- ================= SERVICES ================= -->
61 - <section id="services" aria-labelledby="services-title">
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 + },{
70 + 'title': 'Maintenance, Support & Recovery',
71 + 'icon': 'stethoscope',
72 + 'content': 'Ensure long-term stability and quick response when issues appear.',
73 + 'items': [
74 + 'Monitoring and performance checks',
75 + 'Security patching, log analysis, triage',
76 + 'Issue recovery, data repair, hardening'
77 + ]
78 + }])
79 + <section class="services" aria-labelledby="services-title">
62 62   <div class="container">
63 63   <h2 id="services-title">Services</h2>
64 - <p class="lead">All the XWiki services you need, delivered with precision and care</p>
82 + <p class="services-sub">All the XWiki services you need, delivered with precision and care</p>
83 + <div class="services-grid">
84 + <!-- Row 1 -->
85 + #foreach ($entry in $servicesSectionData)
86 + <article class="service">
87 + <i class="fa fa-$entry.icon" aria-hidden="true"></i>
88 + <div class="body">
89 + <h4>$entry.title</h4>
90 + <p>$entry.content</p>
91 + <ul>
92 + #foreach ($item in $entry.items)
93 + <li>$item</li>
94 + #end
95 + </ul>
96 + </div>
97 + </article>
98 + #end
65 65  
66 - <div class="services">
67 - <article class="card">
68 - <h3>Upgrades &amp; Migrations</h3>
69 - <p>Predictable paths to current LTS with rehearsed steps, backups, and rollback.</p>
70 - <details>
71 - <summary>Details</summary>
100 + <article class="service">
101 + <i class="fa fa-stethoscope" aria-hidden="true"></i>
102 + <div class="body">
103 + <h3>Maintenance, Support &amp; Recovery</h3>
104 + <p>Ensure long-term stability and quick response when issues appear.</p>
72 72   <ul>
73 - <li>Version &amp; extension audit</li>
74 - <li>Pre-production rehearsal</li>
75 - <li>Rollback &amp; backup plan</li>
106 + <li>Monitoring and performance checks</li>
107 + <li>Security patching, log analysis, triage</li>
108 + <li>Issue recovery, data repair, hardening</li>
76 76   </ul>
77 - </details>
110 + </div>
78 78   </article>
79 79  
80 - <article class="card">
81 - <h3>Maintenance &amp; Support</h3>
82 - <p>Health checks, patching, bug triage, and on-call investigation.</p>
83 - <details>
84 - <summary>Details</summary>
113 + <!-- Row 2 -->
114 + <article class="service">
115 + <i class="fa fa-cogs" aria-hidden="true"></i>
116 + <div class="body">
117 + <h3>Development &amp; Integrations</h3>
118 + <p>Extend and connect XWiki to fit your workflow and systems.</p>
85 85   <ul>
86 - <li>Monthly health report</li>
87 - <li>Security updates applied</li>
88 - <li>Response-time guarantees</li>
120 + <li>Custom apps, macros, automation</li>
121 + <li>SSO, REST APIs, LDAP, CRM links</li>
122 + <li>Maintainable extensions for long-term use</li>
89 89   </ul>
90 - </details>
124 + </div>
91 91   </article>
92 92  
93 - <article class="card">
94 - <h3>Custom Development</h3>
95 - <p>Macros, apps, structured data, and workflow automation.</p>
96 - <details>
97 - <summary>Details</summary>
127 + <article class="service">
128 + <i class="fa fa-cloud" aria-hidden="true"></i>
129 + <div class="body">
130 + <h3>Hosting &amp; Deployment</h3>
131 + <p>Cloud-ready environments designed for reliability and performance.</p>
98 98   <ul>
99 - <li>Forms, live tables, reports</li>
100 - <li>Task &amp; review flows</li>
101 - <li>UI/UX enhancements</li>
133 + <li>Containerized deployment and TLS</li>
134 + <li>Backups, restore strategy, observability</li>
135 + <li>Optimization and load tuning</li>
102 102   </ul>
103 - </details>
137 + </div>
104 104   </article>
105 105  
106 - <article class="card">
107 - <h3>Integrations</h3>
108 - <p>Connect XWiki to identity and business systems with clean patterns.</p>
109 - <details>
110 - <summary>Details</summary>
140 + <!-- Row 3 (single, centered) -->
141 + <article class="service service--center">
142 + <i class="fa fa-exchange" aria-hidden="true"></i>
143 + <div class="body">
144 + <h3>Migrations</h3>
145 + <p>Move from Confluence, SharePoint, or MediaWiki to XWiki with full data integrity and structure.</p>
111 111   <ul>
112 - <li>SSO / OIDC / SAML</li>
113 - <li>Stripe payments</li>
114 - <li>REST / Webhooks</li>
147 + <li>Preserve hierarchy, attachments, and permissions</li>
148 + <li>Convert macros, categories, and metadata for XWiki</li>
149 + <li>Redirect old URLs and maintain SEO consistency</li>
115 115   </ul>
116 - </details>
151 + </div>
117 117   </article>
118 -
119 - <article class="card">
120 - <h3>Hosting &amp; Deployment</h3>
121 - <p>Cloud-ready setups, backups, observability, and performance tuning.</p>
122 - <details>
123 - <summary>Details</summary>
124 - <ul>
125 - <li>Architecture guidance</li>
126 - <li>Backup &amp; restore drills</li>
127 - <li>Scaling &amp; caching</li>
128 - </ul>
129 - </details>
130 - </article>
131 -
132 - <article class="card">
133 - <h3>Audit &amp; Recovery</h3>
134 - <p>Stabilize unstable instances, recover features, harden configuration.</p>
135 - <details>
136 - <summary>Details</summary>
137 - <ul>
138 - <li>Root-cause analysis</li>
139 - <li>Hardening checklist</li>
140 - <li>Actionable remediation plan</li>
141 - </ul>
142 - </details>
143 - </article>
144 144   </div>
145 145   </div>
146 146   </section>
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; }
... ... @@ -107,9 +107,8 @@
107 107   }
108 108   /* Mobile: show bullets only between 1–2 and 3–4 */
109 109   @media (max-width: 640px) {
110 - li::before {
111 - content: none;
112 - }
110 + /* override the exact selector used above */
111 + li + li::before { content: none; }
113 113   /* Add bullet only after item 1 and item 3 */
114 114   li:nth-child(1)::after,
115 115   li:nth-child(3)::after {
... ... @@ -180,22 +180,113 @@
180 180   }
181 181  
182 182   /* SERVICES */
183 - .services {
184 - display: grid; gap: 16px; grid-template-columns: 1fr;
185 - @media (min-width: 920px) { grid-template-columns: repeat(3, 1fr); }
186 - }
187 - .card {
188 - background: #fff; border: 1px solid @line; border-radius: @radius;
189 - padding: 18px; box-shadow: @shadow-sm; transition: transform .18s ease, box-shadow .18s ease;
182 + .services {
183 + h2 {
184 + margin: 0 0 .3rem;
185 + /* rely on global heading sizing */
186 + }
190 190  
191 - &:hover { transform: translateY(-2px); box-shadow: @shadow; }
192 - p { color: @muted; margin: 0; }
193 - details {
194 - margin-top: .6rem; border-top: 1px dashed @line; padding-top: .6rem;
195 - summary { cursor: pointer; font-weight: 650; }
188 + .services-sub {
189 + margin: 0 0 1.75rem;
190 + color: @muted;
196 196   }
197 - }
198 198  
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 + }
200 +
201 + .service {
202 + display: grid;
203 + grid-template-columns: 48px 1fr;
204 + gap: 16px;
205 + padding: 18px 0;
206 + border-top: 1px solid @line;
207 +
208 + /* first row: no top border */
209 + &:nth-of-type(-n + 2) {
210 + border-top: none;
211 + }
212 +
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 + }
226 +
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 + }
199 199   /* METRICS */
200 200   .metrics {
201 201   display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr);
... ... @@ -246,12 +246,6 @@
246 246   background-attachment: scroll;
247 247   }
248 248  
249 - /* Fix possible grid or card overshoot */
250 - .container {
251 - max-width: 100%;
252 - overflow-x: clip; /* hides subtle pixel overflow without scroll */
253 - }
254 -
255 255   /* Safety for large paddings/margins that might extend */
256 256   section, .widgets, .services, .metrics, .steps {
257 257   margin-left: auto;