0 Votes

Changes for page Home

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

From version 7.39
edited by Alex Cotiugă
on 2025/11/13 11:59
Change comment: There is no comment for this version
To version 7.53
edited by Alex Cotiugă
on 2025/11/13 12:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -22,7 +22,7 @@
22 22   </div>
23 23   </section>
24 24   <!-- ========= WHY CHOOSE AGNEASE (widgets) ========= -->
25 - #set ($whyArray = [{
25 + #set ($whySectionData = [{
26 26   'title': 'Stability & security',
27 27   'icon': 'shield',
28 28   'content': 'Proven upgrade steps, rollback safety, and proactive hardening keep your wiki reliable.'
... ... @@ -44,7 +44,7 @@
44 44   <h2 id="why-title">Why choose Agnease</h2>
45 45   <p class="lead">10+ years of XWiki expertise with structured delivery and lasting collaboration</p>
46 46   <div class="widgets" role="list">
47 - #foreach ($entry in $whyArray)
47 + #foreach ($entry in $whySectionData)
48 48   <article class="widget" role="listitem">
49 49   <div class="icon" aria-hidden="true">
50 50   <i class="fa fa-$entry.icon"></i>
... ... @@ -57,83 +57,90 @@
57 57   </div>
58 58   </section>
59 59   <!-- ================= SERVICES ================= -->
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 + }])
60 60   <section class="services" aria-labelledby="services-title">
61 61   <div class="container">
62 62   <h2 id="services-title">Services</h2>
63 - <p class="services-sub">
64 - All the XWiki services you need, delivered with precision and care
65 - </p>
66 -
73 + <p class="services-sub">All the XWiki services you need, delivered with precision and care</p>
67 67   <div class="services-grid">
68 - <!-- 1. Migrations -->
69 - <article class="service service--center">
70 - <i class="fa fa-exchange" aria-hidden="true"></i>
71 - <div class="body">
72 - <h3>Migrations</h3>
73 - <p>Move from Confluence, SharePoint, or MediaWiki to XWiki with full data integrity and structure.</p>
74 - <ul>
75 - <li>Preserve page hierarchy, attachments, and permissions</li>
76 - <li>Convert macros, categories, and metadata for XWiki</li>
77 - <li>Redirect old URLs and maintain SEO consistency</li>
78 - </ul>
79 - </div>
80 - </article>
75 + <!-- Row 1 -->
76 + #foreach ($entry in $servicesSectionData)
77 + <article class="service">
78 + <i class="fa fa-$entry.icon" aria-hidden="true"></i>
79 + <div class="body">
80 + <h4>$entry.title</h4>
81 + <p>$entry.content</p>
82 + <ul>
83 + #foreach ($item in $entry.items)
84 + <li>$item</li>
85 + #end
86 + </ul>
87 + </div>
88 + </article>
89 + #end
81 81  
82 - <!-- 2. Upgrades -->
83 83   <article class="service">
84 - <i class="fa fa-refresh" aria-hidden="true"></i>
85 - <div class="body">
86 - <h3>Upgrades</h3>
87 - <p>Stay current with the latest XWiki LTS and keep your instance secure and stable.</p>
88 - <ul>
89 - <li>Audit existing setup, extensions, and configurations</li>
90 - <li>Perform test upgrades with backups and validation</li>
91 - <li>Deploy safely to production with minimal downtime</li>
92 - </ul>
93 - </div>
94 - </article>
95 -
96 - <!-- 3. Maintenance, Support & Recovery -->
97 - <article class="service">
98 98   <i class="fa fa-stethoscope" aria-hidden="true"></i>
99 99   <div class="body">
100 - <h3>Maintenance, Support & Recovery</h3>
94 + <h3>Maintenance, Support &amp; Recovery</h3>
101 101   <p>Ensure long-term stability and quick response when issues appear.</p>
102 102   <ul>
103 - <li>Continuous monitoring and performance checks</li>
104 - <li>Security patching, log analysis, and triage</li>
105 - <li>Issue recovery, data repair, and hardening</li>
97 + <li>Monitoring and performance checks</li>
98 + <li>Security patching, log analysis, triage</li>
99 + <li>Issue recovery, data repair, hardening</li>
106 106   </ul>
107 107   </div>
108 108   </article>
109 109  
110 - <!-- 4. Development & Integrations -->
104 + <!-- Row 2 -->
111 111   <article class="service">
112 112   <i class="fa fa-cogs" aria-hidden="true"></i>
113 113   <div class="body">
114 - <h3>Development & Integrations</h3>
108 + <h3>Development &amp; Integrations</h3>
115 115   <p>Extend and connect XWiki to fit your workflow and systems.</p>
116 116   <ul>
117 - <li>Build custom apps, macros, and automation</li>
118 - <li>Integrate SSO, REST APIs, LDAP, and CRMs</li>
119 - <li>Develop maintainable extensions for long-term use</li>
111 + <li>Custom apps, macros, automation</li>
112 + <li>SSO, REST APIs, LDAP, CRM links</li>
113 + <li>Maintainable extensions for long-term use</li>
120 120   </ul>
121 121   </div>
122 122   </article>
123 123  
124 - <!-- 5. Hosting & Deployment -->
125 125   <article class="service">
126 126   <i class="fa fa-cloud" aria-hidden="true"></i>
127 127   <div class="body">
128 - <h3>Hosting & Deployment</h3>
121 + <h3>Hosting &amp; Deployment</h3>
129 129   <p>Cloud-ready environments designed for reliability and performance.</p>
130 130   <ul>
131 - <li>Containerized deployments and environment setup</li>
132 - <li>Backup and restore strategies with observability</li>
133 - <li>Optimization and load-tuning for scaling teams</li>
124 + <li>Containerized deployment and TLS</li>
125 + <li>Backups, restore strategy, observability</li>
126 + <li>Optimization and load tuning</li>
134 134   </ul>
135 135   </div>
136 136   </article>
130 +
131 + <!-- Row 3 (single, centered) -->
132 + <article class="service service--center">
133 + <i class="fa fa-exchange" aria-hidden="true"></i>
134 + <div class="body">
135 + <h3>Migrations</h3>
136 + <p>Move from Confluence, SharePoint, or MediaWiki to XWiki with full data integrity and structure.</p>
137 + <ul>
138 + <li>Preserve hierarchy, attachments, and permissions</li>
139 + <li>Convert macros, categories, and metadata for XWiki</li>
140 + <li>Redirect old URLs and maintain SEO consistency</li>
141 + </ul>
142 + </div>
143 + </article>
137 137   </div>
138 138   </div>
139 139   </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; }
... ... @@ -179,85 +179,113 @@
179 179   }
180 180  
181 181   /* SERVICES */
182 - /* --- Grid Layout --- */
183 - .services-grid {
184 - display: grid;
185 - grid-template-columns: repeat(2, 1fr);
186 - gap: 32px 36px;
187 - }
182 + .services {
183 + h2 {
184 + margin: 0 0 .3rem;
185 + /* rely on global heading sizing */
186 + }
188 188  
189 - /* Center the first service (Migrations) */
190 - .service--center {
191 - grid-column: 1 / -1;
192 - max-width: 640px;
193 - justify-self: center;
194 - }
188 + .services-sub {
189 + margin: 0 0 1.75rem;
190 + color: @muted;
191 + }
195 195  
196 - /* --- Service Card --- */
197 - .service {
198 - display: grid;
199 - grid-template-columns: 48px 1fr;
200 - gap: 16px;
201 - padding: 18px 0;
202 - border-top: 1px solid rgba(0,0,0,0.08);
203 - }
204 - .service:nth-child(2),
205 - .service:nth-child(3) {
206 - border-top: none; /* remove top border for first row after Migrations */
207 - }
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 + }
208 208  
209 - .service > i {
210 - width: 42px;
211 - height: 42px;
212 - border-radius: 50%;
213 - display: flex;
214 - align-items: center;
215 - justify-content: center;
216 - font-size: 18px;
217 - color: #008e78;
218 - background: rgba(0,142,120,0.08);
219 - margin-top: 3px;
220 - }
201 + .service {
202 + display: grid;
203 + grid-template-columns: 48px 1fr;
204 + gap: 16px;
205 + padding: 18px 0;
206 + border-top: 1px solid @line;
221 221  
222 - /*.service .body h3 {
223 - margin: 0 0 4px;
224 - font-size: 1.125rem;
225 - font-weight: 800;
226 - }
227 - .service .body p {
228 - margin: 0 0 6px;
229 - color: #25333b;
230 - line-height: 1.5;
231 - } */
232 - .service .body ul {
233 - margin: .4rem 0 0;
234 - padding-left: 1.1rem;
235 - color: #2d3b43;
236 - }
237 - .service .body li {
238 - margin: .25rem 0;
239 - line-height: 1.45;
240 - }
208 + /* first row: no top border */
209 + &:nth-of-type(-n + 2) {
210 + border-top: none;
211 + }
241 241  
242 - /* --- Responsive --- */
243 - @media (max-width: 760px) {
244 - .services-grid {
245 - grid-template-columns: 1fr;
246 - gap: 20px;
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 + }
247 247   }
248 - .service {
249 - grid-template-columns: 40px 1fr;
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 + }
250 250   }
251 - .service > i {
252 - width: 36px;
253 - height: 36px;
254 - font-size: 16px;
255 - }
256 - .service--center {
257 - max-width: 100%;
258 - }
259 259   }
260 -
261 261   /* METRICS */
262 262   .metrics {
263 263   display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr);
... ... @@ -308,12 +308,6 @@
308 308   background-attachment: scroll;
309 309   }
310 310  
311 - /* Fix possible grid or card overshoot */
312 - .container {
313 - max-width: 100%;
314 - overflow-x: clip; /* hides subtle pixel overflow without scroll */
315 - }
316 -
317 317   /* Safety for large paddings/margins that might extend */
318 318   section, .widgets, .services, .metrics, .steps {
319 319   margin-left: auto;