adminFront/src/Components/LoggedIn/Menu/index.tsx

165 lines
4.9 KiB
TypeScript
Raw Normal View History

2022-09-08 17:21:17 +00:00
import * as React from "react";
import { Box } from "@mui/material";
import MenuOutlinedIcon from '@mui/icons-material/MenuOutlined';
import PersonOutlineOutlinedIcon from '@mui/icons-material/PersonOutlineOutlined';
import SettingsOutlinedIcon from '@mui/icons-material/SettingsOutlined';
import BathtubOutlinedIcon from '@mui/icons-material/BathtubOutlined';
import AddPhotoAlternateOutlinedIcon from '@mui/icons-material/AddPhotoAlternateOutlined';
import NaturePeopleOutlinedIcon from '@mui/icons-material/NaturePeopleOutlined';
import SettingsIcon from '@mui/icons-material/Settings';
import CameraIcon from '@mui/icons-material/Camera';
import HeadsetMicOutlinedIcon from '@mui/icons-material/HeadsetMicOutlined';
2022-09-20 14:35:49 +00:00
import theme from "../../../theme";
2022-09-08 17:21:17 +00:00
const Menu: React.FC = () => {
return (
<React.Fragment>
<Box sx={{
2022-09-09 13:54:49 +00:00
backgroundColor: theme.palette.menu.main,
2022-09-08 17:21:17 +00:00
width: "96px",
height: "100vh",
2022-09-13 16:16:57 +00:00
borderRight: "1px solid #45494c",
overflow: "hidden"
2022-09-08 17:21:17 +00:00
}}>
<Box sx={{
width: "100%",
height: "85px",
display: "flex",
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
cursor: "pointer"
}}>
2022-09-13 16:16:57 +00:00
<MenuOutlinedIcon sx={{
transform: "scale(1.4)"
}} />
2022-09-08 17:21:17 +00:00
</Box>
<Box sx={{
2022-09-19 11:45:58 +00:00
height: "calc( 100vh - 85px )",
overflowY: "auto",
2022-09-13 16:16:57 +00:00
'&::-webkit-scrollbar': {
display: "none"
}
2022-09-08 17:21:17 +00:00
}}>
2022-09-13 16:16:57 +00:00
<Box sx={{
width: "100%",
height: "85px",
display: "flex",
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
cursor: "pointer"
}}>
<PersonOutlineOutlinedIcon sx={{
color: theme.palette.golden.main,
transform: "scale(1.2)"
}} />
</Box>
<Box sx={{
width: "100%",
height: "85px",
display: "flex",
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
cursor: "pointer"
}}>
<SettingsOutlinedIcon sx={{
color: theme.palette.golden.main,
transform: "scale(1.2)"
}} />
</Box>
<Box sx={{
width: "100%",
height: "85px",
display: "flex",
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
cursor: "pointer"
}}>
<BathtubOutlinedIcon sx={{
color: theme.palette.golden.main,
transform: "scale(1.2)"
}} />
</Box>
<Box sx={{
width: "100%",
height: "85px",
display: "flex",
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
cursor: "pointer"
}}>
<AddPhotoAlternateOutlinedIcon sx={{
color: theme.palette.golden.main,
transform: "scale(1.2)"
}} />
</Box>
<Box sx={{
width: "100%",
height: "85px",
display: "flex",
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
cursor: "pointer"
}}>
<NaturePeopleOutlinedIcon sx={{
color: theme.palette.golden.main,
transform: "scale(1.2)"
}} />
</Box>
<Box sx={{
width: "100%",
height: "85px",
display: "flex",
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
cursor: "pointer"
}}>
<SettingsIcon sx={{
color: theme.palette.golden.main,
transform: "scale(1.2)"
}} />
</Box>
<Box sx={{
width: "100%",
height: "85px",
display: "flex",
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
cursor: "pointer"
}}>
<CameraIcon sx={{
transform: "scale(1.2)"
}} />
</Box>
<Box sx={{
width: "100%",
height: "85px",
display: "flex",
flexDirection: "column",
justifyContent: "center",
alignItems: "center",
cursor: "pointer"
}}>
<HeadsetMicOutlinedIcon sx={{
color: theme.palette.golden.main,
transform: "scale(1.2)"
}}/>
</Box>
2022-09-08 17:21:17 +00:00
</Box>
2022-09-13 16:16:57 +00:00
2022-09-08 17:21:17 +00:00
</Box>
</React.Fragment>
);
}
export default Menu;