This commit is contained in:
2025-08-09 13:45:16 +02:00
parent 298fae916b
commit d322283064
28 changed files with 135 additions and 80 deletions

View File

@@ -0,0 +1,23 @@
import { SidebarProvider } from "@/components/ui/sidebar"
import { ReactNode } from "react"
import { DashboardSidebar } from "./_components/sidebar"
import { SidebarClient } from "./_components/sidebar-client"
export default function DashboardLayout({
children
}: {
children: ReactNode
}) {
return (
<SidebarProvider>
<SidebarClient>
<div className="flex w-full min-h-screen">
<DashboardSidebar />
<main className="overflow-auto flex-1 p-6">
{children}
</main>
</div>
</SidebarClient>
</SidebarProvider>
)
}