0 Votes

Changes for page Public Web Site

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

From version 1.1
edited by Alex Cotiugă
on 2025/11/24 07:16
Change comment: There is no comment for this version
To version 3.45
edited by Alex Cotiugă
on 2025/11/24 10:24
Change comment: There is no comment for this version

Summary

Details

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