Changes for page Public Web Site

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

From version 13.8
edited by Agnease
on 2026/05/26 09:06
Change comment: There is no comment for this version
To version 16.6
edited by Agnease
on 2026/05/28 10:20
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 +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;
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.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 +
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  
709 +.resource-inline-cta {
710 + display: flex;
711 + align-items: center;
712 + justify-content: space-between;
713 + gap: 22px;
714 + margin: 30px 0;
715 + padding: 20px 22px;
716 + border: 1px solid fade(@brand, 22%);
717 + border-radius: @radius;
718 + background: @brand-bg;
719 + box-shadow: @shadow-sm;
720 +
721 + p {
722 + margin: 0;
723 + color: @muted;
724 + line-height: 1.55;
725 + }
726 +
727 + strong {
728 + color: @text;
729 + }
730 +
731 + .btn {
732 + flex-shrink: 0;
733 + }
734 +}
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 +
725 725  /* ========== Responsive ========== */
726 726  
727 727  @media (max-width: 980px) {
... ... @@ -771,6 +771,15 @@
771 771   min-height: 280px;
772 772   }
773 773  
802 + .hero.main-page-hero {
803 + background:
804 + linear-gradient(
805 + rgba(244, 252, 250, 0.98),
806 + rgba(255, 255, 255, 1)
807 + ),
808 + url('https://agnease.com/bin/download/PublicWebSite/WebHome/main-page-hero.png?rev=1.1') center center / cover no-repeat;
809 + }
810 +
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;
884 + 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  
890 +.resource-layout::after {
891 + content: "";
892 + display: block;
893 + clear: both;
894 +}
895 +
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 {
965 + float: right;
966 + width: 280px;
967 + margin-left: 42px;
968 + 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;
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;
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;
1012 + margin-bottom: 10px;
962 962   }
963 963  
964 964   p {
1016 + max-width: 680px;
1017 + margin-left: auto;
1018 + margin-right: auto;
965 965   color: @muted;
966 966   }
1021 +
1022 + .btn {
1023 + margin-top: 8px;
1024 + }
967 967  }
968 968  
1027 +.resource-note,
1028 +.resource-checklist,
1029 +.resource-cta {
1030 + display: flow-root;
1031 +}
1032 +
1033 +@media (max-width: 767px) {
1034 + .resource-cta {
1035 + padding: 24px 20px;
1036 + }
1037 +}
1038 +
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 {
1045 + float: none;
1046 + width: 100%;
1047 + margin-left: 0;
1048 + 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  }
1334 +
1335 +.resource-faq-item {
1336 + border-bottom: 1px solid @line;
1337 + padding: 12px 0;
1338 +
1339 + summary {
1340 + cursor: pointer;
1341 + font-weight: 700;
1342 + color: @text;
1343 + }
1344 +
1345 + p {
1346 + margin: 10px 0 4px;
1347 + color: @muted;
1348 + }
1349 +}
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