2024-06-06 13:10:13 -07:00
|
|
|
import NavBar from "../../Components/NavBar";
|
|
|
|
|
import { Outlet } from "react-router";
|
|
|
|
|
import DashboardSidebar from "../../Components/DashboardSidebar";
|
|
|
|
|
import "./index.css";
|
|
|
|
|
|
2024-05-06 12:29:36 -04:00
|
|
|
const HomeLayout = () => {
|
2024-06-01 14:29:54 -07:00
|
|
|
return (
|
|
|
|
|
<div className="home-layout">
|
2024-06-18 19:17:21 -04:00
|
|
|
<NavBar />
|
2024-06-01 14:29:54 -07:00
|
|
|
<div className="main-content">
|
2024-06-18 19:17:21 -04:00
|
|
|
<DashboardSidebar />
|
|
|
|
|
<Outlet />
|
2024-06-01 14:29:54 -07:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
2024-06-06 13:10:13 -07:00
|
|
|
};
|
2024-05-06 12:29:36 -04:00
|
|
|
|
2024-06-01 14:29:54 -07:00
|
|
|
export default HomeLayout;
|