import {Outlet} from "react-router-dom";

import Sidebar from "@/components/layout/Sidebar";
import Header from "@/components/layout/Header";

export default function DashboardLayout() {
	return (
		<div className="flex min-h-screen bg-background">
			<Sidebar />
			<div className="flex flex-col flex-1">
				<Header />
				<main className="flex-1 p-6">
					<Outlet />
				</main>
			</div>
		</div>
	);
}
