Close DV-01–04,07,09,13,14: unify operator-deck UX in server/web.
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.
This commit is contained in:
5
server/web/src/help/routeEffects.ts
Normal file
5
server/web/src/help/routeEffects.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
/** True when pathname is Command Deck (`/dashboard` or `/`). */
|
||||
export function isDashboardRoute(pathname: string): boolean {
|
||||
const path = pathname.split('?')[0].replace(/\/$/, '') || '/';
|
||||
return path === '/dashboard' || path === '/';
|
||||
}
|
||||
Reference in New Issue
Block a user