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, 0 added, 1 removed)
-
Objects (1 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,11 +3,9 @@ 1 -{{include reference="PublicWebSite.MacrosAndVariables" /}} 2 - 3 3 {{velocity}} 4 4 #macro (displayPublicContent) 5 5 #set ($discard = $xwiki.ssx.use('PublicWebSite.WebHome')) 6 6 {{html clean="false"}} 7 7 8 - <section class="hero hero-centered main-page-hero" aria-labelledby="hero-title">6 + <section class="hero hero-centered" aria-labelledby="hero-title"> 9 9 <div class="container hero-inner"> 10 10 <h1 id="hero-title">Professional XWiki consulting and engineering</h1> 11 11 ... ... @@ -22,8 +22,7 @@ 22 22 </ul> 23 23 24 24 <div class="hero-actions"> 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> 23 + <a class="btn btn-primary" href="$xwiki.getURL('contact.WebHome')">Request a consultation</a> 27 27 <a class="btn btn-secondary" href="$xwiki.getURL('services.WebHome')">View XWiki services</a> 28 28 </div> 29 29 </div>
- main-page-hero.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Admin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -959.7 KB - Content
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -167,6 +167,8 @@ 167 167 168 168 .hero { 169 169 overflow: hidden; 170 + background-repeat: no-repeat; 171 + background-attachment: scroll; 170 170 171 171 &.hero-centered { 172 172 text-align: center; ... ... @@ -179,15 +179,6 @@ 179 179 min-height: 330px; 180 180 } 181 181 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 - 191 191 .hero-inner { 192 192 max-width: 860px; 193 193 margin: 0 auto; ... ... @@ -597,6 +597,31 @@ 597 597 } 598 598 } 599 599 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 + 600 600 /* ========== Homepage Resource Strip ========== */ 601 601 602 602 .homepage-resource-strip { ... ... @@ -704,50 +704,6 @@ 704 704 } 705 705 } 706 706 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 - 751 751 /* ========== Responsive ========== */ 752 752 753 753 @media (max-width: 980px) { ... ... @@ -797,15 +797,6 @@ 797 797 min-height: 280px; 798 798 } 799 799 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 - 809 809 .hero { 810 810 .lead { 811 811 font-size: 17px; ... ... @@ -879,18 +879,15 @@ 879 879 } 880 880 881 881 .resource-layout { 882 - display: block; 847 + display: grid; 848 + grid-template-columns: minmax(0, 760px) 280px; 849 + gap: 42px; 883 883 max-width: 1080px; 884 884 margin: 0 auto; 885 885 padding-top: 28px; 853 + align-items: start; 886 886 } 887 887 888 -.resource-layout::after { 889 - content: ""; 890 - display: block; 891 - clear: both; 892 -} 893 - 894 894 .resource-content { 895 895 color: @text; 896 896 font-size: 16px; ... ... @@ -960,10 +960,6 @@ 960 960 } 961 961 962 962 .resource-sidebar { 963 - float: right; 964 - width: 280px; 965 - margin-left: 42px; 966 - margin-bottom: 28px; 967 967 position: sticky; 968 968 top: 96px; 969 969 border: 1px solid @line; ... ... @@ -993,14 +993,8 @@ 993 993 } 994 994 995 995 .resource-cta { 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; 954 + margin-top: 36px; 955 + padding: 22px; 1004 1004 border: 1px solid fade(@brand, 20%); 1005 1005 border-radius: @radius; 1006 1006 background: @brand-bg; ... ... @@ -1007,43 +1007,20 @@ 1007 1007 1008 1008 h3 { 1009 1009 margin-top: 0; 1010 - margin-bottom: 10px; 1011 1011 } 1012 1012 1013 1013 p { 1014 - max-width: 680px; 1015 - margin-left: auto; 1016 - margin-right: auto; 1017 1017 color: @muted; 1018 1018 } 1019 - 1020 - .btn { 1021 - margin-top: 8px; 1022 - } 1023 1023 } 1024 1024 1025 -.resource-note, 1026 -.resource-checklist, 1027 -.resource-cta { 1028 - display: flow-root; 1029 -} 1030 - 1031 -@media (max-width: 767px) { 1032 - .resource-cta { 1033 - padding: 24px 20px; 1034 - } 1035 -} 1036 - 1037 1037 @media (max-width: 900px) { 1038 1038 .resource-layout { 971 + grid-template-columns: 1fr; 1039 1039 padding-top: 22px; 1040 1040 } 1041 1041 1042 1042 .resource-sidebar { 1043 - float: none; 1044 - width: 100%; 1045 - margin-left: 0; 1046 - margin-bottom: 24px; 1047 1047 position: static; 1048 1048 } 1049 1049 } ... ... @@ -1307,41 +1307,41 @@ 1307 1307 } 1308 1308 1309 1309 /* ========== Resources Index ========== */ 1310 - 1311 1311 .resources-index-page { 1312 1312 background: #fff; 1313 1313 1314 - .services-grid { 1242 + /* Resources index: show cards in rows of 2, center the last one if alone */ 1243 + .resources-grid { 1244 + display: grid; 1315 1315 grid-template-columns: repeat(2, minmax(0, 1fr)); 1246 + justify-content: center; 1247 + align-items: stretch; 1316 1316 } 1317 -} 1318 1318 1319 -@media (max-width: 980px) { 1320 - .resources-index-page { 1321 - .services-grid { 1322 - grid-template-columns: 1fr; 1323 - } 1250 + .resources-grid .resource-card { 1251 + height: 100%; 1324 1324 } 1253 + 1254 + .resources-grid .resource-card:last-child:nth-child(odd) { 1255 + grid-column: 1 / -1; 1256 + max-width: calc(50% - 12px); 1257 + justify-self: center; 1258 + } 1325 1325 } 1326 1326 1261 +/* Keep 2 columns on tablets. Only switch to 1 column on smaller mobile screens. */ 1327 1327 @media (max-width: 767px) { 1328 1328 .resources-index-page { 1329 1329 padding: @section-padding-mobile; 1330 - } 1331 -} 1332 1332 1333 -.resource- faq-item{1334 - border-bottom: 1px solid @line;1335 - padding:12px0;1266 + .resources-grid { 1267 + grid-template-columns: 1fr; 1268 + } 1336 1336 1337 - summary { 1338 - cursor: pointer; 1339 - font-weight: 700; 1340 - color: @text; 1270 + .resources-grid .resource-card:last-child:nth-child(odd) { 1271 + grid-column: auto; 1272 + max-width: none; 1273 + justify-self: stretch; 1274 + } 1341 1341 } 1342 - 1343 - p { 1344 - margin: 10px 0 4px; 1345 - color: @muted; 1346 - } 1347 1347 }
- XWiki.XWikiRights[0]
-
- allow
-
... ... @@ -1,0 +1,1 @@ 1 +Allow - groups
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiAllGroup - levels
-
... ... @@ -1,0 +1,1 @@ 1 +view - users
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest