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.1 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,51 @@ 181 181 min-height: 330px; 182 182 } 183 183 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 + 184 184 .hero-inner { 185 185 max-width: 860px; 186 186 margin: 0 auto; ... ... @@ -590,31 +590,6 @@ 590 590 } 591 591 } 592 592 593 -.resource-content { 594 - order: 1; 595 -} 596 - 597 -.resource-sidebar { 598 - order: 2; 599 -} 600 - 601 -@media (max-width: 767px) { 602 - .resource-layout { 603 - display: flex; 604 - flex-direction: column; 605 - } 606 - 607 - .resource-sidebar { 608 - order: 0; 609 - position: static; 610 - width: 100%; 611 - } 612 - 613 - .resource-content { 614 - order: 1; 615 - } 616 -} 617 - 618 618 /* ========== Homepage Resource Strip ========== */ 619 619 620 620 .homepage-resource-strip { ... ... @@ -722,6 +722,50 @@ 722 722 } 723 723 } 724 724 744 +.resource-inline-cta { 745 + display: flex; 746 + align-items: center; 747 + justify-content: space-between; 748 + gap: 22px; 749 + margin: 30px 0; 750 + padding: 20px 22px; 751 + border: 1px solid fade(@brand, 22%); 752 + border-radius: @radius; 753 + background: @brand-bg; 754 + box-shadow: @shadow-sm; 755 + 756 + p { 757 + margin: 0; 758 + color: @muted; 759 + line-height: 1.55; 760 + } 761 + 762 + strong { 763 + color: @text; 764 + } 765 + 766 + .btn { 767 + flex-shrink: 0; 768 + } 769 +} 770 + 771 +@media (max-width: 767px) { 772 + .resource-inline-cta { 773 + display: block; 774 + text-align: center; 775 + 776 + p { 777 + margin-bottom: 14px; 778 + } 779 + 780 + .btn { 781 + display: inline-block; 782 + margin-left: auto; 783 + margin-right: auto; 784 + } 785 + } 786 +} 787 + 725 725 /* ========== Responsive ========== */ 726 726 727 727 @media (max-width: 980px) { ... ... @@ -771,6 +771,15 @@ 771 771 min-height: 280px; 772 772 } 773 773 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 + 774 774 .hero { 775 775 .lead { 776 776 font-size: 17px; ... ... @@ -844,15 +844,18 @@ 844 844 } 845 845 846 846 .resource-layout { 847 - display: grid; 848 - grid-template-columns: minmax(0, 760px) 280px; 849 - gap: 42px; 919 + display: block; 850 850 max-width: 1080px; 851 851 margin: 0 auto; 852 852 padding-top: 28px; 853 - align-items: start; 854 854 } 855 855 925 +.resource-layout::after { 926 + content: ""; 927 + display: block; 928 + clear: both; 929 +} 930 + 856 856 .resource-content { 857 857 color: @text; 858 858 font-size: 16px; ... ... @@ -922,6 +922,10 @@ 922 922 } 923 923 924 924 .resource-sidebar { 1000 + float: right; 1001 + width: 280px; 1002 + margin-left: 42px; 1003 + margin-bottom: 28px; 925 925 position: sticky; 926 926 top: 96px; 927 927 border: 1px solid @line; ... ... @@ -951,8 +951,14 @@ 951 951 } 952 952 953 953 .resource-cta { 954 - margin-top: 36px; 955 - padding: 22px; 1033 + display: flex; 1034 + flex-direction: column; 1035 + align-items: center; 1036 + text-align: center; 1037 + 1038 + max-width: 820px; 1039 + margin: 42px auto 0; 1040 + padding: 28px 30px; 956 956 border: 1px solid fade(@brand, 20%); 957 957 border-radius: @radius; 958 958 background: @brand-bg; ... ... @@ -959,20 +959,43 @@ 959 959 960 960 h3 { 961 961 margin-top: 0; 1047 + margin-bottom: 10px; 962 962 } 963 963 964 964 p { 1051 + max-width: 680px; 1052 + margin-left: auto; 1053 + margin-right: auto; 965 965 color: @muted; 966 966 } 1056 + 1057 + .btn { 1058 + margin-top: 8px; 1059 + } 967 967 } 968 968 1062 +.resource-note, 1063 +.resource-checklist, 1064 +.resource-cta { 1065 + display: flow-root; 1066 +} 1067 + 1068 +@media (max-width: 767px) { 1069 + .resource-cta { 1070 + padding: 24px 20px; 1071 + } 1072 +} 1073 + 969 969 @media (max-width: 900px) { 970 970 .resource-layout { 971 - grid-template-columns: 1fr; 972 972 padding-top: 22px; 973 973 } 974 974 975 975 .resource-sidebar { 1080 + float: none; 1081 + width: 100%; 1082 + margin-left: 0; 1083 + margin-bottom: 24px; 976 976 position: static; 977 977 } 978 978 } ... ... @@ -1258,3 +1258,19 @@ 1258 1258 padding: @section-padding-mobile; 1259 1259 } 1260 1260 } 1369 + 1370 +.resource-faq-item { 1371 + border-bottom: 1px solid @line; 1372 + padding: 12px 0; 1373 + 1374 + summary { 1375 + cursor: pointer; 1376 + font-weight: 700; 1377 + color: @text; 1378 + } 1379 + 1380 + p { 1381 + margin: 10px 0 4px; 1382 + color: @muted; 1383 + } 1384 +}
- 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