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