fase(10): frontend shadcn-ui shell with auth

This commit is contained in:
debian
2026-03-05 10:26:17 -05:00
parent 7526a5bc15
commit 5ef4ce5de0
49 changed files with 9105 additions and 131 deletions

View File

@@ -0,0 +1,22 @@
import { Outlet } from 'react-router-dom'
import { SidebarProvider } from '@/components/ui/sidebar'
import { AppSidebar } from './AppSidebar'
import { TopBar } from './TopBar'
import { CommandPalette } from './CommandPalette'
export function AppLayout() {
return (
<SidebarProvider>
<div className="flex h-screen w-full overflow-hidden bg-background">
<AppSidebar />
<div className="flex flex-col flex-1 overflow-hidden">
<TopBar />
<main className="flex-1 overflow-auto p-6">
<Outlet />
</main>
</div>
</div>
<CommandPalette />
</SidebarProvider>
)
}