Changes for page Public Web Site

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

From version 13.10
edited by Agnease
on 2026/05/26 09:43
Change comment: There is no comment for this version
To version 16.2
edited by Agnease
on 2026/05/28 10:14
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,8 +167,6 @@
167 167  
168 168  .hero {
169 169   overflow: hidden;
170 - background-repeat: no-repeat;
171 - background-attachment: scroll;
172 172  
173 173   &.hero-centered {
174 174   text-align: center;
... ... @@ -181,6 +181,15 @@
181 181   min-height: 330px;
182 182   }
183 183  
182 + &.main-page-hero {
183 + background:
184 + linear-gradient(
185 + rgba(244, 252, 250, 0.94),
186 + rgba(255, 255, 255, 0.97)
187 + ),
188 + url('/path/to/agnease-hero-bg.png') center center / cover no-repeat;
189 + }
190 +
184 184   .hero-inner {
185 185   max-width: 860px;
186 186   margin: 0 auto;
... ... @@ -697,6 +697,50 @@
697 697   }
698 698  }
699 699  
707 +.resource-inline-cta {
708 + display: flex;
709 + align-items: center;
710 + justify-content: space-between;
711 + gap: 22px;
712 + margin: 30px 0;
713 + padding: 20px 22px;
714 + border: 1px solid fade(@brand, 22%);
715 + border-radius: @radius;
716 + background: @brand-bg;
717 + box-shadow: @shadow-sm;
718 +
719 + p {
720 + margin: 0;
721 + color: @muted;
722 + line-height: 1.55;
723 + }
724 +
725 + strong {
726 + color: @text;
727 + }
728 +
729 + .btn {
730 + flex-shrink: 0;
731 + }
732 +}
733 +
734 +@media (max-width: 767px) {
735 + .resource-inline-cta {
736 + display: block;
737 + text-align: center;
738 +
739 + p {
740 + margin-bottom: 14px;
741 + }
742 +
743 + .btn {
744 + display: inline-block;
745 + margin-left: auto;
746 + margin-right: auto;
747 + }
748 + }
749 +}
750 +
700 700  /* ========== Responsive ========== */
701 701  
702 702  @media (max-width: 980px) {
... ... @@ -746,6 +746,15 @@
746 746   min-height: 280px;
747 747   }
748 748  
800 + .hero.main-page-hero {
801 + background:
802 + linear-gradient(
803 + rgba(244, 252, 250, 0.98),
804 + rgba(255, 255, 255, 1)
805 + ),
806 + url('https://agnease.com/bin/download/PublicWebSite/WebHome/main-page-hero.png?rev=1.1') center center / cover no-repeat;
807 + }
808 +
749 749   .hero {
750 750   .lead {
751 751   font-size: 17px;
... ... @@ -933,8 +933,14 @@
933 933  }
934 934  
935 935  .resource-cta {
936 - margin-top: 36px;
937 - padding: 22px;
996 + display: flex;
997 + flex-direction: column;
998 + align-items: center;
999 + text-align: center;
1000 +
1001 + max-width: 820px;
1002 + margin: 42px auto 0;
1003 + padding: 28px 30px;
938 938   border: 1px solid fade(@brand, 20%);
939 939   border-radius: @radius;
940 940   background: @brand-bg;
... ... @@ -941,11 +941,19 @@
941 941  
942 942   h3 {
943 943   margin-top: 0;
1010 + margin-bottom: 10px;
944 944   }
945 945  
946 946   p {
1014 + max-width: 680px;
1015 + margin-left: auto;
1016 + margin-right: auto;
947 947   color: @muted;
948 948   }
1019 +
1020 + .btn {
1021 + margin-top: 8px;
1022 + }
949 949  }
950 950  
951 951  .resource-note,
... ... @@ -954,6 +954,12 @@
954 954   display: flow-root;
955 955  }
956 956  
1031 +@media (max-width: 767px) {
1032 + .resource-cta {
1033 + padding: 24px 20px;
1034 + }
1035 +}
1036 +
957 957  @media (max-width: 900px) {
958 958   .resource-layout {
959 959   padding-top: 22px;
... ... @@ -1249,3 +1249,19 @@
1249 1249   padding: @section-padding-mobile;
1250 1250   }
1251 1251  }
1332 +
1333 +.resource-faq-item {
1334 + border-bottom: 1px solid @line;
1335 + padding: 12px 0;
1336 +
1337 + summary {
1338 + cursor: pointer;
1339 + font-weight: 700;
1340 + color: @text;
1341 + }
1342 +
1343 + p {
1344 + margin: 10px 0 4px;
1345 + color: @muted;
1346 + }
1347 +}
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