import Sidebar from "../components/Sidebar";
import Navbar from "../components/Navbar";

function DashboardLayout({ children }) {
  return (
    <div className="flex bg-slate-100 min-h-screen">
      <Sidebar />

      <div className="ml-72 flex-1">
        <Navbar />

        <div className="p-8">{children}</div>
      </div>
    </div>
  );
}

export default DashboardLayout;
