0 Votes

Changes for page Home

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

From version 7.119
edited by Alex Cotiugă
on 2025/11/14 08:47
Change comment: There is no comment for this version
To version 7.156
edited by Alex Cotiugă
on 2025/11/17 11:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,33 +2,26 @@
2 2  #*== Professional XWiki Services for Secure and Scalable Business Solutions ==
3 3  Agnease helps organizations maintain, upgrade, and extend their XWiki environments with clarity and precision. Focusing on stability, performance, and long-term support we ensure your business knowledge and collaboration tools remain dependable, secure, and adaptable to growth.*#
4 4  {{html clean="false"}}
5 -<main class="agnease-landing">
6 - <!-- ================= HERO ================= -->
5 +##<main class="agnease-landing">
6 + ## HERO
7 7   <section class="hero hero-centered" aria-labelledby="hero-title">
8 - <div class="container">
9 - <div class="row">
10 - <div class="col-sm-12">
11 - <div class="hero-inner">
12 - <h1 id="hero-title">Professional XWiki solutions, from setup to long-term stability</h1>
13 - <p class="lead">Need your XWiki upgraded, secured, or improved? Let’s make it happen.</p>
14 - <div class="hero-cta">
15 - <a class="btn btn-primary" href="#contact" aria-label="Schedule a call with Agnease">
16 - Request a consultation
17 - </a>
18 - </div>
19 - <ul class="benefits">
20 - <li>Smooth upgrades</li>
21 - <li>Reliable support plans</li>
22 - <li>Custom integrations</li>
23 - <li>Secure, optimized platforms</li>
24 - </ul>
25 - </div>
26 - </div>
8 + <div class="container hero-inner">
9 + <h1 id="hero-title">Professional XWiki solutions, from setup to long-term stability</h1>
10 + <p class="lead">Need your XWiki upgraded, secured, or improved? Let’s make it happen.</p>
11 + <div class="hero-cta">
12 + <a class="btn btn-primary" href="#contact" aria-label="Schedule a call with Agnease">
13 + Request a consultation
14 + </a>
27 27   </div>
16 + <ul class="benefits">
17 + <li>Smooth upgrades</li>
18 + <li>Reliable support plans</li>
19 + <li>Custom integrations</li>
20 + <li>Secure, optimized platforms</li>
21 + </ul>
28 28   </div>
29 29   </section>
30 -
31 - <!-- ========= WHY CHOOSE AGNEASE (widgets) ========= -->
24 + ## WHY CHOOSE
32 32   #set ($whySectionData = [{
33 33   'title': 'Stability & security',
34 34   'icon': 'shield',
... ... @@ -50,20 +50,20 @@
50 50   <div class="container">
51 51   <h2 id="why-title">Why choose Agnease</h2>
52 52   <p class="lead">10+ years of XWiki expertise with structured delivery and lasting collaboration</p>
53 - <div class="row widgets" role="list">
46 + <div class="widgets">
54 54   #foreach ($entry in $whySectionData)
55 - <div class="widget col-sm-6 col-md-3" role="listitem">
48 + <article class="widget">
56 56   <div class="icon" aria-hidden="true">
57 57   <i class="fa fa-$entry.icon"></i>
58 58   <h4>$entry.title</h4>
59 59   </div>
60 60   <p>$entry.content</p>
61 - </div>
54 + </article>
62 62   #end
63 63   </div>
64 64   </div>
65 65   </section>
66 - <!-- ================= SERVICES ================= -->
59 + ## SERVICES
67 67   #set ($servicesSectionData = [{
68 68   'title': 'Upgrades',
69 69   'icon': 'refresh',
... ... @@ -118,15 +118,15 @@
118 118   </p>
119 119  
120 120   #set ($servicesSize = $servicesSectionData.size())
121 - <div class="row services-grid" role="list">
114 + <div class="services-grid">
122 122   #foreach ($entry in $servicesSectionData)
123 - #set ($classes = "service col-xs-12 col-sm-6")
124 - ## If this is the last item and the number of services is odd,
125 - ## center it on its own row on small+ screens
116 + #set ($classes = "service")
117 + ## If this is the last item AND the total number is odd, center it
126 126   #if ($foreach.count == $servicesSize && ($servicesSize % 2) == 1)
127 - #set ($classes = "$classes col-sm-offset-3")
119 + #set ($classes = "service service-center")
128 128   #end
129 - <div class="$classes" role="listitem">
121 +
122 + <article class="$classes">
130 130   <div class="service-icon">
131 131   <i class="fa fa-$entry.icon" aria-hidden="true"></i>
132 132   </div>
... ... @@ -139,11 +139,12 @@
139 139   #end
140 140   </ul>
141 141   </div>
142 - </div>
135 + </article>
143 143   #end
144 144   </div>
145 145   </div>
146 146   </section>
140 + ## CTA INLINE
147 147   <section id="contact" class="cta-section">
148 148   <div class="container">
149 149   <p class="text-center contact-inline">
... ... @@ -236,7 +236,7 @@
236 236   </div>
237 237   </section>
238 238   *#
239 -</main>
233 +##</main>
240 240  {{/html}}
241 241  #*
242 242  = XWiki Multi-Factor Authentication (MFA) Application =
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,292 +1,279 @@
1 -/* ========== Agnease Landing (LESS, scoped to .agnease-landing) ========== */
1 +/* ========== Agnease Landing (no Bootstrap grid) ========== */
2 2  @brand: #00937D;
3 3  @brand-strong: #007B6A;
4 4  @text: #2D3A34;
5 5  @muted: #5B6B64;
6 -@bg: #FFFFFF;
7 -@panel: #F7F9F8;
8 8  @line: #E4ECE9;
9 9  @radius: 16px;
10 -@radius-sm: 12px;
11 11  @shadow-sm: 0 6px 20px rgba(0,0,0,.06);
12 12  @shadow: 0 12px 36px rgba(0,0,0,.08);
13 13  @maxw: 1140px;
14 14  
15 -.agnease-landing {
16 - /* Base */
17 - color: @text;
18 - font: 16px/1.6 Inter, Segoe UI, Roboto, system-ui, -apple-system, Arial, sans-serif;
12 +#mainContentArea {
13 + padding: 0;
14 +}
19 19  
20 - a {
21 - color: @brand;
22 - text-decoration: none;
23 - &:hover {
24 - color: @brand-strong;
25 - text-decoration: underline;
26 - }
16 +a {
17 + color: @brand;
18 + text-decoration: none;
19 + &:hover {
20 + color: @brand-strong;
21 + text-decoration: underline;
27 27   }
23 +}
28 28  
29 - img {
30 - max-width: 100%;
31 - display: block;
32 - }
25 +img {
26 + max-width: 100%;
27 + height: auto;
28 + display: block;
29 +}
33 33  
34 - .lead {
35 - color: @muted;
36 - max-width: 72ch;
37 - }
31 +.container {
32 + max-width: @maxw;
33 +}
38 38  
39 - /* Use Bootstrap’s container padding to avoid overflow */
40 - .container {
41 - max-width: @maxw;
42 - margin: 5px auto 0;
43 - padding: 0 15px;
44 - }
35 +.lead {
36 + color: @muted;
37 + text-align: center;
38 +}
39 +h2 {
40 + text-align: center;
41 +}
45 45  
46 - /* Global sections */
47 - section {
48 - padding: 32px 0;
49 - border-top: 1px solid @line;
50 - }
51 - section:first-of-type {
43 +section {
44 + padding: 32px 0;
45 + border-top: 1px solid @line;
46 +
47 + &:first-of-type {
52 52   border-top: none;
53 53   }
50 +}
54 54  
55 - /* Buttons */
56 - .btn {
57 - display: inline-flex;
58 - align-items: center;
59 - gap: .55rem;
60 - padding: .85rem 1.1rem;
61 - border-radius: 12px;
62 - border: 2px solid transparent;
63 - font-weight: 650;
64 - letter-spacing: .2px;
65 - cursor: pointer;
66 - box-shadow: @shadow-sm;
52 +/* Buttons */
53 +.btn {
54 + display: inline-flex;
55 + align-items: center;
56 + justify-content: center;
57 + padding: .85rem 1.1rem;
58 + border-radius: 12px;
59 + border: 2px solid transparent;
60 + font-weight: 650;
61 + letter-spacing: .2px;
62 + cursor: pointer;
63 + box-shadow: @shadow-sm;
67 67  
68 - &:focus-visible {
69 - outline: 3px solid @brand;
70 - outline-offset: 2px;
71 - }
65 + &:focus-visible {
66 + outline: 3px solid @brand;
67 + outline-offset: 2px;
68 + }
72 72  
73 - &-primary {
74 - background: @brand;
70 + &-primary {
71 + background: @brand;
72 + color: #fff;
73 + &:hover,
74 + &:focus {
75 + background: @brand-strong;
75 75   color: #fff;
76 - &:hover,
77 - &:focus {
78 - background: @brand-strong;
79 - color: #fff;
80 - }
81 81   }
78 + }
79 +}
82 82  
83 - &-ghost {
84 - background: #fff;
85 - color: @brand;
86 - border-color: @brand;
87 - &:hover {
88 - color: @brand-strong;
89 - border-color: @brand-strong;
90 - }
91 - }
81 +/* ===== HERO ===== */
82 +.hero {
83 + overflow: hidden;
84 + background-repeat: no-repeat;
85 + background-attachment: scroll;
86 +
87 + &.hero-centered {
88 + text-align: center;
89 + background:
90 + radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%),
91 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
92 + display: flex;
93 + align-items: center;
94 + justify-content: center;
95 + min-height: 350px;
92 92   }
93 93  
94 - /* HERO (centered) */
95 - .hero {
96 - overflow: hidden; /* contain gradients */
97 - background-repeat: no-repeat;
98 - background-attachment: scroll;
98 + .hero-inner {
99 + max-width: 850px;
100 + margin: 0 auto;
101 + display: flex;
102 + flex-direction: column;
103 + align-items: center;
104 + }
99 99  
100 - &.hero-centered {
101 - text-align: center;
102 - background:
103 - radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%),
104 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
105 - display: flex;
106 - align-items: center;
107 - justify-content: center;
108 - min-height: 350px;
106 + .hero-cta {
107 + display: flex;
108 + gap: 0.8rem;
109 + flex-wrap: wrap;
110 + justify-content: center;
111 + margin-top: 0.3rem;
112 + }
109 109  
110 - .hero-inner {
111 - margin: auto;
112 - display: flex;
113 - flex-direction: column;
114 - align-items: center;
115 - gap: 1rem;
116 - }
114 + .benefits {
115 + display: flex;
116 + flex-wrap: wrap;
117 + justify-content: center;
118 + list-style: none;
119 + padding: 0;
120 + margin: 0.8rem 0 0;
121 + color: @muted;
122 + font-size: 14px;
117 117  
118 - .lead {
119 - color: @muted;
120 - margin: 0 auto 0.9rem;
121 - }
124 + li + li::before {
125 + content: "•";
126 + margin: 0 5px;
127 + }
122 122  
123 - .hero-cta {
124 - display: flex;
125 - gap: 0.8rem;
126 - flex-wrap: wrap;
127 - justify-content: center;
128 - margin-top: 0.3rem;
129 + @media (max-width: 640px) {
130 + li + li::before {
131 + content: none;
129 129   }
133 + li:nth-child(1)::after,
134 + li:nth-child(3)::after {
135 + content: "•";
136 + margin: 0 5px;
137 + }
138 + }
139 + }
140 +}
130 130  
131 - .benefits {
132 - display: flex;
133 - flex-wrap: wrap;
134 - justify-content: center;
135 - list-style: none;
136 - padding: 0;
137 - margin: 0.8rem 0 0;
138 - color: @muted;
139 - font-size: 14px;
140 - gap: 5px;
142 +/* ===== WHY CHOOSE (cards) ===== */
143 +.widgets {
144 + margin-top: 12px;
145 + display: grid;
146 + grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
147 + grid-gap: 16px;
148 +}
141 141  
142 - li + li::before {
143 - content: "•";
144 - margin-right: 5px;
145 - }
150 +.widget {
151 + padding: 18px;
152 + background: #fff;
153 + border: 1px solid @line;
154 + border-radius: @radius;
155 + box-shadow: @shadow-sm;
156 + transition: transform .18s ease, box-shadow .18s ease;
157 + display: flex;
158 + flex-direction: column;
159 + height: 100%;
146 146  
147 - /* Mobile: show bullets only between 1–2 and 3–4 */
148 - @media (max-width: 640px) {
149 - li + li::before {
150 - content: none;
151 - }
152 - li:nth-child(1)::after,
153 - li:nth-child(3)::after {
154 - content: "•";
155 - margin-left: 5px;
156 - }
157 - }
158 - }
159 - }
161 + &:hover {
162 + transform: translateY(-2px);
163 + box-shadow: @shadow;
160 160   }
161 161  
162 - /* === WHY CHOOSE (widgets using flex) === */
163 - .widgets {
164 - margin-top: 12px;
165 - display: grid;
166 - grid-template-columns: 1fr;
167 - grid-gap: 16px; // spacing between cards
166 + .icon {
167 + display: flex;
168 + align-items: center;
169 + gap: 10px;
170 + padding-bottom: 6px;
171 + margin-bottom: 8px;
172 + border-bottom: 1px solid fade(@line, 60%);
173 + i { color: @brand; }
174 + h4 { margin: 0; line-height: 1.2; color: @text; }
175 + }
168 168  
169 - @media (min-width: 768px) {
170 - grid-template-columns: repeat(2, 1fr);
171 - }
177 + p {
178 + margin: 0;
179 + color: @muted;
180 + line-height: 1.45;
181 + }
182 +}
172 172  
173 - @media (min-width: 992px) {
174 - grid-template-columns: repeat(4, 1fr);
175 - }
184 +/* ===== SERVICES ===== */
185 +.services {
186 + .services-grid {
187 + margin-top: 20px;
188 + display: flex;
189 + flex-wrap: wrap;
190 + gap: 24px;
176 176  
177 - .widget {
178 - box-sizing: border-box;
179 - padding: 18px;
180 - background: #fff;
181 - border: 1px solid @line;
182 - border-radius: @radius;
183 - box-shadow: @shadow-sm;
184 - transition: transform .18s ease, box-shadow .18s ease;
185 - display: flex;
186 - flex-direction: column;
187 - height: 100%;
192 + /* center the whole block under the heading */
193 + max-width: 960px;
194 + margin-left: auto;
195 + margin-right: auto;
196 + justify-content: center;
197 + }
188 188  
189 - &:hover {
190 - transform: translateY(-2px);
191 - box-shadow: @shadow;
192 - }
199 + .service {
200 + flex: 0 1 calc(50% - 12px);
201 + display: flex;
202 + align-items: flex-start;
203 + gap: 16px;
204 + margin-bottom: 8px;
193 193  
194 - .icon {
195 - display: flex;
196 - align-items: center;
197 - gap: 10px;
198 - padding-bottom: 6px;
199 - margin-bottom: 8px;
200 - border-bottom: 1px solid fade(@line, 60%);
201 - i { color: @brand; }
202 - h4 { margin: 0; line-height: 1.2; color: @text; }
203 - }
206 + .service-icon {
207 + width: 42px;
208 + height: 42px;
209 + border-radius: 50%;
210 + display: flex;
211 + align-items: center;
212 + justify-content: center;
213 + font-size: 18px;
214 + color: @brand;
215 + background: fade(@brand, 10%);
216 + flex-shrink: 0;
217 + margin-top: 3px;
218 + }
204 204  
220 + .service-body {
221 + h4 {
222 + margin: 0 0 4px;
223 + font-size: 1.125rem;
224 + font-weight: 800;
225 + }
205 205   p {
206 - margin: 0;
227 + margin: 0 0 6px;
228 + color: @text;
229 + line-height: 1.5;
230 + }
231 + ul {
232 + margin: .45rem 0 0;
233 + padding-left: 1.1rem;
207 207   color: @muted;
235 + font-size: 13px;
236 + }
237 + li {
238 + margin: .25rem 0;
208 208   line-height: 1.45;
209 209   }
210 210   }
211 211   }
212 212  
213 - /* SERVICES */
214 - .services {
215 - .services-grid {
216 - margin-top: 12px;
244 + /* ==== Center last item on its own row while keeping 50% width ==== */
245 + .service-center {
246 + /* same width as siblings */
247 + flex: 0 1 calc(55% - 12px);
217 217  
218 - .service {
219 - margin-bottom: 24px;
220 - display: flex;
221 - align-items: flex-start;
222 - gap: 16px;
249 + /* push to center */
250 + margin-left: auto;
251 + margin-right: auto;
252 + }
223 223  
224 - .service-icon {
225 - width: 42px;
226 - height: 42px;
227 - border-radius: 50%;
228 - display: flex;
229 - align-items: center;
230 - justify-content: center;
231 - font-size: 18px;
232 - color: @brand;
233 - background: fade(@brand, 10%);
234 - margin-top: 3px;
235 - flex-shrink: 0;
236 - }
237 -
238 - .service-body {
239 - h4 {
240 - margin: 0 0 4px;
241 - font-size: 1.125rem;
242 - font-weight: 800;
243 - }
244 -
245 - p {
246 - margin: 0 0 6px;
247 - color: @text;
248 - line-height: 1.5;
249 - }
250 -
251 - ul {
252 - margin: .45rem 0 0;
253 - padding-left: 1.1rem;
254 - color: @muted;
255 - font-size: 13px;
256 - }
257 -
258 - li {
259 - margin: .25rem 0;
260 - line-height: 1.45;
261 - }
262 - }
263 - }
254 + /* Mobile: 1 per row */
255 + @media (max-width: 767px) {
256 + .services-grid {
257 + gap: 16px;
258 + max-width: 100%;
264 264   }
265 265  
266 - @media (max-width: 767px) {
267 - .services-grid {
268 - .service {
269 - margin-bottom: 20px;
270 - }
271 -
272 - .service-icon {
273 - width: 36px;
274 - height: 36px;
275 - font-size: 16px;
276 - }
277 - }
261 + .service,
262 + .service-center {
263 + flex: 0 1 100%;
264 + margin-left: 0;
265 + margin-right: 0;
278 278   }
279 279   }
268 +}
280 280  
281 - /* CTA inline section at the end */
282 - .cta-section {
283 - padding: 24px 0 16px;
270 +/* ===== CTA ===== */
271 +.cta-section {
272 + padding: 24px 0 16px;
284 284  
285 - .contact-inline {
286 - margin: 0;
287 - color: @muted;
288 - a { color: @brand; }
289 - }
274 + .contact-inline {
275 + margin: 0;
276 + color: @muted;
277 + a { color: @brand; }
290 290   }
291 291  }
292 -