|
@ -19,9 +19,23 @@ import Typography from "@mui/material/Typography"; |
|
|
import { useState } from "react"; |
|
|
import { useState } from "react"; |
|
|
import { UTILITY_CONSTANT } from "@/utilities/utilityConstant"; |
|
|
import { UTILITY_CONSTANT } from "@/utilities/utilityConstant"; |
|
|
import styles from "./DashboardWrapper.module.scss"; |
|
|
import styles from "./DashboardWrapper.module.scss"; |
|
|
|
|
|
import styled from "@emotion/styled"; |
|
|
|
|
|
|
|
|
const drawerWidth = 260; |
|
|
const drawerWidth = 260; |
|
|
|
|
|
|
|
|
|
|
|
const CssList = styled(List)({ |
|
|
|
|
|
width: "100%", |
|
|
|
|
|
paddingBlock: "24px", |
|
|
|
|
|
"& .MuiListItem-root": { |
|
|
|
|
|
"& .MuiButtonBase-root": { |
|
|
|
|
|
borderRadius: "15px", |
|
|
|
|
|
"& .MuiListItemIcon-root": { |
|
|
|
|
|
minWidth: "34px", |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
interface Props { |
|
|
interface Props { |
|
|
window?: () => Window; |
|
|
window?: () => Window; |
|
|
children: React.ReactNode; |
|
|
children: React.ReactNode; |
|
@ -58,7 +72,7 @@ export default function DashboardWrapper(props: Props) { |
|
|
/> |
|
|
/> |
|
|
</Toolbar> |
|
|
</Toolbar> |
|
|
{/* <Divider /> */} |
|
|
{/* <Divider /> */} |
|
|
<List sx={{ padding: "0", paddingInline: "18px" }}> |
|
|
|
|
|
|
|
|
<CssList sx={{ padding: "0", paddingInline: "18px" }}> |
|
|
{["Project Table"].map((text, index) => ( |
|
|
{["Project Table"].map((text, index) => ( |
|
|
<ListItem key={text} disablePadding> |
|
|
<ListItem key={text} disablePadding> |
|
|
<ListItemButton> |
|
|
<ListItemButton> |
|
@ -69,7 +83,7 @@ export default function DashboardWrapper(props: Props) { |
|
|
</ListItemButton> |
|
|
</ListItemButton> |
|
|
</ListItem> |
|
|
</ListItem> |
|
|
))} |
|
|
))} |
|
|
</List> |
|
|
|
|
|
|
|
|
</CssList> |
|
|
</> |
|
|
</> |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|