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

project_tabs
Flocano, Memoirs, Nicholas, About
Verified Invariant
theme_classes
flocano-theme, memoirs-theme, nicholas-theme
Verified Invariant
poll_interval
10s (market pulse)
Verified Invariant

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 /memoirs or /nicholasmacaskill prefixes are honoured.
  • On the primary identity host, unknown paths default to /nicholasmacaskill prefixing 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.

SIGNAL_DETECTED:"system online // first dossier lesson logged"//TARGET:sovereign layer////////////////////////
Flocano Labs
ARCHITECTURELAYER
Memoirs
TASTELAYER
Nicholas Alexander MacAskill
IDENTITYLAYER
Biography
ABOUTARCHITECT