refactor(layout): streamline layout components with RoutedSectionShell

- Introduced RoutedSectionShell to unify navigation structure across Playground, User Settings, and Workspace Settings layouts.
- Replaced individual navigation implementations with a more cohesive and reusable component.
- Updated navigation items to include href properties for better routing.
- Enhanced mobile navigation experience with drawer support and improved scroll handling.
This commit is contained in:
Anish Sarkar 2026-07-08 02:29:33 +05:30
parent 9109f0aa05
commit 0c2db7dfd5
6 changed files with 357 additions and 371 deletions

View file

@ -9,6 +9,7 @@ export type {
User,
Workspace,
} from "./types/layout.types";
export type { RoutedSectionGroup, RoutedSectionItem } from "./ui";
export {
ChatListItem,
CreateWorkspaceDialog,
@ -20,6 +21,7 @@ export {
MobileSidebarTrigger,
NavIcon,
NavSection,
RoutedSectionShell,
Sidebar,
SidebarCollapseButton,
SidebarHeader,