0 Votes

Changes for page Home

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

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

Summary

Details

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