Changes for page Home
Last modified by Isaac Mejia on 2025/12/15 18:27
From version 3.1
edited by Isaac Mejia
on 2025/11/20 20:18
on 2025/11/20 20:18
Change comment:
There is no comment for this version
To version 7.1
edited by Isaac Mejia
on 2025/12/05 16:27
on 2025/12/05 16:27
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,15 +1,82 @@ 1 -{{html wiki="true"}} 2 -<div class="kb-hero"> 3 - <h1 class="kb-hero-title">Resources to run your business</h1> 4 - <p class="kb-hero-subtitle"> 5 - Browse how-to guides, best practices, and troubleshooting articles. 6 - </p> 7 - #set($searchDoc = 'Main.WebSearch') 8 - <form class="kb-hero-search" method="get" action="$xwiki.getURL($searchDoc)"> 9 - <input type="text" name="text" placeholder="Search for articles..." /> 10 - </form> 11 -</div> 1 +{{velocity}} 2 +## KB Home (Main.WebHome) 12 12 13 -<!-- rest of sections / cards / CTA here --> 4 +## Optionally, you can centralize your category list here. 5 +## Each entry: [ "Label", "SpaceName", "Short description" ] 6 +#set ($kbCategories = [ 7 + ["Member Management", "Member Management", "How to manage members, families, and profiles."], 8 + ["Configuration", "Configuration", "Set up locations, billing, and core system settings."], 9 + ["Billing & Payments", "Billing", "Invoices, collections, and payment processing."], 10 + ["Reporting & Analytics", "Reporting", "Understand your numbers and performance."], 11 + ["Integrations", "Integrations", "Connect eFit with other tools in your stack."] 12 +]) 14 14 14 +{{html clean="false"}} 15 +<div class="kb-home"> 16 + 17 + <!-- HERO --> 18 + <div class="kb-hero"> 19 + <h1 class="kb-hero-title">Member Solutions Knowledge Base</h1> 20 + <p class="kb-hero-subtitle"> 21 + Guides, walkthroughs, and best practices to help you and your team get the most out of the platform. 22 + </p> 23 + 24 + <!-- Simple search box that posts to XWiki search --> 25 + <div class="kb-hero-search"> 26 + <form action="$xwiki.getURL('Main.WebHome', 'view')" method="get"> 27 + <input 28 + type="text" 29 + name="text" 30 + placeholder="Search for an article (e.g. "family membership")" 31 + /> 32 + </form> 33 + </div> 34 + </div> 35 + 36 + <!-- CATEGORY GRID --> 37 + <div class="kb-section"> 38 + <h2 class="kb-section-title">Browse by category</h2> 39 + 40 + <div class="kb-category-grid"> 41 + #foreach ($cat in $kbCategories) 42 + #set ($label = $cat.get(0)) 43 + #set ($spaceName = $cat.get(1)) 44 + #set ($desc = $cat.get(2)) 45 + 46 + ## Category page lives at Main.<Label>.WebHome (same pattern as our uploader) 47 + #set ($label = $cat.get(0)) 48 +#set ($spaceName = $cat.get(1)) 49 +#set ($desc = $cat.get(2)) 50 + 51 +#set ($encoded = $escapetool.url($spaceName)) 52 +#set ($cleanUrl = "/bin/view/Main/$encoded") 53 + 54 +<a class="kb-card" href="$cleanUrl"> 55 + <div> 56 + <div class="kb-card-title">$escapetool.xml($label)</div> 57 + <div class="kb-card-body"> 58 + $escapetool.xml($desc) 59 + </div> 60 + </div> 61 + <div class="kb-card-meta">Category</div> 62 +</a> 63 + #end 64 + </div> 65 + </div> 66 + 67 + <!-- BOTTOM CTA --> 68 + <div class="kb-cta"> 69 + <div class="kb-cta-content"> 70 + <h2>Still need help?</h2> 71 + <p> 72 + If you can’t find what you’re looking for, our support team is happy to help. 73 + </p> 74 + </div> 75 + <a href="mailto:support@membersolutions.com" class="kb-cta-button"> 76 + Contact Support 77 + </a> 78 + </div> 79 + 80 +</div> 15 15 {{/html}} 82 +{{/velocity}}