Standardize neon cyan on #00e8f5, wire SacredPageHeader across Builds/Path Tracer/LOTL, dedupe Pages.css, align Path Tracer chrome, drop dead wealth-deck CSS, add prefers-color-scheme shell + HelpTip, sidebar version from package.json build inject, and Vitest CSS regression guards.
6 lines
242 B
TypeScript
6 lines
242 B
TypeScript
/** True when pathname is Command Deck (`/dashboard` or `/`). */
|
|
export function isDashboardRoute(pathname: string): boolean {
|
|
const path = pathname.split('?')[0].replace(/\/$/, '') || '/';
|
|
return path === '/dashboard' || path === '/';
|
|
}
|