0 Votes

Changes for page Public Web Site

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

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