0 Votes

Changes for page Home

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

From version 7.24
edited by Alex Cotiugă
on 2025/11/13 10:47
Change comment: There is no comment for this version
To version 7.52
edited by Alex Cotiugă
on 2025/11/13 12:37
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,67 +58,91 @@
58 58   </div>
59 59   </section>
60 60   <!-- ================= 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 + }])
61 61   <section class="services" aria-labelledby="services-title">
62 62   <div class="container">
63 63   <h2 id="services-title">Services</h2>
64 - <p class="services-sub">
65 - All the XWiki services you need, delivered with precision and care
66 - </p>
73 + <p class="services-sub">All the XWiki services you need, delivered with precision and care</p>
74 + <div class="services-grid">
75 + <!-- Row 1 -->
76 + #foreach ($entry in $servicesSectionData.entrySet())
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
67 67  
68 - <ul class="feature-list">
69 - <li>
70 - <i class="fa fa-refresh" aria-hidden="true"></i>
71 - <div class="content">
72 - <h3>Upgrades & Migrations</h3>
73 - <p>Predictable paths to current LTS with backups and rollback.</p>
74 - <a class="details" href="#upgrades">Details</a>
75 - </div>
76 - </li>
77 -
78 - <li>
91 + <article class="service">
79 79   <i class="fa fa-stethoscope" aria-hidden="true"></i>
80 - <div class="content">
81 - <h3>Maintenance & Support</h3>
82 - <p>Health checks, patching, bug triage, and incident assistance.</p>
83 - <a class="details" href="#support">Details</a>
93 + <div class="body">
94 + <h3>Maintenance, Support &amp; Recovery</h3>
95 + <p>Ensure long-term stability and quick response when issues appear.</p>
96 + <ul>
97 + <li>Monitoring and performance checks</li>
98 + <li>Security patching, log analysis, triage</li>
99 + <li>Issue recovery, data repair, hardening</li>
100 + </ul>
84 84   </div>
85 - </li>
102 + </article>
86 86  
87 - <li>
104 + <!-- Row 2 -->
105 + <article class="service">
88 88   <i class="fa fa-cogs" aria-hidden="true"></i>
89 - <div class="content">
90 - <h3>Custom Development</h3>
91 - <p>Macros, apps, structured data, and workflow automation.</p>
92 - <a class="details" href="#custom-dev">Details</a>
107 + <div class="body">
108 + <h3>Development &amp; Integrations</h3>
109 + <p>Extend and connect XWiki to fit your workflow and systems.</p>
110 + <ul>
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>
114 + </ul>
93 93   </div>
94 - </li>
116 + </article>
95 95  
96 - <li>
97 - <i class="fa fa-link" aria-hidden="true"></i>
98 - <div class="content">
99 - <h3>Integrations</h3>
100 - <p>Maintainable SSO, APIs, and external system connections.</p>
101 - <a class="details" href="#integrations">Details</a>
118 + <article class="service">
119 + <i class="fa fa-cloud" aria-hidden="true"></i>
120 + <div class="body">
121 + <h3>Hosting &amp; Deployment</h3>
122 + <p>Cloud-ready environments designed for reliability and performance.</p>
123 + <ul>
124 + <li>Containerized deployment and TLS</li>
125 + <li>Backups, restore strategy, observability</li>
126 + <li>Optimization and load tuning</li>
127 + </ul>
102 102   </div>
103 - </li>
129 + </article>
104 104  
105 - <li>
106 - <i class="fa fa-cloud" aria-hidden="true"></i>
107 - <div class="content">
108 - <h3>Hosting & Deployment</h3>
109 - <p>Cloud-ready setups, backups, observability, and tuning.</p>
110 - <a class="details" href="#hosting">Details</a>
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>
111 111   </div>
112 - </li>
113 - <li>
114 - <i class="fa fa-shield" aria-hidden="true"></i>
115 - <div class="content">
116 - <h3>Audit & Recovery</h3>
117 - <p>Stabilize broken instances, recover features, harden config.</p>
118 - <a class="details" href="#audit">Details</a>
119 - </div>
120 - </li>
121 - </ul>
143 + </article>
144 + </div>
122 122   </div>
123 123   </section>
124 124  
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,79 +179,113 @@
179 179   }
180 180  
181 181   /* SERVICES */
182 - .services-sub {
183 - margin: 0 0 1.25rem;
184 - color: #5b6a72;
185 - }
182 + .services {
183 + h2 {
184 + margin: 0 0 .3rem;
185 + /* rely on global heading sizing */
186 + }
186 186  
187 - /* Feature list layout */
188 - .feature-list {
189 - display: grid;
190 - grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
191 - gap: 24px 32px;
192 - list-style: none;
193 - margin: 0;
194 - padding: 0;
195 - border-top: 1px solid rgba(0,0,0,0.08);
196 - }
188 + .services-sub {
189 + margin: 0 0 1.75rem;
190 + color: @muted;
191 + }
197 197  
198 - /* Each item is a two-column media object: icon + content */
199 - .feature-list li {
200 - display: grid;
201 - grid-template-columns: 28px 1fr;
202 - gap: 14px;
203 - padding: 18px 0;
204 - border-top: 1px solid rgba(0,0,0,0.08);
205 - }
206 - .feature-list li:first-child { border-top: none; }
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 + }
207 207  
208 - /* Icon */
209 - .feature-list i {
210 - color: #008e78; /* brand accent */
211 - font-size: 20px;
212 - line-height: 1;
213 - margin-top: 3px; /* optical align with title */
214 - }
201 + .service {
202 + display: grid;
203 + grid-template-columns: 48px 1fr;
204 + gap: 16px;
205 + padding: 18px 0;
206 + border-top: 1px solid @line;
215 215  
216 - /* Content block */
217 - .feature-list .content h3 {
218 - margin: 0 0 4px;
219 - font-size: 1.125rem; /* 18px */
220 - font-weight: 700;
221 - }
222 - .feature-list .content p {
223 - margin: 0 0 6px;
224 - color: #2c3940;
225 - line-height: 1.5;
226 - }
208 + /* first row: no top border */
209 + &:nth-of-type(-n + 2) {
210 + border-top: none;
211 + }
227 227  
228 - /* Details link (consistent button-ish link) */
229 - .feature-list .details {
230 - display: inline-block;
231 - font-weight: 700;
232 - color: #0a3c37;
233 - text-decoration: none;
234 - border: 1.5px solid #008e78;
235 - background: #e8fbf7;
236 - border-radius: 10px;
237 - padding: 6px 10px;
238 - }
239 - .feature-list .details:hover {
240 - background: #d7f6ef;
241 - }
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 + }
242 242  
243 - /* Responsive: slightly looser spacing on small screens */
244 - @media (max-width: 640px) {
245 - .feature-list li {
246 - gap: 12px;
247 - padding: 14px 0;
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 + }
248 248   }
249 - .feature-list i {
250 - font-size: 18px;
251 - margin-top: 4px;
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 + }
252 252   }
253 253   }
254 -
255 255   /* METRICS */
256 256   .metrics {
257 257   display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr);
... ... @@ -302,12 +302,6 @@
302 302   background-attachment: scroll;
303 303   }
304 304  
305 - /* Fix possible grid or card overshoot */
306 - .container {
307 - max-width: 100%;
308 - overflow-x: clip; /* hides subtle pixel overflow without scroll */
309 - }
310 -
311 311   /* Safety for large paddings/margins that might extend */
312 312   section, .widgets, .services, .metrics, .steps {
313 313   margin-left: auto;