0 Votes

Changes for page Home

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

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

Summary

Details

Page properties
Content
... ... @@ -2,26 +2,33 @@
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 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>
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>
15 15   </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>
22 22   </div>
23 23   </section>
24 - ## WHY CHOOSE
30 +
31 + <!-- ========= WHY CHOOSE AGNEASE (widgets) ========= -->
25 25   #set ($whySectionData = [{
26 26   'title': 'Stability & security',
27 27   'icon': 'shield',
... ... @@ -43,20 +43,20 @@
43 43   <div class="container">
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 - <div class="widgets">
53 + <div class="row widgets" role="list">
47 47   #foreach ($entry in $whySectionData)
48 - <article class="widget">
55 + <div class="widget col-sm-6 col-md-3" role="listitem">
49 49   <div class="icon" aria-hidden="true">
50 50   <i class="fa fa-$entry.icon"></i>
51 51   <h4>$entry.title</h4>
52 52   </div>
53 53   <p>$entry.content</p>
54 - </article>
61 + </div>
55 55   #end
56 56   </div>
57 57   </div>
58 58   </section>
59 - ## SERVICES
66 + <!-- ================= SERVICES ================= -->
60 60   #set ($servicesSectionData = [{
61 61   'title': 'Upgrades',
62 62   'icon': 'refresh',
... ... @@ -111,15 +111,15 @@
111 111   </p>
112 112  
113 113   #set ($servicesSize = $servicesSectionData.size())
114 - <div class="services-grid">
121 + <div class="row services-grid" role="list">
115 115   #foreach ($entry in $servicesSectionData)
116 - #set ($classes = "service")
117 - ## If this is the last item AND the total number is odd, center it
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
118 118   #if ($foreach.count == $servicesSize && ($servicesSize % 2) == 1)
119 - #set ($classes = "service service-center")
127 + #set ($classes = "$classes col-sm-offset-3")
120 120   #end
121 -
122 - <article class="$classes">
129 + <div class="$classes" role="listitem">
123 123   <div class="service-icon">
124 124   <i class="fa fa-$entry.icon" aria-hidden="true"></i>
125 125   </div>
... ... @@ -132,12 +132,11 @@
132 132   #end
133 133   </ul>
134 134   </div>
135 - </article>
142 + </div>
136 136   #end
137 137   </div>
138 138   </div>
139 139   </section>
140 - ## CTA INLINE
141 141   <section id="contact" class="cta-section">
142 142   <div class="container">
143 143   <p class="text-center contact-inline">
... ... @@ -230,7 +230,7 @@
230 230   </div>
231 231   </section>
232 232   *#
233 -##</main>
239 +</main>
234 234  {{/html}}
235 235  #*
236 236  = XWiki Multi-Factor Authentication (MFA) Application =
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,279 +1,304 @@
1 -/* ========== Agnease Landing (no Bootstrap grid) ========== */
1 +/* ========== Agnease Landing (LESS, scoped to .agnease-landing) ========== */
2 2  @brand: #00937D;
3 3  @brand-strong: #007B6A;
4 4  @text: #2D3A34;
5 5  @muted: #5B6B64;
6 +@bg: #FFFFFF;
7 +@panel: #F7F9F8;
6 6  @line: #E4ECE9;
7 7  @radius: 16px;
10 +@radius-sm: 12px;
8 8  @shadow-sm: 0 6px 20px rgba(0,0,0,.06);
9 9  @shadow: 0 12px 36px rgba(0,0,0,.08);
10 10  @maxw: 1140px;
11 11  
12 -#mainContentArea {
13 - padding: 0;
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;
15 15  
16 -a {
17 - color: @brand;
18 - text-decoration: none;
19 - &:hover {
20 - color: @brand-strong;
21 - text-decoration: underline;
20 + a {
21 + color: @brand;
22 + text-decoration: none;
23 + &:hover {
24 + color: @brand-strong;
25 + text-decoration: underline;
26 + }
22 22   }
23 -}
24 24  
25 -img {
26 - max-width: 100%;
27 - height: auto;
28 - display: block;
29 -}
29 + img {
30 + max-width: 100%;
31 + display: block;
32 + }
30 30  
31 -.container {
32 - max-width: @maxw;
33 -}
34 + .lead {
35 + color: @muted;
36 + max-width: 72ch;
37 + }
34 34  
35 -.lead {
36 - color: @muted;
37 - text-align: center;
38 -}
39 -h2 {
40 - text-align: center;
41 -}
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 + }
42 42  
43 -section {
44 - padding: 32px 0;
45 - border-top: 1px solid @line;
46 -
47 - &:first-of-type {
46 + /* Global sections */
47 + section {
48 + padding: 32px 0;
49 + border-top: 1px solid @line;
50 + }
51 + section:first-of-type {
48 48   border-top: none;
49 49   }
50 -}
51 51  
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;
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;
64 64  
65 - &:focus-visible {
66 - outline: 3px solid @brand;
67 - outline-offset: 2px;
68 - }
68 + &:focus-visible {
69 + outline: 3px solid @brand;
70 + outline-offset: 2px;
71 + }
69 69  
70 - &-primary {
71 - background: @brand;
72 - color: #fff;
73 - &:hover,
74 - &:focus {
75 - background: @brand-strong;
73 + &-primary {
74 + background: @brand;
76 76   color: #fff;
76 + &:hover,
77 + &:focus {
78 + background: @brand-strong;
79 + color: #fff;
80 + }
77 77   }
78 - }
79 -}
80 80  
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;
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 + }
96 96   }
97 97  
98 - .hero-inner {
99 - max-width: 850px;
100 - margin: 0 auto;
101 - display: flex;
102 - flex-direction: column;
103 - align-items: center;
104 - }
94 + /* HERO (centered) */
95 + .hero {
96 + overflow: hidden; /* contain gradients */
97 + background-repeat: no-repeat;
98 + background-attachment: scroll;
105 105  
106 - .hero-cta {
107 - display: flex;
108 - gap: 0.8rem;
109 - flex-wrap: wrap;
110 - justify-content: center;
111 - margin-top: 0.3rem;
112 - }
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;
113 113  
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;
110 + .hero-inner {
111 + margin: auto;
112 + display: flex;
113 + flex-direction: column;
114 + align-items: center;
115 + gap: 1rem;
116 + }
123 123  
124 - li + li::before {
125 - content: "•";
126 - margin: 0 5px;
127 - }
118 + .lead {
119 + color: @muted;
120 + margin: 0 auto 0.9rem;
121 + }
128 128  
129 - @media (max-width: 640px) {
130 - li + li::before {
131 - content: none;
123 + .hero-cta {
124 + display: flex;
125 + gap: 0.8rem;
126 + flex-wrap: wrap;
127 + justify-content: center;
128 + margin-top: 0.3rem;
132 132   }
133 - li:nth-child(1)::after,
134 - li:nth-child(3)::after {
135 - content: "•";
136 - margin: 0 5px;
137 - }
138 - }
139 - }
140 -}
141 141  
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 -}
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;
149 149  
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%;
142 + li + li::before {
143 + content: "•";
144 + margin-right: 5px;
145 + }
160 160  
161 - &:hover {
162 - transform: translateY(-2px);
163 - box-shadow: @shadow;
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 + }
164 164   }
165 165  
166 - .icon {
162 + /* === WHY CHOOSE (widgets using flex) === */
163 + .widgets {
164 + margin-top: 12px;
167 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 - }
176 -
177 - p {
178 - margin: 0;
179 - color: @muted;
180 - line-height: 1.45;
181 - }
182 -}
183 -
184 -/* ===== SERVICES ===== */
185 -.services {
186 - .services-grid {
187 - margin-top: 20px;
188 - display: flex;
189 189   flex-wrap: wrap;
190 - gap: 24px;
167 + justify-content: space-between;
191 191  
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 - }
169 + .widget {
170 + box-sizing: border-box;
198 198  
199 - .service {
200 - flex: 0 1 calc(50% - 12px);
201 - display: flex;
202 - align-items: flex-start;
203 - gap: 16px;
204 - margin-bottom: 8px;
172 + /* Desktop (md+) – 4 per row */
173 + flex: 0 0 24%;
174 + max-width: 24%;
175 + margin-bottom: 16px;
205 205  
206 - .service-icon {
207 - width: 42px;
208 - height: 42px;
209 - border-radius: 50%;
210 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 - }
178 + flex-direction: column;
179 + height: 100%;
180 + padding: 18px;
181 + background: #fff;
182 + border: 1px solid @line;
183 + border-radius: @radius;
184 + box-shadow: @shadow-sm;
185 + transition: transform .18s ease, box-shadow .18s ease;
219 219  
220 - .service-body {
221 - h4 {
222 - margin: 0 0 4px;
223 - font-size: 1.125rem;
224 - font-weight: 800;
187 + &:hover {
188 + transform: translateY(-2px);
189 + box-shadow: @shadow;
225 225   }
226 - p {
227 - margin: 0 0 6px;
228 - color: @text;
229 - line-height: 1.5;
191 +
192 + .icon {
193 + display: flex;
194 + align-items: center;
195 + gap: 10px;
196 + padding-bottom: 6px;
197 + margin-bottom: 8px;
198 + border-bottom: 1px solid fade(@line, 60%);
199 + i { color: @brand; }
200 + h4 { margin: 0; line-height: 1.2; color: @text; }
230 230   }
231 - ul {
232 - margin: .45rem 0 0;
233 - padding-left: 1.1rem;
202 +
203 + p {
204 + margin: 0;
234 234   color: @muted;
235 - font-size: 13px;
236 - }
237 - li {
238 - margin: .25rem 0;
239 239   line-height: 1.45;
240 240   }
241 241   }
242 - }
243 243  
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);
210 + @media (max-width: 991px) {
211 + .widget {
212 + flex: 0 0 48%;
213 + max-width: 48%;
214 + }
215 + }
248 248  
249 - /* push to center */
250 - margin-left: auto;
251 - margin-right: auto;
217 + @media (max-width: 767px) {
218 + .widget {
219 + flex: 0 0 100%;
220 + max-width: 100%;
221 + }
222 + }
252 252   }
253 253  
254 - /* Mobile: 1 per row */
255 - @media (max-width: 767px) {
225 + /* SERVICES */
226 + .services {
256 256   .services-grid {
257 - gap: 16px;
258 - max-width: 100%;
228 + margin-top: 12px;
229 +
230 + .service {
231 + margin-bottom: 24px;
232 + display: flex;
233 + align-items: flex-start;
234 + gap: 16px;
235 +
236 + .service-icon {
237 + width: 42px;
238 + height: 42px;
239 + border-radius: 50%;
240 + display: flex;
241 + align-items: center;
242 + justify-content: center;
243 + font-size: 18px;
244 + color: @brand;
245 + background: fade(@brand, 10%);
246 + margin-top: 3px;
247 + flex-shrink: 0;
248 + }
249 +
250 + .service-body {
251 + h4 {
252 + margin: 0 0 4px;
253 + font-size: 1.125rem;
254 + font-weight: 800;
255 + }
256 +
257 + p {
258 + margin: 0 0 6px;
259 + color: @text;
260 + line-height: 1.5;
261 + }
262 +
263 + ul {
264 + margin: .45rem 0 0;
265 + padding-left: 1.1rem;
266 + color: @muted;
267 + font-size: 13px;
268 + }
269 +
270 + li {
271 + margin: .25rem 0;
272 + line-height: 1.45;
273 + }
274 + }
275 + }
259 259   }
260 260  
261 - .service,
262 - .service-center {
263 - flex: 0 1 100%;
264 - margin-left: 0;
265 - margin-right: 0;
278 + @media (max-width: 767px) {
279 + .services-grid {
280 + .service {
281 + margin-bottom: 20px;
282 + }
283 +
284 + .service-icon {
285 + width: 36px;
286 + height: 36px;
287 + font-size: 16px;
288 + }
289 + }
266 266   }
267 267   }
268 -}
269 269  
270 -/* ===== CTA ===== */
271 -.cta-section {
272 - padding: 24px 0 16px;
293 + /* CTA inline section at the end */
294 + .cta-section {
295 + padding: 24px 0 16px;
273 273  
274 - .contact-inline {
275 - margin: 0;
276 - color: @muted;
277 - a { color: @brand; }
297 + .contact-inline {
298 + margin: 0;
299 + color: @muted;
300 + a { color: @brand; }
301 + }
278 278   }
279 279  }
304 +