Combine WebsiteNav into SideNav when viewing a website.

Replace the separate 240px WebsiteNav sidebar with website navigation
integrated into the main SideNav. When a websiteId is active, SideNav
shows a back arrow, WebsiteSelect dropdown, and grouped nav items
instead of the main links. Extract shared useWebsiteNavItems hook used
by both SideNav and WebsiteNav (still used by MobileNav).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mike CaoandClaude Opus 4.6 committed 2026-02-06 03:57:28 -08:00
1 parent 84522b2475
commit 635317ecfb
5 files changed
+284 -165

No files matched your search

+1
View File
@@ -87,3 +87,4 @@ export * from './useRegionNames';
export * from './useSlug';
export * from './useSticky';
export * from './useTimezone';
export * from './useWebsiteNavItems';