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