Changes for page Public Web Site
Last modified by Agnease on 2026/05/30 16:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
-
Objects (1 modified, 0 added, 1 removed)
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,8 +167,7 @@ 167 167 168 168 .hero { 169 169 overflow: hidden; 170 - background-repeat: no-repeat; 171 - background-attachment: scroll; 170 + position: relative; 172 172 173 173 &.hero-centered { 174 174 text-align: center; ... ... @@ -181,6 +181,54 @@ 181 181 min-height: 330px; 182 182 } 183 183 183 + &.main-page-hero { 184 + background: 185 + linear-gradient( 186 + rgba(244, 252, 250, 0.50), 187 + rgba(255, 255, 255, 0.60) 188 + ), 189 + url('/bin/download/PublicWebSite/WebHome/main-page-hero.png') center center / cover no-repeat; 190 + 191 + &::before, 192 + &::after { 193 + content: ""; 194 + position: absolute; 195 + pointer-events: none; 196 + z-index: 1; 197 + } 198 + 199 + /* Fade left and right image edges into the page background */ 200 + &::before { 201 + inset: 0; 202 + background: 203 + linear-gradient( 204 + 90deg, 205 + #fff 0%, 206 + rgba(255, 255, 255, 0) 13%, 207 + rgba(255, 255, 255, 0) 87%, 208 + #fff 100% 209 + ); 210 + } 211 + 212 + /* Fade bottom edge into white before the next section */ 213 + &::after { 214 + left: 0; 215 + right: 0; 216 + bottom: 0; 217 + height: 90px; 218 + background: linear-gradient( 219 + 180deg, 220 + rgba(255, 255, 255, 0) 0%, 221 + #fff 100% 222 + ); 223 + } 224 + 225 + .hero-inner { 226 + position: relative; 227 + z-index: 2; 228 + } 229 + } 230 + 184 184 .hero-inner { 185 185 max-width: 860px; 186 186 margin: 0 auto; ... ... @@ -698,19 +698,49 @@ 698 698 } 699 699 700 700 .resource-inline-cta { 701 - margin: 28px 0; 702 - padding: 18px 20px; 748 + display: flex; 749 + align-items: center; 750 + justify-content: space-between; 751 + gap: 22px; 752 + margin: 30px 0; 753 + padding: 20px 22px; 703 703 border: 1px solid fade(@brand, 22%); 704 704 border-radius: @radius; 705 - background: #fff;756 + background: @brand-bg; 706 706 box-shadow: @shadow-sm; 707 707 708 708 p { 709 - margin: 0 0 14px;760 + margin: 0; 710 710 color: @muted; 762 + line-height: 1.55; 711 711 } 764 + 765 + strong { 766 + color: @text; 767 + } 768 + 769 + .btn { 770 + flex-shrink: 0; 771 + } 712 712 } 713 713 774 +@media (max-width: 767px) { 775 + .resource-inline-cta { 776 + display: block; 777 + text-align: center; 778 + 779 + p { 780 + margin-bottom: 14px; 781 + } 782 + 783 + .btn { 784 + display: inline-block; 785 + margin-left: auto; 786 + margin-right: auto; 787 + } 788 + } 789 +} 790 + 714 714 /* ========== Responsive ========== */ 715 715 716 716 @media (max-width: 980px) { ... ... @@ -760,6 +760,15 @@ 760 760 min-height: 280px; 761 761 } 762 762 840 + .hero.main-page-hero { 841 + background: 842 + linear-gradient( 843 + rgba(244, 252, 250, 0.92), 844 + rgba(255, 255, 255, 0.97) 845 + ), 846 + url('/bin/download/PublicWebSite/WebHome/main-page-hero.png') center center / cover no-repeat; 847 + } 848 + 763 763 .hero { 764 764 .lead { 765 765 font-size: 17px; ... ... @@ -947,8 +947,14 @@ 947 947 } 948 948 949 949 .resource-cta { 950 - margin-top: 36px; 951 - padding: 22px; 1036 + display: flex; 1037 + flex-direction: column; 1038 + align-items: center; 1039 + text-align: center; 1040 + 1041 + max-width: 820px; 1042 + margin: 42px auto 0; 1043 + padding: 28px 30px; 952 952 border: 1px solid fade(@brand, 20%); 953 953 border-radius: @radius; 954 954 background: @brand-bg; ... ... @@ -955,11 +955,19 @@ 955 955 956 956 h3 { 957 957 margin-top: 0; 1050 + margin-bottom: 10px; 958 958 } 959 959 960 960 p { 1054 + max-width: 680px; 1055 + margin-left: auto; 1056 + margin-right: auto; 961 961 color: @muted; 962 962 } 1059 + 1060 + .btn { 1061 + margin-top: 8px; 1062 + } 963 963 } 964 964 965 965 .resource-note, ... ... @@ -968,6 +968,12 @@ 968 968 display: flow-root; 969 969 } 970 970 1071 +@media (max-width: 767px) { 1072 + .resource-cta { 1073 + padding: 24px 20px; 1074 + } 1075 +} 1076 + 971 971 @media (max-width: 900px) { 972 972 .resource-layout { 973 973 padding-top: 22px;
- 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