0 Votes

Changes for page Home

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

From version 7.33
edited by Alex Cotiugă
on 2025/11/13 11:42
Change comment: There is no comment for this version
To version 7.56
edited by Alex Cotiugă
on 2025/11/13 12:43
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,89 +57,71 @@
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 + },{
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 + 'title': 'Development & Integrations',
80 + 'icon': 'cogs',
81 + 'content': 'Extend and connect XWiki to fit your workflow and systems.',
82 + 'items': [
83 + 'Custom apps, macros, automation',
84 + 'SSO, REST APIs, LDAP, CRM links',
85 + 'Maintainable extensions for long-term use'
86 + ]
87 + },{
88 + 'title': 'Hosting & Deployment',
89 + 'icon': 'cloud',
90 + 'content': 'Cloud-ready environments designed for reliability and performance.',
91 + 'items': [
92 + 'Containerized deployment and TLS',
93 + 'Backups, restore strategy, observability',
94 + 'Optimization and load tuning'
95 + ]
96 + },{
97 + 'title': 'Migrations to XWiki',
98 + 'icon': 'exchange',
99 + 'content': 'Move from Confluence, SharePoint, or MediaWiki to XWiki with full data integrity and structure.',
100 + 'items': [
101 + 'Preserve hierarchy, attachments, and permissions',
102 + 'Convert macros, categories, and metadata for XWiki',
103 + 'Redirect old URLs and maintain SEO consistency'
104 + ]
105 + }])
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="lead">All the XWiki services you need, delivered with precision and care</p>
109 + <p class="services-sub">All the XWiki services you need, delivered with precision and care</p>
64 64   <div class="services-grid">
65 - <!-- Upgrades & Migrations -->
66 - <article class="service">
67 - <i class="fa fa-refresh" aria-hidden="true"></i>
68 - <div class="body">
69 - <h3>Upgrades & Migrations</h3>
70 - <p>Smooth upgrades to current LTS with minimal downtime and rollback safety.</p>
71 - <ul>
72 - <li>Audit of current version, extensions, and data structure</li>
73 - <li>Test and perform upgrades or platform migrations (Confluence, MediaWiki, SharePoint → XWiki)</li>
74 - <li>Backups, rollback plan, and post-upgrade verification</li>
75 - </ul>
76 - </div>
77 - </article>
78 -
79 - <!-- Maintenance & Support -->
80 - <article class="service">
81 - <i class="fa fa-stethoscope" aria-hidden="true"></i>
82 - <div class="body">
83 - <h3>Maintenance & Support</h3>
84 - <p>Keep your instance healthy with regular checks and timely assistance.</p>
85 - <ul>
86 - <li>Security patches, log review, health reports</li>
87 - <li>Incident triage with defined response times</li>
88 - </ul>
89 - </div>
90 - </article>
91 -
92 - <!-- Custom Development -->
93 - <article class="service">
94 - <i class="fa fa-cogs" aria-hidden="true"></i>
95 - <div class="body">
96 - <h3>Custom Development</h3>
97 - <p>Macros, apps, and workflow automation tailored to your team.</p>
98 - <ul>
99 - <li>Structured data models, permissions, tests</li>
100 - <li>Documentation and clean handover</li>
101 - </ul>
102 - </div>
103 - </article>
104 -
105 - <!-- Integrations -->
106 - <article class="service">
107 - <i class="fa fa-link" aria-hidden="true"></i>
108 - <div class="body">
109 - <h3>Integrations</h3>
110 - <p>Maintainable connections to identity and business systems.</p>
111 - <ul>
112 - <li>SSO (OIDC/SAML/LDAP), REST APIs, webhooks</li>
113 - <li>Mappings and importers that survive upgrades</li>
114 - </ul>
115 - </div>
116 - </article>
117 -
118 - <!-- Hosting & Deployment -->
119 - <article class="service">
120 - <i class="fa fa-cloud" aria-hidden="true"></i>
121 - <div class="body">
122 - <h3>Hosting & Deployment</h3>
123 - <p>Cloud-ready setups with backups, observability, and tuning.</p>
124 - <ul>
125 - <li>Containerized deploy, TLS/headers, metrics/logs</li>
126 - <li>Backup/restore strategy and performance tuning</li>
127 - </ul>
128 - </div>
129 - </article>
130 -
131 - <!-- Audit & Recovery -->
132 - <article class="service">
133 - <i class="fa fa-shield" aria-hidden="true"></i>
134 - <div class="body">
135 - <h3>Audit & Recovery</h3>
136 - <p>Stabilize broken instances and harden configuration.</p>
137 - <ul>
138 - <li>Root-cause analysis, dependency audit, fix plan</li>
139 - <li>Distribution Wizard re-run and hardening</li>
140 - </ul>
141 - </div>
142 - </article>
111 + #foreach ($entry in $servicesSectionData)
112 + <article class="service">
113 + <i class="fa fa-$entry.icon" aria-hidden="true"></i>
114 + <div class="body">
115 + <h4>$entry.title</h4>
116 + <p>$entry.content</p>
117 + <ul>
118 + #foreach ($item in $entry.items)
119 + <li>$item</li>
120 + #end
121 + </ul>
122 + </div>
123 + </article>
124 + #end
143 143   </div>
144 144   </div>
145 145   </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,49 +179,113 @@
179 179   }
180 180  
181 181   /* SERVICES */
182 - /* Section header */
183 - /*.services { padding: 2.5rem 0; }
184 - .services h2 { margin:0 0 .3rem; font-size:1.75rem; font-weight:800; }
185 - .services-sub { margin:0 0 1.25rem; color:#5b6a72; }
186 -*/
187 - /* Two-column grid */
188 - .services-grid {
189 - display:grid;
190 - grid-template-columns: repeat(2, 1fr);
191 - gap: 24px 32px;
192 - }
182 + .services {
183 + h2 {
184 + margin: 0 0 .3rem;
185 + /* rely on global heading sizing */
186 + }
193 193  
194 - /* Service item = media block with icon badge */
195 - .service {
196 - display:grid;
197 - grid-template-columns: 44px 1fr;
198 - gap: 14px;
199 - padding: 18px 0;
200 - border-top: 1px solid rgba(0,0,0,0.08);
201 - }
202 - .service:nth-child(-n+2) { border-top: none; } /* remove top line for first row */
188 + .services-sub {
189 + margin: 0 0 1.75rem;
190 + color: @muted;
191 + }
203 203  
204 - .service > i {
205 - width:40px; height:40px; border-radius:50%;
206 - display:flex; align-items:center; justify-content:center;
207 - font-size:18px; color:#008e78; background:rgba(0,142,120,.09);
208 - margin-top:2px;
209 - }
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 + }
210 210  
211 - /* .service .body h3 { margin:0 0 4px; font-size:1.125rem; font-weight:800; }
212 - .service .body p { margin:0 0 6px; color:#25333b; line-height:1.5; }
213 - .service .body ul { margin:.35rem 0 0; padding-left:1.15rem; }
214 - .service .body li { margin:.2rem 0; color:#2d3b43; }
215 -*/
216 - /* Mobile: single column */
217 - @media (max-width: 760px) {
218 - .services-grid { grid-template-columns: 1fr; gap: 10px 0; }
219 - .service { grid-template-columns: 38px 1fr; }
220 - .service > i { width:36px; height:36px; font-size:16px; }
221 - .service:nth-child(-n+2) { border-top: 1px solid rgba(0,0,0,0.08); }
222 - .service:first-child { border-top:none; }
223 - }
201 + .service {
202 + display: grid;
203 + grid-template-columns: 48px 1fr;
204 + gap: 16px;
205 + padding: 18px 0;
206 + border-top: 1px solid @line;
224 224  
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 + }
225 225   /* METRICS */
226 226   .metrics {
227 227   display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr);
... ... @@ -272,12 +272,6 @@
272 272   background-attachment: scroll;
273 273   }
274 274  
275 - /* Fix possible grid or card overshoot */
276 - .container {
277 - max-width: 100%;
278 - overflow-x: clip; /* hides subtle pixel overflow without scroll */
279 - }
280 -
281 281   /* Safety for large paddings/margins that might extend */
282 282   section, .widgets, .services, .metrics, .steps {
283 283   margin-left: auto;