0 Votes

Changes for page Public Web Site

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

From version 3.91
edited by Alex Cotiugă
on 2026/03/02 20:43
Change comment: There is no comment for this version
To version 3.3
edited by Alex Cotiugă
on 2025/11/24 07:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,220 +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">Secure, Stable and Up-to-Date XWiki Platforms</h1>
9 - <p class="lead">Independent XWiki specialist helping organizations upgrade, stabilize 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>
2 +#set ($discard = $xwiki.ssx.use('PublicWebSite.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>
26 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>
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
61 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>
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>
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 -
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>
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")
140 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 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>
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
173 173   </div>
174 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
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}}
220 220  {{/velocity}}
XWiki.StyleSheetExtension[0]
Code
... ... @@ -13,6 +13,21 @@
13 13   padding: 0;
14 14  }
15 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 +
16 16  .container {
17 17   max-width: @maxw;
18 18  }
... ... @@ -34,6 +34,35 @@
34 34   }
35 35  }
36 36  
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 +
37 37  /* ===== HERO ===== */
38 38  .hero {
39 39   overflow: hidden;