← context-v

dididecks-ai shipped v 0.1.0 context-v/sitemap/components/DididecksNav.md

DididecksNav — shell-injected global header linking Scroll · TOC · Play · Changelog

Top-of-page nav auto-mounted on every shell-injected route (/toc/*, /play/*) and importable into consumer-owned routes (homepage, scroll-deck variants). Links derive from the consumer's deck registry — Scroll → first deck slug, TOC and Play → first deck + first variant. Brand slot lets each client deck drop in its own wordmark; default is a text wordmark sourced from the integration's `client` option. Reads `Astro.url.pathname` to flag the active link with `aria-current="page"`.