Add Westgate global footer (#8)
## Summary - add the global Westgate footer partial under `templates/partials/footer/` - import scoped footer styles from `theme.scss` - include the footer design spec and powered-by HTML/CSS references - add a contract test for the footer integration and required links ## Verification - `node tests/global-footer-contract.test.js` - `node tests/global-topbar-contract.test.js` - `for test in tests/*.test.js; do node "$test"; done` - `npm test --if-present` - `git diff --check` Reviewed-on: #8 Co-authored-by: vickydotbat <vickydotbat@tutamail.com> Co-committed-by: vickydotbat <vickydotbat@tutamail.com>
This commit was merged in pull request #8.
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
<footer class="wg-footer" aria-label="Shadows Over Westgate footer">
|
||||
<div class="wg-footer__inner">
|
||||
<section class="wg-footer__brand" aria-labelledby="wg-footer-title">
|
||||
<div class="wg-footer__brand-row">
|
||||
<span class="wg-footer__mark" aria-hidden="true"><span></span></span>
|
||||
<h2 class="wg-footer__title" id="wg-footer-title">{config.siteTitle}</h2>
|
||||
</div>
|
||||
<p class="wg-footer__description">
|
||||
A Neverwinter Nights: Enhanced Edition persistent world of gothic intrigue, set in the Forgotten Realms port city of Westgate.
|
||||
</p>
|
||||
<p class="wg-footer__motto">Mind the shadows.</p>
|
||||
</section>
|
||||
|
||||
<nav class="wg-footer__nav" aria-label="Explore">
|
||||
<h2 class="wg-footer__heading">Explore</h2>
|
||||
<ul class="wg-footer__links">
|
||||
<li><a href="{relative_path}/">Home</a></li>
|
||||
<li><a href="{relative_path}/category/1/news">News</a></li>
|
||||
<li><a href="{relative_path}/gallery">Gallery</a></li>
|
||||
<li><a href="{relative_path}/category/84/developer-blog">Dev Blog</a></li>
|
||||
<li><a href="{relative_path}/join-the-team">Join the Team</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<nav class="wg-footer__nav" aria-label="Community">
|
||||
<h2 class="wg-footer__heading">Community</h2>
|
||||
<ul class="wg-footer__links">
|
||||
<li><a href="{relative_path}/categories">Forums</a></li>
|
||||
<li><a href="{relative_path}/wiki">Wiki</a></li>
|
||||
<li><a href="{relative_path}/register">Register</a></li>
|
||||
<li><a href="{relative_path}/wiki">How to Join</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="wg-footer__meta">
|
||||
<p>© 2026 Shadows Over Westgate · A NWN:EE Persistent World</p>
|
||||
<p>Forgotten Realms · Westgate · Sea of Fallen Stars</p>
|
||||
</div>
|
||||
|
||||
<div class="wg-footer__powered-by" aria-label="Platform credits">
|
||||
<a
|
||||
class="wg-footer__powered-pill"
|
||||
href="https://nodebb.org"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
aria-label="Powered by NodeBB"
|
||||
>
|
||||
<span class="wg-footer__powered-label">Powered by</span>
|
||||
<span class="wg-footer__powered-name">NodeBB</span>
|
||||
</a>
|
||||
<a
|
||||
class="wg-footer__powered-pill"
|
||||
href="https://tiptap.dev"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
aria-label="Powered by Tiptap"
|
||||
>
|
||||
<span class="wg-footer__powered-label">Powered by</span>
|
||||
<span class="wg-footer__powered-name">Tiptap</span>
|
||||
</a>
|
||||
</div>
|
||||
</footer>
|
||||
Reference in New Issue
Block a user