|
|
@ -4,7 +4,6 @@ import * as React from "react"; |
|
|
|
import AppBar from "@mui/material/AppBar"; |
|
|
|
import Box from "@mui/material/Box"; |
|
|
|
import CssBaseline from "@mui/material/CssBaseline"; |
|
|
|
import Divider from "@mui/material/Divider"; |
|
|
|
import Drawer from "@mui/material/Drawer"; |
|
|
|
import IconButton from "@mui/material/IconButton"; |
|
|
|
import InboxIcon from "@mui/icons-material/MoveToInbox"; |
|
|
@ -18,8 +17,10 @@ import MenuIcon from "@mui/icons-material/Menu"; |
|
|
|
import Toolbar from "@mui/material/Toolbar"; |
|
|
|
import Typography from "@mui/material/Typography"; |
|
|
|
import { useState } from "react"; |
|
|
|
import { UTILITY_CONSTANT } from "@/utilities/utilityConstant"; |
|
|
|
import styles from "./DashboardWrapper.module.scss"; |
|
|
|
|
|
|
|
const drawerWidth = 240; |
|
|
|
const drawerWidth = 260; |
|
|
|
|
|
|
|
interface Props { |
|
|
|
window?: () => Window; |
|
|
@ -49,9 +50,15 @@ export default function DashboardWrapper(props: Props) { |
|
|
|
|
|
|
|
const drawer = ( |
|
|
|
<> |
|
|
|
<Toolbar /> |
|
|
|
<Toolbar> |
|
|
|
<img |
|
|
|
src={UTILITY_CONSTANT.IMAGES.AUTH.HEADER_LOG} |
|
|
|
alt="Logo" |
|
|
|
className={styles.logo} |
|
|
|
/> |
|
|
|
</Toolbar> |
|
|
|
{/* <Divider /> */} |
|
|
|
<List> |
|
|
|
<List sx={{ padding: "0", paddingInline: "18px" }}> |
|
|
|
{["Project Table"].map((text, index) => ( |
|
|
|
<ListItem key={text} disablePadding> |
|
|
|
<ListItemButton> |
|
|
@ -70,7 +77,12 @@ export default function DashboardWrapper(props: Props) { |
|
|
|
window !== undefined ? () => window().document.body : undefined; |
|
|
|
|
|
|
|
return ( |
|
|
|
<Box sx={{ display: "flex" }} width={"100%"} height={"100%"}> |
|
|
|
<Box |
|
|
|
sx={{ display: "flex" }} |
|
|
|
width={"100%"} |
|
|
|
height={"100%"} |
|
|
|
className={styles.dashboard_main} |
|
|
|
> |
|
|
|
<CssBaseline /> |
|
|
|
<AppBar |
|
|
|
position="fixed" |
|
|
|