0 Votes

Changes for page Home

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

From version 6.12
edited by Alex Cotiugă
on 2025/11/12 16:24
Change comment: There is no comment for this version
To version 7.7
edited by Alex Cotiugă
on 2025/11/12 20:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -7,22 +7,16 @@
7 7   <section class="hero hero-centered" aria-labelledby="hero-title">
8 8   <div class="container">
9 9   <div class="hero-inner">
10 - <h1 id="hero-title">Engineering reliability in every XWiki environment</h1>
11 -
12 - <p class="lead">
13 - Agnease provides upgrades, maintenance, integrations, and custom development delivered with clarity, predictability, and long-term reliability. We keep your XWiki stable, secure, and ready to grow.
14 - </p>
15 -
10 + <h1 id="hero-title">Professional XWiki solutions, from setup to long-term stability</h1>
11 + <p class="lead">Need your XWiki upgraded, secured, or improved? Let’s make it happen.</p>
16 16   <div class="hero-cta">
17 - <a class="btn btn-primary" href="#contact" aria-label="Schedule a call with Agnease">Schedule a call</a>
18 - <a class="btn btn-ghost" href="#services">View services</a>
13 + <a class="btn btn-primary" href="#contact" aria-label="Schedule a call with Agnease">Request a consultation</a>
19 19   </div>
20 -
21 21   <ul class="benefits">
22 - <li>Low-downtime LTS upgrades</li>
23 - <li>Support plans with SLAs</li>
24 - <li>Custom workflows &amp; integrations</li>
25 - <li>Recovery &amp; hardening</li>
16 + <li>Smooth upgrades</li>
17 + <li>Reliable support plans</li>
18 + <li>Custom integrations</li>
19 + <li>Secure, optimized platforms</li>
26 26   </ul>
27 27   </div>
28 28   </div>
... ... @@ -29,47 +29,51 @@
29 29   </section>
30 30  
31 31   <!-- ========= WHY CHOOSE AGNEASE (widgets) ========= -->
26 + #set ($whyArray = [{
27 + 'title': 'Stability & security',
28 + 'icon': 'shield',
29 + 'content': 'Proven upgrade steps, rollback safety, and proactive hardening keep your wiki reliable.'
30 + },{
31 + 'title': 'Predictable delivery',
32 + 'icon': 'check-square-o',
33 + 'content': 'Clear scope, defined steps, and documented results to avoid surprises.'
34 + },{
35 + 'title': 'Stability & security',
36 + 'icon': 'shield',
37 + 'content': 'Proven upgrade steps, rollback safety, and proactive hardening keep your wiki reliable.'
38 + },{
39 + 'title': 'Stability & security',
40 + 'icon': 'shield',
41 + 'content': 'Proven upgrade steps, rollback safety, and proactive hardening keep your wiki reliable.'
42 + }])
32 32   <section aria-labelledby="why-title">
33 33   <div class="container">
34 34   <h2 id="why-title">Why choose Agnease</h2>
35 - <p class="lead">Specialized XWiki expertise with predictable delivery and long-term partnership.</p>
36 -
46 + <p class="lead">10+ years of XWiki expertise with structured delivery and lasting collaboration</p>
37 37   <div class="widgets" role="list">
48 + #foreach ($entry in $whyArray)
49 + <article class="widget" role="listitem">
50 + <div class="icon" aria-hidden="true">
51 + <i class="fa fa-$entry.icon"></i>
52 + <h4>$entry.title</h4>
53 + </div>
54 + <p>$entry.content</p>
55 + </article>
56 + #end
38 38   <article class="widget" role="listitem">
39 39   <div class="icon" aria-hidden="true">
40 - <!-- shield -->
41 - <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M12 3l7 3v5c0 5-3.5 9-7 10-3.5-1-7-5-7-10V6l7-3z" stroke="#2D3A34" stroke-width="1.6" fill="none"/></svg>
42 - <h3>Stability &amp; security</h3>
59 + <i class="fa fa-link"></i>
60 + <h4>Clean integrations</h4>
43 43   </div>
44 - <p>Rehearsed upgrades, hardening, and safe rollback paths keep your wiki available.</p>
62 + <p>Maintainable SSO, API, and system connections tailored to your environment.</p>
45 45   </article>
46 -
47 47   <article class="widget" role="listitem">
48 48   <div class="icon" aria-hidden="true">
49 - <!-- timeline -->
50 - <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4 17h4l3-7 3 7h6" stroke="#2D3A34" stroke-width="1.6"/></svg>
51 - <h3>Predictable delivery</h3>
66 + <i class="fa fa-life-ring"></i>
67 + <h4>Long-term support</h4>
52 52   </div>
53 - <p>Clear scope, downtime windows, and documentation with no surprises.</p>
69 + <p>Guaranteed response times, regular checks, and fast assistance when needed.</p>
54 54   </article>
55 -
56 - <article class="widget" role="listitem">
57 - <div class="icon" aria-hidden="true">
58 - <!-- puzzle -->
59 - <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M7 3h5v4h5v5h-4v5H8v-4H3V8h4V3z" stroke="#2D3A34" stroke-width="1.6" fill="none"/></svg>
60 - <h3>Clean integrations</h3>
61 - </div>
62 - <p>Maintainable SSO, Stripe, and API workflows that fit your environment.</p>
63 - </article>
64 -
65 - <article class="widget" role="listitem">
66 - <div class="icon" aria-hidden="true">
67 - <!-- handshake -->
68 - <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M3 12l4-4 5 5 5-5 4 4-9 9-9-9z" stroke="#2D3A34" stroke-width="1.6" fill="none"/></svg>
69 - <h3>Long-term support</h3>
70 - </div>
71 - <p>Retainers with SLA, health checks, and fast investigation when issues appear.</p>
72 - </article>
73 73   </div>
74 74   </div>
75 75   </section>
XWiki.StyleSheetExtension[0]
Code
... ... @@ -18,9 +18,9 @@
18 18   font: 16px/1.6 Inter, Segoe UI, Roboto, system-ui, -apple-system, Arial, sans-serif;
19 19   a { color: @brand; text-decoration: none; &:hover { color: @brand-strong; text-decoration: underline; } }
20 20   img { max-width: 100%; display: block; }
21 - h1 { font-size: clamp(1.8rem, 2.5vw + .8rem, 3rem); line-height: 1.15; margin: .2rem 0 .6rem; }
21 + /*h1 { font-size: clamp(1.8rem, 2.5vw + .8rem, 3rem); line-height: 1.15; margin: .2rem 0 .6rem; }
22 22   h2 { font-size: clamp(1.4rem, 1.4vw + .8rem, 2rem); line-height: 1.2; margin: .2rem 0 .4rem; }
23 - h3 { font-size: 1.12rem; margin: .2rem 0 .25rem; }
23 + h3 { font-size: 1.12rem; margin: .2rem 0 .25rem; }*/
24 24   .lead { color: @muted; max-width: 72ch; }
25 25   .container { max-width: @maxw; margin-top: 5px; padding: 0;}
26 26  
... ... @@ -60,7 +60,7 @@
60 60   /*padding: 48px 0; /* controlled vertical spacing */
61 61  
62 62   .hero-inner {
63 - max-width: 760px;
63 + /*max-width: 760px;*/
64 64   margin: auto;
65 65   display: flex;
66 66   flex-direction: column;
... ... @@ -68,15 +68,15 @@
68 68   gap: 1rem;
69 69   }
70 70  
71 - h1 {
71 + /*h1 {
72 72   font-size: clamp(1.9rem, 2.3vw + 1rem, 2.7rem);
73 73   line-height: 1.15;
74 74   margin: 0.4rem 0 0.5rem;
75 - }
75 + }*/
76 76  
77 77   .lead {
78 78   color: @muted;
79 - max-width: 68ch;
79 + /*max-width: 68ch;*/
80 80   margin: 0 auto 0.9rem;
81 81   }
82 82  
... ... @@ -92,30 +92,79 @@
92 92   display: flex;
93 93   flex-wrap: wrap;
94 94   justify-content: center;
95 - gap: 0.6rem 1rem;
96 96   list-style: none;
97 97   padding: 0;
98 98   margin: 0.8rem 0 0;
99 99   color: @muted;
100 - font-size: 0.95rem;
99 + font-size: 14px;
100 + gap: 5px;
101 + li {
102 + /*margin-left: 5px;*/
103 + }
104 + li + li::before {
105 + content: "•";
106 + margin-right: 5px;
107 + }
101 101   }
102 102   }
103 103   }
104 104  
105 - /* WHY CHOOSE (widgets) */
112 + /* === WHY CHOOSE (widgets with inline icon + title) === */
106 106   .widgets {
107 - display: grid; gap: 16px; grid-template-columns: 1fr;
108 - @media (min-width: 860px) { grid-template-columns: repeat(4, 1fr); }
114 + display: grid;
115 + gap: 16px;
116 + grid-template-columns: 1fr;
117 +
118 + @media (min-width: 860px) {
119 + grid-template-columns: repeat(4, 1fr);
120 + }
109 109   }
122 +
110 110   .widget {
111 - background: #fff; border: 1px solid @line; border-radius: @radius;
112 - padding: 18px; box-shadow: @shadow-sm; display: grid; gap: 8px; align-content: start;
124 + background: #fff;
125 + border: 1px solid @line;
126 + border-radius: @radius;
127 + padding: 18px;
128 + box-shadow: @shadow-sm;
129 + display: flex;
130 + flex-direction: column;
131 + justify-content: flex-start;
132 + gap: 8px;
133 + text-align: left;
134 + transition: transform 0.18s ease, box-shadow 0.18s ease;
113 113  
136 + &:hover {
137 + transform: translateY(-2px);
138 + box-shadow: @shadow;
139 + }
140 +
141 + /* The icon + title row */
114 114   .icon {
115 - width: 38px; height: 38px; border-radius: 10px;
116 - background: @panel; border: 1px solid @line; display: grid; place-items: center;
143 + display: flex;
144 + align-items: center;
145 + gap: 10px;
146 + padding: 6px 0;
147 + border-bottom: 1px solid fade(@line, 60%);
148 + margin-bottom: 6px;
149 +
150 + i {
151 + color: @brand;
152 + }
153 +
154 + h4 {
155 + /*font-weight: 700; */
156 + margin: 0;
157 + color: @text;
158 + line-height: 1.2;
159 + }
117 117   }
118 - p { color: @muted; margin: 0; }
161 +
162 + /* Body paragraph */
163 + p {
164 + color: @muted;
165 + margin: 0;
166 + line-height: 1.45;
167 + }
119 119   }
120 120  
121 121   /* SERVICES */
... ... @@ -172,4 +172,29 @@
172 172   display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
173 173   }
174 174   }
224 +
225 + /* ===== Prevent horizontal overflow ===== */
226 + html, body {
227 + overflow-x: hidden;
228 + }
229 +
230 + /* Ensure hero gradients don't bleed */
231 + .hero {
232 + overflow: hidden; /* contain background overflow */
233 + background-repeat: no-repeat;
234 + background-attachment: scroll;
235 + }
236 +
237 + /* Fix possible grid or card overshoot */
238 + .container {
239 + max-width: 100%;
240 + overflow-x: clip; /* hides subtle pixel overflow without scroll */
241 + }
242 +
243 + /* Safety for large paddings/margins that might extend */
244 + section, .widgets, .services, .metrics, .steps {
245 + margin-left: auto;
246 + margin-right: auto;
247 + }
175 175  }
249 +