0 Votes

Changes for page Public Web Site

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

From version 3.90
edited by Alex Cotiugă
on 2026/03/02 20:37
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,220 +116,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">Keep Your XWiki Platform Secure, Stable and Up-to-Date</h1>
9 - <p class="lead">Helping organizations safely upgrade and maintain their XWiki environments.</p>
10 - <ul class="benefits">
11 - <li>11+ years of experience in the XWiki ecosystem</li>
12 - <li>Former XWiki SAS developer and long-time contributor</li>
13 - #*<li>Smooth upgrades</li>
14 - <li>Reliable support plans</li>
15 - <li>Custom integrations</li>
16 - <li>Secure, optimized platforms</li>*#
17 - </ul>
18 - <div class="hero-cta">
19 - <a href="mailto:alex@agnease.com">Contact Agnease</a>
20 - #*<a class="btn btn-primary" href="#contact" aria-label="Request a consultation" data-toggle="modal" data-target="#requestConsultation">
21 - Request a consultation
22 - </a>
23 - #requestConsultationModal()*#
24 - ##data-toggle="modal" data-target="#requestConsultationModal"
25 - </div>
26 - </div>
27 - </section>
28 - ## WHY CHOOSE
29 - #set ($whySectionData = [{
30 - 'title': 'Stability & security',
31 - 'icon': 'shield',
32 - 'content': 'Proven upgrade steps, rollback safety, and proactive hardening keep your wiki reliable.'
33 - },{
34 - 'title': 'Predictable delivery',
35 - 'icon': 'check-square-o',
36 - 'content': 'Clear scope, defined steps, and documented results to avoid surprises.'
37 - },{
38 - 'title': 'Clean integrations',
39 - 'icon': 'link',
40 - 'content': 'Maintainable SSO, API, and system connections tailored to your environment.'
41 - },{
42 - 'title': 'Long-term support',
43 - 'icon': 'life-ring',
44 - 'content': 'Guaranteed response times, regular checks, and fast assistance when needed.'
45 - }])
46 - <section aria-labelledby="why-title">
47 - <div class="container">
48 - <h2 id="why-title">Why choose Agnease</h2>
49 - <p class="lead">10+ years of XWiki expertise with structured delivery and lasting collaboration</p>
50 - <div class="widgets">
51 - #foreach ($entry in $whySectionData)
52 - <article class="widget">
53 - <div class="icon" aria-hidden="true">
54 - <i class="fa fa-$entry.icon"></i>
55 - <h4>$entry.title</h4>
56 - </div>
57 - <p>$entry.content</p>
58 - </article>
59 - #end
60 - </div>
61 - </div>
62 - </section>
63 - ## SERVICES
64 - #set ($servicesSectionData = [{
65 - 'title': 'Upgrades',
66 - 'icon': 'refresh',
67 - 'content': 'Stay current with the latest XWiki LTS and keep your instance reliable.',
68 - 'items': [
69 - 'Audit setup, extensions, and configurations',
70 - 'Test upgrades with backups and validation',
71 - 'Safe production rollout with minimal downtime'
72 - ]
73 - },{
74 - 'title': 'Maintenance, Support & Recovery',
75 - 'icon': 'stethoscope',
76 - 'content': 'Ensure long-term stability and quick response when issues appear.',
77 - 'items': [
78 - 'Monitoring and performance checks',
79 - 'Security patching, log analysis, triage',
80 - 'Issue recovery, data repair, hardening'
81 - ]
82 - },{
83 - 'title': 'Development & Integrations',
84 - 'icon': 'cogs',
85 - 'content': 'Extend and connect XWiki to fit your workflow and systems.',
86 - 'items': [
87 - 'Custom apps, macros, automation',
88 - 'SSO, REST APIs, LDAP, CRM links',
89 - 'Maintainable extensions for long-term use'
90 - ]
91 - },{
92 - 'title': 'Hosting & Deployment',
93 - 'icon': 'cloud',
94 - 'content': 'Cloud-ready environments designed for reliability and performance.',
95 - 'items': [
96 - 'Containerized deployment and TLS',
97 - 'Backups, restore strategy, observability',
98 - 'Optimization and load tuning'
99 - ]
100 - },{
101 - 'title': 'Migrations to XWiki',
102 - 'icon': 'exchange',
103 - 'content': 'Move from Confluence, SharePoint, or MediaWiki to XWiki with full data integrity and structure.',
104 - 'items': [
105 - 'Preserve hierarchy, attachments, and permissions',
106 - 'Convert macros, categories, and metadata for XWiki',
107 - 'Redirect old URLs and maintain SEO consistency'
108 - ]
109 - }])
110 - <section class="services" aria-labelledby="services-title">
111 - <div class="container">
112 - <h2 id="services-title">Services</h2>
113 - <p class="lead">
114 - All the XWiki services you need, delivered with precision and care
115 - </p>
116 116  
117 - #set ($servicesSize = $servicesSectionData.size())
118 - <div class="services-grid">
119 - #foreach ($entry in $servicesSectionData)
120 - #set ($classes = "service")
121 - ## If this is the last item AND the total number is odd, center it
122 - #if ($foreach.count == $servicesSize && ($servicesSize % 2) == 1)
123 - #set ($classes = "service service-center")
124 - #end
125 125  
126 - <article class="$classes">
127 - <div class="service-icon">
128 - <i class="fa fa-$entry.icon" aria-hidden="true"></i>
129 - </div>
130 - <div class="service-body">
131 - <h4>$entry.title</h4>
132 - <p>$entry.content</p>
133 - <ul>
134 - #foreach ($item in $entry.items)
135 - <li>$item</li>
136 - #end
137 - </ul>
138 - </div>
139 - </article>
140 - #end
141 - </div>
142 - </div>
143 - </section>
144 - ## CTA INLINE
145 - <section id="contact" class="cta-section">
146 - <div class="container">
147 - <p class="text-center contact-inline">
148 - Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a>.
149 - </p>
150 - </div>
151 - </section>
152 - {{/html}}
153 -#end
154 -
155 -#macro(requestConsultationModal)
156 - <div class="modal fade" id="requestConsultation" tabindex="-1" role="dialog">
157 - <div class="modal-dialog">
158 - <div class="modal-content">
159 - <div class="modal-header">
160 - <button type="button" class="close" data-dismiss="modal">&times;</button>
161 - <h4 class="modal-title">Request a consultation</h4>
162 - </div>
163 - <div class="modal-body">
164 - <div>
165 - ##Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a>
166 - #displayFormFromSheetCode()
167 - </div>
168 - </div>
169 - <div class="modal-footer">
170 - ##<input id="continueCategorySelection" type="button" class="btn btn-default" data-dismiss="modal"
171 - ## value="$escapetool.xml($services.localization.render('yesno_1'))">
172 - </div>
173 - </div>
174 - </div>
175 - </div>
176 -#end
177 -
178 -#macro (stripHTMLMacro $displayOutput)
179 - $stringtool.removeEnd($stringtool.removeStart($displayOutput, '{{html clean="false" wiki="false"}}'), '{{/html}}').replace('Agnease.Code.Lead.LeadClass_0_', 'acl-')
180 -#end
181 -
182 -#macro (displayFormFromSheetCode)
183 - #set ($editing = true)
184 - ## The object to display.
185 - #set ($xobject = $doc.newObject('Agnease.Code.Lead.LeadClass'))
186 - ## The class that describes the object properties.
187 - #set ($xclass = $xwiki.getClass('Agnease.Code.Lead.LeadClass'))
188 - ## Make sure the following display* method calls use the right object.
189 - #set ($discard = $doc.use($xobject))
190 - ## Using the xform vertical form layout.
191 - <div class="xform">
192 - <dl>
193 - #foreach ($property in $xclass.properties)
194 - #if ($property.name != 'status')
195 - <dt #if (!$editing)
196 - class="editableProperty"
197 - #set ($xobjectPropertyReference = $xobject.getPropertyReference($property.name))
198 - data-property="$escapetool.xml($services.model.serialize($xobjectPropertyReference))"
199 - data-property-type="object"#end>
200 - ## This must match the id generated by the $doc.display() method below.
201 - #set ($propertyId = "acl-$property.name")
202 - <label#if ($editing) for="$escapetool.xml($propertyId)"#end>
203 - $escapetool.xml($property.translatedPrettyName)
204 - </label>
205 - ## Support for specifying a translation key as hint in the property definition.
206 - <span class="xHint">$!escapetool.xml($services.localization.render($property.hint))</span>
207 - </dt>
208 - #set ($displayOutput = $doc.display($property.name, 'edit'))
209 - <dd>#stripHTMLMacro($displayOutput)</dd>
210 - #end
211 - #end
212 - #if (!$xclass.properties || $xclass.properties.size() == 0)
213 - ## Keep the empty definition term in order to have valid HTML.
214 - <dt></dt>
215 - <dd>$escapetool.xml($services.localization.render('xclass.defaultObjectSheet.noProperties'))</dd>
216 - #end
217 - </dl>
218 - </div>
219 -#end
220 -{{/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