Changes for page Public Web Site

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

From version 16.8
edited by Agnease
on 2026/05/28 10:23
Change comment: There is no comment for this version
To version 13.13
edited by Agnease
on 2026/05/26 10:53
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 -959.7 KB
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;
170 170  
171 - overflow: hidden;
172 -
173 173   &.hero-centered {
174 174   text-align: center;
175 175   background:
... ... @@ -181,15 +181,6 @@
181 181   min-height: 330px;
182 182   }
183 183  
184 - &.main-page-hero {
185 - background:
186 - linear-gradient(
187 - rgba(244, 252, 250, 0.82),
188 - rgba(255, 255, 255, 0.90)
189 - ),
190 - url('/bin/download/PublicWebSite/WebHome/main-page-hero.png') center center / cover no-repeat;
191 - }
192 -
193 193   .hero-inner {
194 194   max-width: 860px;
195 195   margin: 0 auto;
... ... @@ -707,10 +707,7 @@
707 707  }
708 708  
709 709  .resource-inline-cta {
710 - display: flex;
711 - align-items: center;
712 - justify-content: space-between;
713 - gap: 22px;
701 + display: flow-root;
714 714   margin: 30px 0;
715 715   padding: 20px 22px;
716 716   border: 1px solid fade(@brand, 22%);
... ... @@ -717,9 +717,10 @@
717 717   border-radius: @radius;
718 718   background: @brand-bg;
719 719   box-shadow: @shadow-sm;
708 + max-width: 820px;
720 720  
721 721   p {
722 - margin: 0;
711 + margin: 0 0 14px;
723 723   color: @muted;
724 724   line-height: 1.55;
725 725   }
... ... @@ -729,27 +729,10 @@
729 729   }
730 730  
731 731   .btn {
732 - flex-shrink: 0;
721 + margin-top: 2px;
733 733   }
734 734  }
735 735  
736 -@media (max-width: 767px) {
737 - .resource-inline-cta {
738 - display: block;
739 - text-align: center;
740 -
741 - p {
742 - margin-bottom: 14px;
743 - }
744 -
745 - .btn {
746 - display: inline-block;
747 - margin-left: auto;
748 - margin-right: auto;
749 - }
750 - }
751 -}
752 -
753 753  /* ========== Responsive ========== */
754 754  
755 755  @media (max-width: 980px) {
... ... @@ -799,15 +799,6 @@
799 799   min-height: 280px;
800 800   }
801 801  
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 -
811 811   .hero {
812 812   .lead {
813 813   font-size: 17px;
... ... @@ -995,14 +995,8 @@
995 995  }
996 996  
997 997  .resource-cta {
998 - display: flex;
999 - flex-direction: column;
1000 - align-items: center;
1001 - text-align: center;
1002 -
1003 - max-width: 820px;
1004 - margin: 42px auto 0;
1005 - padding: 28px 30px;
961 + margin-top: 36px;
962 + padding: 22px;
1006 1006   border: 1px solid fade(@brand, 20%);
1007 1007   border-radius: @radius;
1008 1008   background: @brand-bg;
... ... @@ -1009,19 +1009,11 @@
1009 1009  
1010 1010   h3 {
1011 1011   margin-top: 0;
1012 - margin-bottom: 10px;
1013 1013   }
1014 1014  
1015 1015   p {
1016 - max-width: 680px;
1017 - margin-left: auto;
1018 - margin-right: auto;
1019 1019   color: @muted;
1020 1020   }
1021 -
1022 - .btn {
1023 - margin-top: 8px;
1024 - }
1025 1025  }
1026 1026  
1027 1027  .resource-note,
... ... @@ -1030,12 +1030,6 @@
1030 1030   display: flow-root;
1031 1031  }
1032 1032  
1033 -@media (max-width: 767px) {
1034 - .resource-cta {
1035 - padding: 24px 20px;
1036 - }
1037 -}
1038 -
1039 1039  @media (max-width: 900px) {
1040 1040   .resource-layout {
1041 1041   padding-top: 22px;
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