Cross-Project Navigation Normalization
global bottom nav sync across hostname transitions
Published: 2026-06-26 | Project: Software as Glass Monorepo | Discipline: Sovereign Architecture & Systems Design
Author: Nicholas Alexander MacAskill — Founder & CTO, Flocano Labs | Canonical: https://www.nicholasmacaskill.com/dossier/sag-cross-project-nav
Footer That Survives Domain Hops
GlobalBottomNav must highlight the correct layer when users move between /flocanolabs, /memoirs, and /nicholasmacaskill — including on spoke subdomains where the browser pathname may omit project prefixes.
Client Normalization
On every usePathname() change, the nav recomputes a normalized path:
- On spoke hosts, bare
/stays portal-themed; explicit/memoirsor/nicholasmacaskillprefixes are honoured. - On the primary identity host, unknown paths default to
/nicholasmacaskillprefixing for consistent tab highlighting.
Theme classes (flocano-theme, memoirs-theme, nicholas-theme) are applied to both document.documentElement and document.body so Tailwind theme tokens and the market pulse ticker inherit the active layer after client-side transitions — fixing the rounded-corner and color regressions that occurred when only the nested layout wrapper carried the theme class.