2024-07-26 12:39:18 -04:00
|
|
|
import Sidebar from "../../Components/Sidebar";
|
2024-06-06 13:10:13 -07:00
|
|
|
import { Outlet } from "react-router";
|
2024-09-02 17:10:42 -04:00
|
|
|
import { Box, Stack } from "@mui/material";
|
2024-08-28 22:14:55 -04:00
|
|
|
import { useTheme } from "@emotion/react";
|
2024-07-26 12:39:18 -04:00
|
|
|
|
2024-06-06 13:10:13 -07:00
|
|
|
import "./index.css";
|
|
|
|
|
|
2024-05-06 12:29:36 -04:00
|
|
|
const HomeLayout = () => {
|
2024-08-28 22:14:55 -04:00
|
|
|
const theme = useTheme();
|
|
|
|
|
|
2024-06-01 14:29:54 -07:00
|
|
|
return (
|
2024-08-28 22:14:55 -04:00
|
|
|
<Box backgroundColor={theme.palette.background.alt}>
|
2024-09-02 17:10:42 -04:00
|
|
|
<Stack
|
|
|
|
|
className="home-layout"
|
|
|
|
|
flexDirection="row"
|
|
|
|
|
gap={theme.spacing(14)}
|
|
|
|
|
>
|
2024-08-28 22:14:55 -04:00
|
|
|
<Sidebar />
|
|
|
|
|
<Outlet />
|
2024-09-02 17:10:42 -04:00
|
|
|
</Stack>
|
2024-07-26 12:39:18 -04:00
|
|
|
</Box>
|
2024-06-01 14:29:54 -07:00
|
|
|
);
|
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;
|