Changes for page Public Web Site

Last modified by Agnease on 2026/05/30 16:24

From version 19.1
edited by Agnease
on 2026/05/28 10:53
Change comment: Upload new image "main-page-hero.png", version 1.2
To version 13.18
edited by Agnease
on 2026/05/27 09:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,11 +3,9 @@
1 -{{include reference="PublicWebSite.MacrosAndVariables" /}}
2 -
3 3  {{velocity}}
4 4  #macro (displayPublicContent)
5 5   #set ($discard = $xwiki.ssx.use('PublicWebSite.WebHome'))
6 6   {{html clean="false"}}
7 7  
8 - <section class="hero hero-centered main-page-hero" aria-labelledby="hero-title">
6 + <section class="hero hero-centered" aria-labelledby="hero-title">
9 9   <div class="container hero-inner">
10 10   <h1 id="hero-title">Professional XWiki consulting and engineering</h1>
11 11  
... ... @@ -22,8 +22,7 @@
22 22   </ul>
23 23  
24 24   <div class="hero-actions">
25 - <a class="btn btn-primary" href="$freeXWikiReviewCallURL">$freeXWikiReviewCallLabel</a>
26 - ##<a class="btn btn-primary" href="$xwiki.getURL('contact.WebHome')">Request a consultation</a>
23 + <a class="btn btn-primary" href="$xwiki.getURL('contact.WebHome')">Request a consultation</a>
27 27   <a class="btn btn-secondary" href="$xwiki.getURL('services.WebHome')">View XWiki services</a>
28 28   </div>
29 29   </div>
main-page-hero.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Admin
Size
... ... @@ -1,1 +1,0 @@
1 -1.1 MB
Content
XWiki.StyleSheetExtension[0]
code
... ... @@ -167,7 +167,8 @@
167 167  
168 168  .hero {
169 169   overflow: hidden;
170 - position: relative;
170 + background-repeat: no-repeat;
171 + background-attachment: scroll;
171 171  
172 172   &.hero-centered {
173 173   text-align: center;
... ... @@ -180,51 +180,6 @@
180 180   min-height: 330px;
181 181   }
182 182  
183 - &.main-page-hero {
184 - background:
185 -
186 - url('/bin/download/PublicWebSite/WebHome/main-page-hero.png') center center / cover no-repeat;
187 -
188 - &::before,
189 - &::after {
190 - content: "";
191 - position: absolute;
192 - pointer-events: none;
193 - z-index: 1;
194 - }
195 -
196 - /* Fade left and right image edges into the page background */
197 - &::before {
198 - inset: 0;
199 - background:
200 - linear-gradient(
201 - 90deg,
202 - #fff 0%,
203 - rgba(255, 255, 255, 0) 13%,
204 - rgba(255, 255, 255, 0) 87%,
205 - #fff 100%
206 - );
207 - }
208 -
209 - /* Fade bottom edge into white before the next section */
210 - &::after {
211 - left: 0;
212 - right: 0;
213 - bottom: 0;
214 - height: 90px;
215 - background: linear-gradient(
216 - 180deg,
217 - rgba(255, 255, 255, 0) 0%,
218 - #fff 100%
219 - );
220 - }
221 -
222 - .hero-inner {
223 - position: relative;
224 - z-index: 2;
225 - }
226 - }
227 -
228 228   .hero-inner {
229 229   max-width: 860px;
230 230   margin: 0 auto;
... ... @@ -834,15 +834,6 @@
834 834   min-height: 280px;
835 835   }
836 836  
837 - .hero.main-page-hero {
838 - background:
839 - linear-gradient(
840 - rgba(244, 252, 250, 0.92),
841 - rgba(255, 255, 255, 0.97)
842 - ),
843 - url('/bin/download/PublicWebSite/WebHome/main-page-hero.png') center center / cover no-repeat;
844 - }
845 -
846 846   .hero {
847 847   .lead {
848 848   font-size: 17px;
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,6 +1,21 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  /* Top-level menu items */
3 +@brand: #00937D;
4 +@brand-strong: #007B6A;
5 +@brand-soft: #E7FFF8;
6 +@brand-bg: #F4FCFA;
7 +@text: #2D3A34;
8 +@muted: #5B6B64;
9 +@line: #E4ECE9;
10 +@radius: 16px;
11 +@shadow-sm: 0 6px 20px rgba(0, 0, 0, .06);
12 +@shadow: 0 12px 36px rgba(0, 0, 0, .08);
13 +@maxw: 1140px;
3 3  
15 +@section-padding: 30px 0;
16 +@section-padding-mobile: 28px 0;
17 +
18 +
4 4  #menuview .agnease-menu-item,
5 5  #menuview .agnease-menu-link {
6 6   > a,
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