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 3.44
edited by Alex Cotiugă
on 2025/11/24 10:24
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -5,24 +5,21 @@
5 5   ## HERO
6 6   <section class="hero hero-centered" aria-labelledby="hero-title">
7 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>
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>
18 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">
11 + <a class="btn btn-primary" href="#contact" aria-label="Request a consultation" data-toggle="modal" data-target="#requestConsultation">
21 21   Request a consultation
22 22   </a>
23 - #requestConsultationModal()*#
14 + #requestConsultationModal()
24 24   ##data-toggle="modal" data-target="#requestConsultationModal"
25 25   </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>
26 26   </div>
27 27   </section>
28 28   ## WHY CHOOSE
... ... @@ -162,59 +162,17 @@
162 162   </div>
163 163   <div class="modal-body">
164 164   <div>
165 - ##Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a>
166 - #displayFormFromSheetCode()
162 + $services.localization.render('blog.modal.checkCategorySelection.body')
167 167   </div>
168 168   </div>
169 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'))">
166 + <input id="continueCategorySelection" type="button" class="btn btn-default" data-dismiss="modal"
167 + value="$escapetool.xml($services.localization.render('yesno_1'))">
168 + <input type="button" class="btn btn-danger" data-dismiss="modal"
169 + value="$escapetool.xml($services.localization.render('blog.modal.checkCategorySelection.footer.no'))">
172 172   </div>
173 173   </div>
174 174   </div>
175 175   </div>
176 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 220  {{/velocity}}
XWiki.StyleSheetExtension[0]
Code
... ... @@ -34,6 +34,20 @@
34 34   }
35 35  }
36 36  
37 +/* Buttons */
38 +.btn {
39 + display: inline-flex;
40 + align-items: center;
41 + justify-content: center;
42 + padding: .85rem 1.1rem;
43 + border-radius: 12px;
44 + border: 2px solid transparent;
45 + font-weight: 650;
46 + letter-spacing: .2px;
47 + cursor: pointer;
48 + box-shadow: @shadow-sm;
49 +}
50 +
37 37  /* ===== HERO ===== */
38 38  .hero {
39 39   overflow: hidden;