0 Votes

Changes for page Public Web Site

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

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

Summary

Details

Page properties
Content
... ... @@ -1,175 +1,147 @@
1 1  {{velocity}}
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>
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>
23 23   </div>
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>
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
58 58   </div>
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>
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>
113 113  
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>
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")
137 137   #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
151 151  
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>
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
171 171   </div>
172 172   </div>
173 - </div>
174 -#end
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}}
175 175  {{/velocity}}
XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,1 +1,0 @@
1 -long
Code
... ... @@ -1,275 +1,0 @@
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 -a {
17 - color: @brand;
18 - text-decoration: none;
19 -}
20 -
21 -img {
22 - max-width: 100%;
23 - height: auto;
24 - display: block;
25 -}
26 -
27 -.container {
28 - max-width: @maxw;
29 -}
30 -
31 -.lead {
32 - color: @muted;
33 - text-align: center;
34 -}
35 -h2 {
36 - text-align: center;
37 -}
38 -
39 -section {
40 - padding: 32px 0;
41 - border-top: 1px solid @line;
42 -
43 - &:first-of-type {
44 - border-top: none;
45 - }
46 -}
47 -
48 -/* Buttons */
49 -.btn {
50 - display: inline-flex;
51 - align-items: center;
52 - justify-content: center;
53 - padding: .85rem 1.1rem;
54 - border-radius: 12px;
55 - border: 2px solid transparent;
56 - font-weight: 650;
57 - letter-spacing: .2px;
58 - cursor: pointer;
59 - box-shadow: @shadow-sm;
60 -
61 - &:focus-visible {
62 - outline: 3px solid @brand;
63 - outline-offset: 2px;
64 - }
65 -
66 - &-primary {
67 - background: @brand;
68 - color: #fff;
69 - &:hover,
70 - &:focus {
71 - background: @brand-strong;
72 - color: #fff;
73 - }
74 - }
75 -}
76 -
77 -/* ===== HERO ===== */
78 -.hero {
79 - overflow: hidden;
80 - background-repeat: no-repeat;
81 - background-attachment: scroll;
82 -
83 - &.hero-centered {
84 - text-align: center;
85 - background:
86 - radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%),
87 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
88 - display: flex;
89 - align-items: center;
90 - justify-content: center;
91 - min-height: 350px;
92 - }
93 -
94 - .hero-inner {
95 - max-width: 850px;
96 - margin: 0 auto;
97 - display: flex;
98 - flex-direction: column;
99 - align-items: center;
100 - }
101 -
102 - .hero-cta {
103 - display: flex;
104 - gap: 0.8rem;
105 - flex-wrap: wrap;
106 - justify-content: center;
107 - margin-top: 0.3rem;
108 - }
109 -
110 - .benefits {
111 - display: flex;
112 - flex-wrap: wrap;
113 - justify-content: center;
114 - list-style: none;
115 - padding: 0;
116 - margin: 0.8rem 0 0;
117 - color: @muted;
118 - font-size: 14px;
119 -
120 - li + li::before {
121 - content: "•";
122 - margin: 0 5px;
123 - }
124 -
125 - @media (max-width: 640px) {
126 - li + li::before {
127 - content: none;
128 - }
129 - li:nth-child(1)::after,
130 - li:nth-child(3)::after {
131 - content: "•";
132 - margin: 0 5px;
133 - }
134 - }
135 - }
136 -}
137 -
138 -/* ===== WHY CHOOSE (cards) ===== */
139 -.widgets {
140 - margin-top: 12px;
141 - display: grid;
142 - grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
143 - grid-gap: 16px;
144 -}
145 -
146 -.widget {
147 - padding: 18px;
148 - background: #fff;
149 - border: 1px solid @line;
150 - border-radius: @radius;
151 - box-shadow: @shadow-sm;
152 - transition: transform .18s ease, box-shadow .18s ease;
153 - display: flex;
154 - flex-direction: column;
155 - height: 100%;
156 -
157 - &:hover {
158 - transform: translateY(-2px);
159 - box-shadow: @shadow;
160 - }
161 -
162 - .icon {
163 - display: flex;
164 - align-items: center;
165 - gap: 10px;
166 - padding-bottom: 6px;
167 - margin-bottom: 8px;
168 - border-bottom: 1px solid fade(@line, 60%);
169 - i { color: @brand; }
170 - h4 { margin: 0; line-height: 1.2; color: @text; }
171 - }
172 -
173 - p {
174 - margin: 0;
175 - color: @muted;
176 - line-height: 1.45;
177 - }
178 -}
179 -
180 -/* ===== SERVICES ===== */
181 -.services {
182 - .services-grid {
183 - margin-top: 20px;
184 - display: flex;
185 - flex-wrap: wrap;
186 - gap: 24px;
187 -
188 - /* center the whole block under the heading */
189 - max-width: 960px;
190 - margin-left: auto;
191 - margin-right: auto;
192 - justify-content: center;
193 - }
194 -
195 - .service {
196 - flex: 0 1 calc(50% - 12px);
197 - display: flex;
198 - align-items: flex-start;
199 - gap: 16px;
200 - margin-bottom: 8px;
201 -
202 - .service-icon {
203 - width: 42px;
204 - height: 42px;
205 - border-radius: 50%;
206 - display: flex;
207 - align-items: center;
208 - justify-content: center;
209 - font-size: 18px;
210 - color: @brand;
211 - background: fade(@brand, 10%);
212 - flex-shrink: 0;
213 - margin-top: 3px;
214 - }
215 -
216 - .service-body {
217 - h4 {
218 - margin: 0 0 4px;
219 - font-size: 1.125rem;
220 - font-weight: 800;
221 - }
222 - p {
223 - margin: 0 0 6px;
224 - color: @text;
225 - line-height: 1.5;
226 - }
227 - ul {
228 - margin: .45rem 0 0;
229 - padding-left: 1.1rem;
230 - color: @muted;
231 - font-size: 13px;
232 - }
233 - li {
234 - margin: .25rem 0;
235 - line-height: 1.45;
236 - }
237 - }
238 - }
239 -
240 - /* ==== Center last item on its own row while keeping 50% width ==== */
241 - .service-center {
242 - /* same width as siblings */
243 - flex: 0 1 calc(55% - 12px);
244 -
245 - /* push to center */
246 - margin-left: auto;
247 - margin-right: auto;
248 - }
249 -
250 - /* Mobile: 1 per row */
251 - @media (max-width: 767px) {
252 - .services-grid {
253 - gap: 16px;
254 - max-width: 100%;
255 - }
256 -
257 - .service,
258 - .service-center {
259 - flex: 0 1 100%;
260 - margin-left: 0;
261 - margin-right: 0;
262 - }
263 - }
264 -}
265 -
266 -/* ===== CTA ===== */
267 -.cta-section {
268 - padding: 24px 0 16px;
269 -
270 - .contact-inline {
271 - margin: 0;
272 - color: @muted;
273 - a { color: @brand; }
274 - }
275 -}
Content Type
... ... @@ -1,1 +1,0 @@
1 -LESS
Use this extension
... ... @@ -1,1 +1,0 @@
1 -onDemand