mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-18 12:46:32 +02:00
17 lines
633 B
TypeScript
17 lines
633 B
TypeScript
import { Sidebar } from "@/components/shared/sidebar";
|
|
import { Header } from "@/components/shared/header";
|
|
|
|
export default async function DashboardLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<div className="flex h-screen w-full overflow-hidden" style={{ background: "var(--bg-base)" }}>
|
|
<Sidebar />
|
|
<main className="flex-1 flex flex-col h-full min-w-0 overflow-hidden">
|
|
<Header />
|
|
<div className="flex-1 overflow-y-auto flex flex-col p-4 md:p-8">
|
|
{children}
|
|
</div>
|
|
</main>
|
|
</div>
|
|
);
|
|
}
|