21 lines
501 B
TypeScript
21 lines
501 B
TypeScript
import { Sidebar } from "../components/layout/Sidebar";
|
|
import { Topbar } from "../components/layout/Topbar";
|
|
|
|
export default function DashboardLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<div
|
|
className="flex min-h-screen"
|
|
style={{ background: "var(--color-surface-muted)" }}
|
|
>
|
|
<Sidebar />
|
|
<div className="flex min-w-0 flex-1 flex-col">
|
|
<Topbar />
|
|
<main className="flex-1 p-6">{children}</main>
|
|
</div>
|
|
</div>
|
|
);
|
|
} |