Changes for page Public Web Site

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

From version 13.3
edited by Agnease
on 2026/05/23 18:54
Change comment: There is no comment for this version
To version 16.1
edited by Agnease
on 2026/05/28 10:09
Change comment: Upload new image "main-page-hero.png", version 1.1

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
... ... @@ -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  
700 +.resource-inline-cta {
701 + display: flex;
702 + align-items: center;
703 + justify-content: space-between;
704 + gap: 22px;
705 + margin: 30px 0;
706 + padding: 20px 22px;
707 + border: 1px solid fade(@brand, 22%);
708 + border-radius: @radius;
709 + background: @brand-bg;
710 + box-shadow: @shadow-sm;
711 +
712 + p {
713 + margin: 0;
714 + color: @muted;
715 + line-height: 1.55;
716 + }
717 +
718 + strong {
719 + color: @text;
720 + }
721 +
722 + .btn {
723 + flex-shrink: 0;
724 + }
725 +}
726 +
727 +@media (max-width: 767px) {
728 + .resource-inline-cta {
729 + display: block;
730 + text-align: center;
731 +
732 + p {
733 + margin-bottom: 14px;
734 + }
735 +
736 + .btn {
737 + display: inline-block;
738 + margin-left: auto;
739 + margin-right: auto;
740 + }
741 + }
742 +}
743 +
725 725  /* ========== Responsive ========== */
726 726  
727 727  @media (max-width: 980px) {
... ... @@ -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;
866 + 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  
872 +.resource-layout::after {
873 + content: "";
874 + display: block;
875 + clear: both;
876 +}
877 +
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 {
947 + float: right;
948 + width: 280px;
949 + margin-left: 42px;
950 + 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;
980 + display: flex;
981 + flex-direction: column;
982 + align-items: center;
983 + text-align: center;
984 +
985 + max-width: 820px;
986 + margin: 42px auto 0;
987 + 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;
994 + margin-bottom: 10px;
962 962   }
963 963  
964 964   p {
998 + max-width: 680px;
999 + margin-left: auto;
1000 + margin-right: auto;
965 965   color: @muted;
966 966   }
1003 +
1004 + .btn {
1005 + margin-top: 8px;
1006 + }
967 967  }
968 968  
1009 +.resource-note,
1010 +.resource-checklist,
1011 +.resource-cta {
1012 + display: flow-root;
1013 +}
1014 +
1015 +@media (max-width: 767px) {
1016 + .resource-cta {
1017 + padding: 24px 20px;
1018 + }
1019 +}
1020 +
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 {
1027 + float: none;
1028 + width: 100%;
1029 + margin-left: 0;
1030 + 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  }
1316 +
1317 +.resource-faq-item {
1318 + border-bottom: 1px solid @line;
1319 + padding: 12px 0;
1320 +
1321 + summary {
1322 + cursor: pointer;
1323 + font-weight: 700;
1324 + color: @text;
1325 + }
1326 +
1327 + p {
1328 + margin: 10px 0 4px;
1329 + color: @muted;
1330 + }
1331 +}
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