Website: use one navigation bar across pages

Co-Authored-By: OpenCode gpt-6.1-sol <noreply@opencode.ai>
This commit is contained in:
rdbtCVS
2026-10-25 01:40:39 +00:00
parent 947d65e64d
commit e820e9e1af
9 changed files with 50 additions and 105 deletions
+1 -41
View File
@@ -35,47 +35,7 @@
<body>
<a class="skip" href="#main">Skip to the content</a>
<header class="nav" id="top">
<div class="nav-inner">
<a class="nav-mark" href="#top" aria-label="Horizon, back to the top"><svg class="mark" viewBox="0 0 16 16" aria-hidden="true"><path class="mark-stem" d="M4 3h2v4H4zM10 3h2v4h-2z"/><path class="mark-low" d="M4 8h2v4H4zM10 8h2v4h-2z"/><path class="mark-line" d="M1 7h14v1H1z"/></svg>Horizon</a>
<nav class="nav-links" id="nav-links" aria-label="Sections">
<a href="#about">About</a>
<a href="#screenshots">In game</a>
<a href="#parity">Parity</a>
<a href="#launcher">Launcher</a>
<a href="#recent">New</a>
<a href="#community">Community</a>
<a href="/releases">Releases</a>
<a href="/benchmarks">Benchmarks</a>
<a href="/docs/">Docs</a>
</nav>
<div class="nav-end">
<button class="theme-toggle" type="button" aria-label="Switch between light and dark"><span data-theme-label>Dark</span></button>
<a class="nav-github" href="https://github.com/ludovic111/horizon">GitHub</a>
<a class="button primary small" data-download href="https://github.com/ludovic111/horizon/releases?q=launcher-v&amp;expanded=true">Download</a>
<button class="menu-button" type="button" aria-expanded="false" aria-controls="menu"><span class="menu-label">Menu</span><span class="menu-icon" aria-hidden="true"></span></button>
</div>
</div>
</header>
<div class="menu" id="menu" hidden>
<nav aria-label="Sections">
<a href="#about">About</a>
<a href="#screenshots">In game</a>
<a href="#parity">Parity</a>
<a href="#launcher">Launcher</a>
<a href="#recent">Recently added</a>
<a href="#community">Community</a>
<a href="#contributors" data-contributors{{CONTRIBUTORS_HIDDEN}}>Contributors</a>
<a href="/releases">Releases</a>
<a href="/benchmarks">Benchmarks</a>
<a href="/docs/">Documentation</a>
</nav>
<div class="menu-foot">
<a class="button secondary large" href="https://github.com/ludovic111/horizon">GitHub</a>
<p>Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.</p>
</div>
</div>
{{SITE_NAV}}
<main id="main">
<section class="hero" aria-labelledby="hero-title">