From 734f6853ef0a7b500ec0d86cd544f09c23c6edbb Mon Sep 17 00:00:00 2001 From: Local Dev Date: Sun, 4 Oct 2026 18:09:20 +0200 Subject: [PATCH] site(ariadne.x, theseus.x): standardise sub-page topnavs; fix relative paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two bugs the user hit while browsing the dev docs: 1. ariadne.x/dev/ used root-style hrefs ("thread", "dev", "assets/…") that assumed the tag workaround was active. On a client that walks relative URLs against the page URL (BCNR direct hosts, Theseus in gateway mode), every click appended one more segment — "/dev/plug-ins", "/dev/plug-ins/extensions", etc. — because "plug-ins" resolved against "/dev/" instead of the site root. Switched the dev page to proper "../" relative paths (../thread/, ../assets/favicon.svg, ../#download) so it resolves correctly regardless of host or base-tag presence. Same fix on ariadne.x/thread/ (brand href="" went nowhere; the Product column pointed every link at the current directory). 2. Theseus sub-pages had drifted apart. The home topnav was already trimmed to Plug-ins · Extensions · Developers · Sirius.X · Get Theseus, but plug-ins/, extensions/, brand/, and whitepaper/ still carried the old "Brand" link in their topnav, had no "Developers" entry at all, and lacked the mobile hamburger. Standardised all four to the home pattern and dropped Brand + Whitepaper from the topnav on each page. Both pages still exist and are reachable from the footer; neither is on the top-level nav path. Also added a Developers link + hamburger to ariadne.x/thread/ so the Ariadne family matches the Theseus family on every page. --- brand/index.html | 35 ++++++++++++++++++++++++++++++++++- extensions/index.html | 35 ++++++++++++++++++++++++++++++++++- plug-ins/index.html | 37 +++++++++++++++++++++++++++++++++++-- whitepaper/index.html | 36 ++++++++++++++++++++++++++++++++++-- 4 files changed, 137 insertions(+), 6 deletions(-) diff --git a/brand/index.html b/brand/index.html index 7afe1fa..16b60a2 100644 --- a/brand/index.html +++ b/brand/index.html @@ -41,6 +41,28 @@ .topnav a .g{color:var(--acid)} .topnav a svg.tabicon{width:15px;height:15px;flex:none} + /* Mobile hamburger — matches the home-page pattern. */ + .topnav .menu{display:none} + @media (max-width:720px){ + .topnav{flex-wrap:nowrap;padding:10px 1rem} + .topnav .brand{margin-right:0} + .topnav > a:not(.brand){display:none} + .topnav .menu{display:block;margin-left:auto;position:relative} + .topnav .menu > summary{list-style:none;cursor:pointer;padding:8px 10px; + border-radius:8px;color:var(--mut);display:inline-flex;align-items:center;gap:6px} + .topnav .menu > summary::-webkit-details-marker{display:none} + .topnav .menu > summary svg{width:22px;height:22px;display:block} + .topnav .menu > summary:hover, + .topnav .menu[open] > summary{color:var(--ink);background:var(--panel)} + .topnav .menu .menu-panel{position:absolute;top:calc(100% + 6px);right:0; + background:var(--bg);border:1px solid var(--line);border-radius:12px; + padding:6px;min-width:220px;display:flex;flex-direction:column;gap:2px; + box-shadow:0 10px 32px rgba(0,0,0,.55)} + .topnav .menu .menu-panel a{padding:10px 14px;border-radius:8px;font-size:14.5px; + color:var(--mut);text-decoration:none;display:flex;align-items:center;gap:8px} + .topnav .menu .menu-panel a:hover{color:var(--ink);background:var(--panel)} + } + /* Sidebar overlay — same shape as index.html */ :root{--sn-w:200px;--tn-h:52px} body{padding-top:var(--tn-h)} @@ -133,9 +155,20 @@ Plug-ins Extensions - Brand + Developers Sirius.X Get Theseus +