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:
1 parent
aac9f377d5
commit
188979151b
6 files changed
+176
-182
No files matched your search
+23
-29
@@ -14,7 +14,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">
|
||||
<!-- Marks that JS is alive before first paint, so the scroll-reveal styles never
|
||||
hide content from a browser that will not run them. -->
|
||||
<script>
|
||||
@@ -76,37 +76,31 @@ try {
|
||||
<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">On this page</p>
|
||||
<a class="side-link" href="#features"><b>Features</b><span>Built on the gym floor</span></a>
|
||||
<a class="side-link" href="#screens"><b>Screenshots</b><span>Five screens, that's the app</span></a>
|
||||
<a class="side-link" href="#demo"><b>Live demo</b><span>The real app, in your browser</span></a>
|
||||
<a class="side-link" href="#download"><b>Download</b><span>Android APK or self-hosted</span></a>
|
||||
<a class="side-link" href="#story"><b>The story</b><span>One user, zero ambitions</span></a>
|
||||
<a class="side-link" href="#opensource"><b>Open source</b><span>AGPL-3.0, and staying that way</span></a>
|
||||
<a class="side-link" href="#elsewhere"><b>Elsewhere</b><span>GitLab, Discord, support</span></a>
|
||||
<p class="side-label">More</p>
|
||||
<a class="side-link" href="docs.html"><b>Docs</b><span>Install, self-host, import</span></a>
|
||||
<a class="side-link" href="about.html"><b>About</b><span>The story and the milestones</span></a>
|
||||
</aside>
|
||||
|
||||
<header class="hero">
|
||||
<div class="wrap">
|
||||
@@ -344,7 +338,7 @@ try {
|
||||
</ul>
|
||||
<div class="push">
|
||||
<a class="btn" href="openGym.apk" download>Download for Android</a>
|
||||
<p class="meta">v1.2.14 · 4.5 MB · Android 6.0+ · signed APK. Your browser will ask
|
||||
<p class="meta">v1.2.14 · 4.6 MB · Android 6.0+ · signed APK. Your browser will ask
|
||||
before installing; that is normal outside the Play Store.</p>
|
||||
<p class="meta">Every release is also built and signed by CI and attached to the
|
||||
<a href="https://gitlab.com/DuarteSantos8/opengym/-/releases" rel="noopener">GitLab
|
||||
@@ -479,6 +473,6 @@ try {
|
||||
</div>
|
||||
</div></footer>
|
||||
|
||||
<script src="site.js?v=9" defer></script>
|
||||
<script src="site.js?v=10" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user