website: topic rail instead of the crowded top nav, GitHub notice retired

The nav bar keeps only the brand, GitLab, Discord and the download button.
Everything else moves into a topic rail — a title/subtitle list of every
section, fixed beside the page on wide screens and behind the hamburger
below 1300px, with a scrollspy lighting the section under the reader.
The GitHub-suspension notice comes off all three pages.
This commit is contained in:
Duarte Santos committed 2026-08-31 08:25:39 +02:00
1 parent aac9f377d5
commit 188979151b
6 files changed
+176 -182

No files matched your search

+23 -28
View File
@@ -9,7 +9,7 @@
<link rel="icon" type="image/png" sizes="512x512" href="icon-512.png">
<link rel="icon" type="image/png" sizes="180x180" href="icon-180.png">
<link rel="apple-touch-icon" href="icon-180.png">
<link rel="stylesheet" href="styles.css?v=9">
<link rel="stylesheet" href="styles.css?v=10">
<script>document.documentElement.className += ' js'</script>
<!-- Umami web analytics for opengym.duarte-santos.ch (self-hosted, cookieless). -->
<script defer src="https://stats.duarte-santos.ch/script.js" data-website-id="db36019e-50f4-453c-9c56-d0588aefe233"></script>
@@ -21,37 +21,32 @@
<img src="icon-180.png" alt="" width="24" height="24">
openGym
</a>
<div class="nav-quick">
<a class="ql" href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">GitLab <span data-gh="stars"></span></a>
<a class="ql" href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord</a>
<a class="cta" href="/#download">Download</a>
</div>
<button class="nav-toggle" aria-expanded="false" aria-controls="menu" aria-label="Menu">
<span></span><span></span>
</button>
<div class="nav-links" id="menu">
<a href="/#features">Features</a>
<a href="/#screens">Screenshots</a>
<a href="/#demo">Demo</a>
<a href="docs.html">Docs</a>
<a href="about.html">About</a>
<a href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">GitLab <span data-gh="stars"></span></a>
<a href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord</a>
<a class="cta" href="/#download">Download</a>
</div>
</div></nav>
<!-- TEMPORARY: GitHub account suspended -> repo lives on gitlab.com. Remove this block and
revert the links (+ site.js) to github.com once the account is restored. -->
<div class="notice-wrap"><div class="wrap">
<aside class="notice" role="note">
<div class="notice-tag">Repository moved</div>
<h2>My GitHub account was suspended, and the openGym repo went with it.</h2>
<p><b>github.com/DuarteSantos8/openGym is offline</b> — not by choice. The app is
untouched: the APK, the demo and every self-hosted install work exactly as before. The
code, the releases, the container images and the APK builds now live on GitLab under
the same AGPL-3.0 license, and every repository link here points there.</p>
<div class="actions">
<a class="btn" href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">Open on GitLab</a>
<a class="btn dc-btn" href="https://discord.gg/e62jY6fwVb" rel="noopener">Join the Discord</a>
</div>
</aside>
</div></div>
<!-- The topic rail: a fixed column beside the page on a wide screen, the hamburger
sheet everywhere else. One markup, two layouts — see .side in styles.css. -->
<aside class="side" id="menu" aria-label="Topics">
<p class="side-label">Docs</p>
<a class="side-link" href="#android"><b>Android</b><span>Install the signed APK</span></a>
<a class="side-link" href="#iphone"><b>iPhone</b><span>A home-screen app instead</span></a>
<a class="side-link" href="#selfhost"><b>Self-hosting</b><span>Docker Compose and passkeys</span></a>
<a class="side-link" href="#mcp"><b>Ask an AI</b><span>The read-only MCP bridge</span></a>
<a class="side-link" href="#import"><b>Import your history</b><span>FitNotes, Strong, Hevy, Health</span></a>
<a class="side-link" href="#backup"><b>Backups</b><span>One JSON file, yours</span></a>
<a class="side-link" href="#build"><b>Build it yourself</b><span>Everything from the public repo</span></a>
<a class="side-link" href="#faq"><b>FAQ</b><span>Free, private, no stores</span></a>
<p class="side-label">More</p>
<a class="side-link" href="/"><b>Home</b><span>The tour, the demo, the download</span></a>
<a class="side-link" href="about.html"><b>About</b><span>The story and the milestones</span></a>
</aside>
<main class="wrap prose">
<h1>Docs</h1>
@@ -209,6 +204,6 @@ docker compose up -d</code></pre>
</div>
</div></footer>
<script src="site.js?v=9" defer></script>
<script src="site.js?v=10" defer></script>
</body>
</html>