0 Votes

Changes for page Public Web Site

Last modified by Alex Cotiugă on 2026/03/02 20:58

From version 2.1
edited by Alex Cotiugă
on 2025/11/24 07:18
Change comment: There is no comment for this version
To version 3.34
edited by Alex Cotiugă
on 2025/11/24 10:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,147 +1,175 @@
1 1  {{velocity}}
2 -#set ($discard = $xwiki.ssx.use('Main.WebHome'))
3 -{{html clean="false"}}
4 - ## HERO
5 - <section class="hero hero-centered" aria-labelledby="hero-title">
6 - <div class="container hero-inner">
7 - <h1 id="hero-title">Professional XWiki solutions, from setup to long-term stability</h1>
8 - <p class="lead">Need your XWiki upgraded, secured, or improved? Let’s make it happen.</p>
9 - <div class="hero-cta">
10 - <a class="btn btn-primary" href="#contact" aria-label="Schedule a call with Agnease">
11 - Request a consultation
12 - </a>
2 +#macro (displayPublicContent)
3 + #set ($discard = $xwiki.ssx.use('PublicWebSite.WebHome'))
4 + {{html clean="false"}}
5 + ## HERO
6 + <section class="hero hero-centered" aria-labelledby="hero-title">
7 + <div class="container hero-inner">
8 + <h1 id="hero-title">Professional XWiki solutions, from setup to long-term stability</h1>
9 + <p class="lead">Need your XWiki upgraded, secured, or improved? Let’s make it happen.</p>
10 + <div class="hero-cta">
11 + <a class="btn btn-primary" href="#contact" aria-label="Request a consultation" data-toggle="modal" data-target="#requestConsultation">
12 + Request a consultation
13 + </a>
14 + #requestConsultationModal()
15 + ##data-toggle="modal" data-target="#requestConsultationModal"
16 + </div>
17 + <ul class="benefits">
18 + <li>Smooth upgrades</li>
19 + <li>Reliable support plans</li>
20 + <li>Custom integrations</li>
21 + <li>Secure, optimized platforms</li>
22 + </ul>
13 13   </div>
14 - <ul class="benefits">
15 - <li>Smooth upgrades</li>
16 - <li>Reliable support plans</li>
17 - <li>Custom integrations</li>
18 - <li>Secure, optimized platforms</li>
19 - </ul>
20 - </div>
21 - </section>
22 - ## WHY CHOOSE
23 - #set ($whySectionData = [{
24 - 'title': 'Stability & security',
25 - 'icon': 'shield',
26 - 'content': 'Proven upgrade steps, rollback safety, and proactive hardening keep your wiki reliable.'
27 - },{
28 - 'title': 'Predictable delivery',
29 - 'icon': 'check-square-o',
30 - 'content': 'Clear scope, defined steps, and documented results to avoid surprises.'
31 - },{
32 - 'title': 'Clean integrations',
33 - 'icon': 'link',
34 - 'content': 'Maintainable SSO, API, and system connections tailored to your environment.'
35 - },{
36 - 'title': 'Long-term support',
37 - 'icon': 'life-ring',
38 - 'content': 'Guaranteed response times, regular checks, and fast assistance when needed.'
39 - }])
40 - <section aria-labelledby="why-title">
41 - <div class="container">
42 - <h2 id="why-title">Why choose Agnease</h2>
43 - <p class="lead">10+ years of XWiki expertise with structured delivery and lasting collaboration</p>
44 - <div class="widgets">
45 - #foreach ($entry in $whySectionData)
46 - <article class="widget">
47 - <div class="icon" aria-hidden="true">
48 - <i class="fa fa-$entry.icon"></i>
49 - <h4>$entry.title</h4>
50 - </div>
51 - <p>$entry.content</p>
52 - </article>
53 - #end
24 + </section>
25 + ## WHY CHOOSE
26 + #set ($whySectionData = [{
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': 'Clean integrations',
36 + 'icon': 'link',
37 + 'content': 'Maintainable SSO, API, and system connections tailored to your environment.'
38 + },{
39 + 'title': 'Long-term support',
40 + 'icon': 'life-ring',
41 + 'content': 'Guaranteed response times, regular checks, and fast assistance when needed.'
42 + }])
43 + <section aria-labelledby="why-title">
44 + <div class="container">
45 + <h2 id="why-title">Why choose Agnease</h2>
46 + <p class="lead">10+ years of XWiki expertise with structured delivery and lasting collaboration</p>
47 + <div class="widgets">
48 + #foreach ($entry in $whySectionData)
49 + <article class="widget">
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
57 + </div>
54 54   </div>
55 - </div>
56 - </section>
57 - ## SERVICES
58 - #set ($servicesSectionData = [{
59 - 'title': 'Upgrades',
60 - 'icon': 'refresh',
61 - 'content': 'Stay current with the latest XWiki LTS and keep your instance reliable.',
62 - 'items': [
63 - 'Audit setup, extensions, and configurations',
64 - 'Test upgrades with backups and validation',
65 - 'Safe production rollout with minimal downtime'
66 - ]
67 - },{
68 - 'title': 'Maintenance, Support & Recovery',
69 - 'icon': 'stethoscope',
70 - 'content': 'Ensure long-term stability and quick response when issues appear.',
71 - 'items': [
72 - 'Monitoring and performance checks',
73 - 'Security patching, log analysis, triage',
74 - 'Issue recovery, data repair, hardening'
75 - ]
76 - },{
77 - 'title': 'Development & Integrations',
78 - 'icon': 'cogs',
79 - 'content': 'Extend and connect XWiki to fit your workflow and systems.',
80 - 'items': [
81 - 'Custom apps, macros, automation',
82 - 'SSO, REST APIs, LDAP, CRM links',
83 - 'Maintainable extensions for long-term use'
84 - ]
85 - },{
86 - 'title': 'Hosting & Deployment',
87 - 'icon': 'cloud',
88 - 'content': 'Cloud-ready environments designed for reliability and performance.',
89 - 'items': [
90 - 'Containerized deployment and TLS',
91 - 'Backups, restore strategy, observability',
92 - 'Optimization and load tuning'
93 - ]
94 - },{
95 - 'title': 'Migrations to XWiki',
96 - 'icon': 'exchange',
97 - 'content': 'Move from Confluence, SharePoint, or MediaWiki to XWiki with full data integrity and structure.',
98 - 'items': [
99 - 'Preserve hierarchy, attachments, and permissions',
100 - 'Convert macros, categories, and metadata for XWiki',
101 - 'Redirect old URLs and maintain SEO consistency'
102 - ]
103 - }])
104 - <section class="services" aria-labelledby="services-title">
105 - <div class="container">
106 - <h2 id="services-title">Services</h2>
107 - <p class="lead">
108 - All the XWiki services you need, delivered with precision and care
109 - </p>
59 + </section>
60 + ## SERVICES
61 + #set ($servicesSectionData = [{
62 + 'title': 'Upgrades',
63 + 'icon': 'refresh',
64 + 'content': 'Stay current with the latest XWiki LTS and keep your instance reliable.',
65 + 'items': [
66 + 'Audit setup, extensions, and configurations',
67 + 'Test upgrades with backups and validation',
68 + 'Safe production rollout with minimal downtime'
69 + ]
70 + },{
71 + 'title': 'Maintenance, Support & Recovery',
72 + 'icon': 'stethoscope',
73 + 'content': 'Ensure long-term stability and quick response when issues appear.',
74 + 'items': [
75 + 'Monitoring and performance checks',
76 + 'Security patching, log analysis, triage',
77 + 'Issue recovery, data repair, hardening'
78 + ]
79 + },{
80 + 'title': 'Development & Integrations',
81 + 'icon': 'cogs',
82 + 'content': 'Extend and connect XWiki to fit your workflow and systems.',
83 + 'items': [
84 + 'Custom apps, macros, automation',
85 + 'SSO, REST APIs, LDAP, CRM links',
86 + 'Maintainable extensions for long-term use'
87 + ]
88 + },{
89 + 'title': 'Hosting & Deployment',
90 + 'icon': 'cloud',
91 + 'content': 'Cloud-ready environments designed for reliability and performance.',
92 + 'items': [
93 + 'Containerized deployment and TLS',
94 + 'Backups, restore strategy, observability',
95 + 'Optimization and load tuning'
96 + ]
97 + },{
98 + 'title': 'Migrations to XWiki',
99 + 'icon': 'exchange',
100 + 'content': 'Move from Confluence, SharePoint, or MediaWiki to XWiki with full data integrity and structure.',
101 + 'items': [
102 + 'Preserve hierarchy, attachments, and permissions',
103 + 'Convert macros, categories, and metadata for XWiki',
104 + 'Redirect old URLs and maintain SEO consistency'
105 + ]
106 + }])
107 + <section class="services" aria-labelledby="services-title">
108 + <div class="container">
109 + <h2 id="services-title">Services</h2>
110 + <p class="lead">
111 + All the XWiki services you need, delivered with precision and care
112 + </p>
110 110  
111 - #set ($servicesSize = $servicesSectionData.size())
112 - <div class="services-grid">
113 - #foreach ($entry in $servicesSectionData)
114 - #set ($classes = "service")
115 - ## If this is the last item AND the total number is odd, center it
116 - #if ($foreach.count == $servicesSize && ($servicesSize % 2) == 1)
117 - #set ($classes = "service service-center")
114 + #set ($servicesSize = $servicesSectionData.size())
115 + <div class="services-grid">
116 + #foreach ($entry in $servicesSectionData)
117 + #set ($classes = "service")
118 + ## If this is the last item AND the total number is odd, center it
119 + #if ($foreach.count == $servicesSize && ($servicesSize % 2) == 1)
120 + #set ($classes = "service service-center")
121 + #end
122 +
123 + <article class="$classes">
124 + <div class="service-icon">
125 + <i class="fa fa-$entry.icon" aria-hidden="true"></i>
126 + </div>
127 + <div class="service-body">
128 + <h4>$entry.title</h4>
129 + <p>$entry.content</p>
130 + <ul>
131 + #foreach ($item in $entry.items)
132 + <li>$item</li>
133 + #end
134 + </ul>
135 + </div>
136 + </article>
118 118   #end
138 + </div>
139 + </div>
140 + </section>
141 + ## CTA INLINE
142 + <section id="contact" class="cta-section">
143 + <div class="container">
144 + <p class="text-center contact-inline">
145 + Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a>.
146 + </p>
147 + </div>
148 + </section>
149 + {{/html}}
150 +#end
119 119  
120 - <article class="$classes">
121 - <div class="service-icon">
122 - <i class="fa fa-$entry.icon" aria-hidden="true"></i>
123 - </div>
124 - <div class="service-body">
125 - <h4>$entry.title</h4>
126 - <p>$entry.content</p>
127 - <ul>
128 - #foreach ($item in $entry.items)
129 - <li>$item</li>
130 - #end
131 - </ul>
132 - </div>
133 - </article>
134 - #end
152 +#macro(requestConsultationModal)
153 + <div class="modal fade" id="requestConsultation" tabindex="-1" role="dialog">
154 + <div class="modal-dialog">
155 + <div class="modal-content">
156 + <div class="modal-header">
157 + <button type="button" class="close" data-dismiss="modal">&times;</button>
158 + <h4 class="modal-title">Request a consultation</h4>
159 + </div>
160 + <div class="modal-body">
161 + <div>
162 + $services.localization.render('blog.modal.checkCategorySelection.body')
163 + </div>
164 + </div>
165 + <div class="modal-footer">
166 + <input id="continueCategorySelection" type="button" class="btn btn-default" data-dismiss="modal"
167 + value="$escapetool.xml($services.localization.render('yesno_1'))">
168 + <input type="button" class="btn btn-danger" data-dismiss="modal"
169 + value="$escapetool.xml($services.localization.render('blog.modal.checkCategorySelection.footer.no'))">
170 + </div>
135 135   </div>
136 136   </div>
137 - </section>
138 - ## CTA INLINE
139 - <section id="contact" class="cta-section">
140 - <div class="container">
141 - <p class="text-center contact-inline">
142 - Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a>.
143 - </p>
144 - </div>
145 - </section>
146 -{{/html}}
173 + </div>
174 +#end
147 147  {{/velocity}}
XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +long
Code
... ... @@ -1,0 +1,270 @@
1 +/* ========== Agnease Landing (no Bootstrap grid) ========== */
2 +@brand: #00937D;
3 +@brand-strong: #007B6A;
4 +@text: #2D3A34;
5 +@muted: #5B6B64;
6 +@line: #E4ECE9;
7 +@radius: 16px;
8 +@shadow-sm: 0 6px 20px rgba(0,0,0,.06);
9 +@shadow: 0 12px 36px rgba(0,0,0,.08);
10 +@maxw: 1140px;
11 +
12 +#mainContentArea {
13 + padding: 0;
14 +}
15 +
16 +img {
17 + max-width: 100%;
18 + height: auto;
19 + display: block;
20 +}
21 +
22 +.container {
23 + max-width: @maxw;
24 +}
25 +
26 +.lead {
27 + color: @muted;
28 + text-align: center;
29 +}
30 +h2 {
31 + text-align: center;
32 +}
33 +
34 +section {
35 + padding: 32px 0;
36 + border-top: 1px solid @line;
37 +
38 + &:first-of-type {
39 + border-top: none;
40 + }
41 +}
42 +
43 +/* Buttons */
44 +.btn {
45 + display: inline-flex;
46 + align-items: center;
47 + justify-content: center;
48 + padding: .85rem 1.1rem;
49 + border-radius: 12px;
50 + border: 2px solid transparent;
51 + font-weight: 650;
52 + letter-spacing: .2px;
53 + cursor: pointer;
54 + box-shadow: @shadow-sm;
55 +
56 + &:focus-visible {
57 + outline: 3px solid @brand;
58 + outline-offset: 2px;
59 + }
60 +
61 + &-primary {
62 + background: @brand;
63 + color: #fff;
64 + &:hover,
65 + &:focus {
66 + background: @brand-strong;
67 + color: #fff;
68 + }
69 + }
70 +}
71 +
72 +/* ===== HERO ===== */
73 +.hero {
74 + overflow: hidden;
75 + background-repeat: no-repeat;
76 + background-attachment: scroll;
77 +
78 + &.hero-centered {
79 + text-align: center;
80 + background:
81 + radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%),
82 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
83 + display: flex;
84 + align-items: center;
85 + justify-content: center;
86 + min-height: 350px;
87 + }
88 +
89 + .hero-inner {
90 + max-width: 850px;
91 + margin: 0 auto;
92 + display: flex;
93 + flex-direction: column;
94 + align-items: center;
95 + }
96 +
97 + .hero-cta {
98 + display: flex;
99 + gap: 0.8rem;
100 + flex-wrap: wrap;
101 + justify-content: center;
102 + margin-top: 0.3rem;
103 + }
104 +
105 + .benefits {
106 + display: flex;
107 + flex-wrap: wrap;
108 + justify-content: center;
109 + list-style: none;
110 + padding: 0;
111 + margin: 0.8rem 0 0;
112 + color: @muted;
113 + font-size: 14px;
114 +
115 + li + li::before {
116 + content: "•";
117 + margin: 0 5px;
118 + }
119 +
120 + @media (max-width: 640px) {
121 + li + li::before {
122 + content: none;
123 + }
124 + li:nth-child(1)::after,
125 + li:nth-child(3)::after {
126 + content: "•";
127 + margin: 0 5px;
128 + }
129 + }
130 + }
131 +}
132 +
133 +/* ===== WHY CHOOSE (cards) ===== */
134 +.widgets {
135 + margin-top: 12px;
136 + display: grid;
137 + grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
138 + grid-gap: 16px;
139 +}
140 +
141 +.widget {
142 + padding: 18px;
143 + background: #fff;
144 + border: 1px solid @line;
145 + border-radius: @radius;
146 + box-shadow: @shadow-sm;
147 + transition: transform .18s ease, box-shadow .18s ease;
148 + display: flex;
149 + flex-direction: column;
150 + height: 100%;
151 +
152 + &:hover {
153 + transform: translateY(-2px);
154 + box-shadow: @shadow;
155 + }
156 +
157 + .icon {
158 + display: flex;
159 + align-items: center;
160 + gap: 10px;
161 + padding-bottom: 6px;
162 + margin-bottom: 8px;
163 + border-bottom: 1px solid fade(@line, 60%);
164 + i { color: @brand; }
165 + h4 { margin: 0; line-height: 1.2; color: @text; }
166 + }
167 +
168 + p {
169 + margin: 0;
170 + color: @muted;
171 + line-height: 1.45;
172 + }
173 +}
174 +
175 +/* ===== SERVICES ===== */
176 +.services {
177 + .services-grid {
178 + margin-top: 20px;
179 + display: flex;
180 + flex-wrap: wrap;
181 + gap: 24px;
182 +
183 + /* center the whole block under the heading */
184 + max-width: 960px;
185 + margin-left: auto;
186 + margin-right: auto;
187 + justify-content: center;
188 + }
189 +
190 + .service {
191 + flex: 0 1 calc(50% - 12px);
192 + display: flex;
193 + align-items: flex-start;
194 + gap: 16px;
195 + margin-bottom: 8px;
196 +
197 + .service-icon {
198 + width: 42px;
199 + height: 42px;
200 + border-radius: 50%;
201 + display: flex;
202 + align-items: center;
203 + justify-content: center;
204 + font-size: 18px;
205 + color: @brand;
206 + background: fade(@brand, 10%);
207 + flex-shrink: 0;
208 + margin-top: 3px;
209 + }
210 +
211 + .service-body {
212 + h4 {
213 + margin: 0 0 4px;
214 + font-size: 1.125rem;
215 + font-weight: 800;
216 + }
217 + p {
218 + margin: 0 0 6px;
219 + color: @text;
220 + line-height: 1.5;
221 + }
222 + ul {
223 + margin: .45rem 0 0;
224 + padding-left: 1.1rem;
225 + color: @muted;
226 + font-size: 13px;
227 + }
228 + li {
229 + margin: .25rem 0;
230 + line-height: 1.45;
231 + }
232 + }
233 + }
234 +
235 + /* ==== Center last item on its own row while keeping 50% width ==== */
236 + .service-center {
237 + /* same width as siblings */
238 + flex: 0 1 calc(55% - 12px);
239 +
240 + /* push to center */
241 + margin-left: auto;
242 + margin-right: auto;
243 + }
244 +
245 + /* Mobile: 1 per row */
246 + @media (max-width: 767px) {
247 + .services-grid {
248 + gap: 16px;
249 + max-width: 100%;
250 + }
251 +
252 + .service,
253 + .service-center {
254 + flex: 0 1 100%;
255 + margin-left: 0;
256 + margin-right: 0;
257 + }
258 + }
259 +}
260 +
261 +/* ===== CTA ===== */
262 +.cta-section {
263 + padding: 24px 0 16px;
264 +
265 + .contact-inline {
266 + margin: 0;
267 + color: @muted;
268 + a { color: @brand; }
269 + }
270 +}
Content Type
... ... @@ -1,0 +1,1 @@
1 +LESS
Use this extension
... ... @@ -1,0 +1,1 @@
1 +onDemand