Changes for page Public Web Site

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

From version 13.16
edited by Agnease
on 2026/05/26 11:08
Change comment: There is no comment for this version
To version 18.2
edited by Agnease
on 2026/05/28 10:30
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,9 +1,11 @@
1 +{{include reference="PublicWebSite.MacrosAndVariables" /}}
2 +
1 1  {{velocity}}
2 2  #macro (displayPublicContent)
3 3   #set ($discard = $xwiki.ssx.use('PublicWebSite.WebHome'))
4 4   {{html clean="false"}}
5 5  
6 - <section class="hero hero-centered" aria-labelledby="hero-title">
8 + <section class="hero hero-centered main-page-hero" aria-labelledby="hero-title">
7 7   <div class="container hero-inner">
8 8   <h1 id="hero-title">Professional XWiki consulting and engineering</h1>
9 9  
... ... @@ -20,7 +20,8 @@
20 20   </ul>
21 21  
22 22   <div class="hero-actions">
23 - <a class="btn btn-primary" href="$xwiki.getURL('contact.WebHome')">Request a consultation</a>
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>
24 24   <a class="btn btn-secondary" href="$xwiki.getURL('services.WebHome')">View XWiki services</a>
25 25   </div>
26 26   </div>
main-page-hero.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Admin
Size
... ... @@ -1,0 +1,1 @@
1 +1.0 MB
Content
XWiki.StyleSheetExtension[0]
code
... ... @@ -167,9 +167,9 @@
167 167  
168 168  .hero {
169 169   overflow: hidden;
170 - background-repeat: no-repeat;
171 - background-attachment: scroll;
172 172  
171 + overflow: hidden;
172 +
173 173   &.hero-centered {
174 174   text-align: center;
175 175   background:
... ... @@ -181,6 +181,15 @@
181 181   min-height: 330px;
182 182   }
183 183  
184 + &.main-page-hero {
185 + background:
186 + linear-gradient(
187 + rgba(244, 252, 250, 0.40),
188 + rgba(255, 255, 255, 0.30)
189 + ),
190 + url('/bin/download/PublicWebSite/WebHome/main-page-hero.png') center center / cover no-repeat;
191 + }
192 +
184 184   .hero-inner {
185 185   max-width: 860px;
186 186   margin: 0 auto;
... ... @@ -727,19 +727,16 @@
727 727  @media (max-width: 767px) {
728 728   .resource-inline-cta {
729 729   display: block;
739 + text-align: center;
730 730  
731 731   p {
732 732   margin-bottom: 14px;
733 733   }
734 - }
735 -}
736 736  
737 -@media (max-width: 767px) {
738 - .resource-inline-cta {
739 - display: block;
740 -
741 - p {
742 - margin-bottom: 14px;
745 + .btn {
746 + display: inline-block;
747 + margin-left: auto;
748 + margin-right: auto;
743 743   }
744 744   }
745 745  }
... ... @@ -793,6 +793,15 @@
793 793   min-height: 280px;
794 794   }
795 795  
802 + .hero.main-page-hero {
803 + background:
804 + linear-gradient(
805 + rgba(244, 252, 250, 0.92),
806 + rgba(255, 255, 255, 0.97)
807 + ),
808 + url('/bin/download/PublicWebSite/WebHome/main-page-hero.png') center center / cover no-repeat;
809 + }
810 +
796 796   .hero {
797 797   .lead {
798 798   font-size: 17px;
XWiki.XWikiRights[0]
allow
... ... @@ -1,1 +1,0 @@
1 -Allow
groups
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiAllGroup
levels
... ... @@ -1,1 +1,0 @@
1 -view
users
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest