0 Votes

Changes for page Home

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

From version 7.120
edited by Alex Cotiugă
on 2025/11/14 08:59
Change comment: There is no comment for this version
To version 7.136
edited by Alex Cotiugă
on 2025/11/17 09:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3,32 +3,25 @@
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 5  <main class="agnease-landing">
6 - <!-- ================= HERO ================= -->
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,22 +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="col-xs-12 col-sm-6 col-md-3">
56 - <div class="widget" role="listitem">
57 - <div class="icon" aria-hidden="true">
58 - <i class="fa fa-$entry.icon"></i>
59 - <h4>$entry.title</h4>
60 - </div>
61 - <p>$entry.content</p>
48 + <article class="widget">
49 + <div class="icon" aria-hidden="true">
50 + <i class="fa fa-$entry.icon"></i>
51 + <h4>$entry.title</h4>
62 62   </div>
63 - </div>
53 + <p>$entry.content</p>
54 + </article>
64 64   #end
65 65   </div>
66 66   </div>
67 67   </section>
68 - <!-- ================= SERVICES ================= -->
59 + ## SERVICES
69 69   #set ($servicesSectionData = [{
70 70   'title': 'Upgrades',
71 71   'icon': 'refresh',
... ... @@ -118,17 +118,9 @@
118 118   <p class="lead">
119 119   All the XWiki services you need, delivered with precision and care
120 120   </p>
121 -
122 - #set ($servicesSize = $servicesSectionData.size())
123 - <div class="row services-grid" role="list">
112 + <div class="services-grid">
124 124   #foreach ($entry in $servicesSectionData)
125 - #set ($classes = "service col-xs-12 col-sm-6")
126 - ## If this is the last item and the number of services is odd,
127 - ## center it on its own row on small+ screens
128 - #if ($foreach.count == $servicesSize && ($servicesSize % 2) == 1)
129 - #set ($classes = "$classes col-sm-offset-3")
130 - #end
131 - <div class="$classes" role="listitem">
114 + <article class="service">
132 132   <div class="service-icon">
133 133   <i class="fa fa-$entry.icon" aria-hidden="true"></i>
134 134   </div>
... ... @@ -141,11 +141,12 @@
141 141   #end
142 142   </ul>
143 143   </div>
144 - </div>
127 + </article>
145 145   #end
146 146   </div>
147 147   </div>
148 148   </section>
132 + ## CTA INLINE
149 149   <section id="contact" class="cta-section">
150 150   <div class="container">
151 151   <p class="text-center contact-inline">
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,21 +1,16 @@
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 15  .agnease-landing {
16 - /* Base */
17 17   color: @text;
18 - font: 16px/1.6 Inter, Segoe UI, Roboto, system-ui, -apple-system, Arial, sans-serif;
19 19  
20 20   a {
21 21   color: @brand;
... ... @@ -28,35 +28,35 @@
28 28  
29 29   img {
30 30   max-width: 100%;
26 + height: auto;
31 31   display: block;
32 32   }
33 33  
30 + .container {
31 + max-width: @maxw;
32 + margin: 0 auto;
33 + padding: 0 16px;
34 + }
35 +
34 34   .lead {
35 35   color: @muted;
36 36   max-width: 72ch;
37 37   }
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 - }
45 -
46 - /* Global sections */
47 47   section {
48 48   padding: 32px 0;
49 49   border-top: 1px solid @line;
44 +
45 + &:first-of-type {
46 + border-top: none;
47 + }
50 50   }
51 - section:first-of-type {
52 - border-top: none;
53 - }
54 54  
55 55   /* Buttons */
56 56   .btn {
57 57   display: inline-flex;
58 58   align-items: center;
59 - gap: .55rem;
54 + justify-content: center;
60 60   padding: .85rem 1.1rem;
61 61   border-radius: 12px;
62 62   border: 2px solid transparent;
... ... @@ -79,21 +79,11 @@
79 79   color: #fff;
80 80   }
81 81   }
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 - }
92 92   }
93 93  
94 - /* HERO (centered) */
79 + /* ===== HERO ===== */
95 95   .hero {
96 - overflow: hidden; /* contain gradients */
81 + overflow: hidden;
97 97   background-repeat: no-repeat;
98 98   background-attachment: scroll;
99 99  
... ... @@ -106,179 +106,176 @@
106 106   align-items: center;
107 107   justify-content: center;
108 108   min-height: 350px;
94 + }
109 109  
110 - .hero-inner {
111 - margin: auto;
112 - display: flex;
113 - flex-direction: column;
114 - align-items: center;
115 - gap: 1rem;
116 - }
96 + .hero-inner {
97 + max-width: 850px;
98 + margin: 0 auto;
99 + display: flex;
100 + flex-direction: column;
101 + align-items: center;
102 + gap: 1rem;
103 + }
117 117  
118 - .lead {
119 - color: @muted;
120 - margin: 0 auto 0.9rem;
121 - }
105 + .hero-cta {
106 + display: flex;
107 + gap: 0.8rem;
108 + flex-wrap: wrap;
109 + justify-content: center;
110 + margin-top: 0.3rem;
111 + }
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;
113 + .benefits {
114 + display: flex;
115 + flex-wrap: wrap;
116 + justify-content: center;
117 + list-style: none;
118 + padding: 0;
119 + margin: 0.8rem 0 0;
120 + color: @muted;
121 + font-size: 14px;
122 +
123 + li + li::before {
124 + content: "•";
125 + margin: 0 5px;
129 129   }
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;
141 -
128 + @media (max-width: 640px) {
142 142   li + li::before {
130 + content: none;
131 + }
132 + li:nth-child(1)::after,
133 + li:nth-child(3)::after {
143 143   content: "•";
144 - margin-right: 5px;
135 + margin: 0 5px;
145 145   }
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 158   }
159 159   }
160 160   }
161 161  
162 - /* === WHY CHOOSE (widgets using flex) === */
141 + /* ===== WHY CHOOSE (cards) ===== */
163 163   .widgets {
164 164   margin-top: 12px;
165 165   display: grid;
166 - grid-template-columns: 1fr;
167 - grid-gap: 16px; // spacing between cards
145 + grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
146 + grid-gap: 16px;
147 + }
168 168  
169 - @media (min-width: 768px) {
170 - grid-template-columns: repeat(2, 1fr);
171 - }
149 + .widget {
150 + padding: 18px;
151 + background: #fff;
152 + border: 1px solid @line;
153 + border-radius: @radius;
154 + box-shadow: @shadow-sm;
155 + transition: transform .18s ease, box-shadow .18s ease;
156 + display: flex;
157 + flex-direction: column;
158 + height: 100%;
172 172  
173 - @media (min-width: 992px) {
174 - grid-template-columns: repeat(4, 1fr);
160 + &:hover {
161 + transform: translateY(-2px);
162 + box-shadow: @shadow;
175 175   }
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;
165 + .icon {
185 185   display: flex;
186 - flex-direction: column;
187 - height: 100%;
167 + align-items: center;
168 + gap: 10px;
169 + padding-bottom: 6px;
170 + margin-bottom: 8px;
171 + border-bottom: 1px solid fade(@line, 60%);
172 + i { color: @brand; }
173 + h4 { margin: 0; line-height: 1.2; color: @text; }
174 + }
188 188  
189 - &:hover {
190 - transform: translateY(-2px);
191 - box-shadow: @shadow;
192 - }
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 - }
204 -
205 - p {
206 - margin: 0;
207 - color: @muted;
208 - line-height: 1.45;
209 - }
176 + p {
177 + margin: 0;
178 + color: @muted;
179 + line-height: 1.45;
210 210   }
211 211   }
212 212  
213 - /* SERVICES */
183 + /* ===== SERVICES ===== */
214 214   .services {
215 215   .services-grid {
216 - margin-top: 12px;
186 + margin-top: 20px;
187 + display: flex;
188 + flex-wrap: wrap;
189 + gap: 24px;
190 + }
217 217  
218 - .service {
219 - margin-bottom: 24px;
192 + .service {
193 + /* 2 items per row: 50% minus half the gap so row fits in 100% */
194 + flex: 0 1 calc(50% - 12px);
195 + display: flex;
196 + align-items: flex-start;
197 + gap: 16px;
198 + margin-bottom: 8px;
199 +
200 + .service-icon {
201 + width: 42px;
202 + height: 42px;
203 + border-radius: 50%;
220 220   display: flex;
221 - align-items: flex-start;
222 - gap: 16px;
205 + align-items: center;
206 + justify-content: center;
207 + font-size: 18px;
208 + color: @brand;
209 + background: fade(@brand, 10%);
210 + flex-shrink: 0;
211 + margin-top: 3px;
212 + }
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;
214 + .service-body {
215 + h4 {
216 + margin: 0 0 4px;
217 + font-size: 1.125rem;
218 + font-weight: 800;
236 236   }
237 237  
238 - .service-body {
239 - h4 {
240 - margin: 0 0 4px;
241 - font-size: 1.125rem;
242 - font-weight: 800;
243 - }
221 + p {
222 + margin: 0 0 6px;
223 + color: @text;
224 + line-height: 1.5;
225 + }
244 244  
245 - p {
246 - margin: 0 0 6px;
247 - color: @text;
248 - line-height: 1.5;
249 - }
227 + ul {
228 + margin: .45rem 0 0;
229 + padding-left: 1.1rem;
230 + color: @muted;
231 + font-size: 13px;
232 + }
250 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 - }
234 + li {
235 + margin: .25rem 0;
236 + line-height: 1.45;
262 262   }
263 263   }
264 264   }
265 265  
241 + /* Center the last item when odd:
242 + auto margins in a flex row push it to the middle */
243 + .service-center {
244 + margin-left: auto;
245 + margin-right: auto;
246 + }
247 +
248 + /* Mobile: 1 per row */
266 266   @media (max-width: 767px) {
267 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 - }
251 + gap: 16px;
277 277   }
253 + .service {
254 + flex: 0 1 100%;
255 + }
256 + .service-center {
257 + margin-left: 0;
258 + margin-right: 0;
259 + }
278 278   }
279 279   }
280 280  
281 - /* CTA inline section at the end */
263 + /* ===== CTA ===== */
282 282   .cta-section {
283 283   padding: 24px 0 16px;
284 284