0 Votes

Changes for page Public Web Site

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

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

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Public Web Site
1 +PublicWebSite
Content
... ... @@ -1,173 +113,2 @@
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>
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 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>
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 - Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a>
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 - </div>
169 - </div>
170 - </div>
171 - </div>
172 -#end
173 -{{/velocity}}
XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,1 +1,0 @@
1 -long
Code
... ... @@ -1,235 +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 -.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,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