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