diff --git a/src/Components/DashboardPage/Student/StudentButtons.tsx b/src/Components/DashboardPage/Student/StudentButtons.tsx new file mode 100644 index 0000000..bb9d9b3 --- /dev/null +++ b/src/Components/DashboardPage/Student/StudentButtons.tsx @@ -0,0 +1,277 @@ +import styles from "../../../styles"; +import { useNavigate } from "react-router-dom"; +import { Button } from "@mui/material"; +import FormatListBulletedIcon from "@mui/icons-material/FormatListBulleted"; +import AddToQueueIcon from "@mui/icons-material/AddToQueue"; +import NoteAddIcon from "@mui/icons-material/NoteAdd"; +import NoteIcon from "@mui/icons-material/Note"; +import { colors } from "../../../styles"; +import ScienceIcon from "@mui/icons-material/Science"; +import ColorizeIcon from "@mui/icons-material/Colorize"; +import Popup from "reactjs-popup"; +import AddItemModal from "../../AddItemModal/AddItemModal"; +import AddSKUModal from "../../AddSKUModal/AddSKUModal"; +import { useState } from "react"; +export default function StudentButtons() { + const [addSKUmodalOpen, SetAddSKUModalOpen] = useState(false); + const [additemmodalOpen, SetAddItemModalOpen] = useState(false); + const navigate = useNavigate(); + return ( + <> +

+ Equipments +

+
+ + + + +
+
+ + +
+ SetAddSKUModalOpen(false)} + modal + position={"top center"} + contentStyle={{ + width: "32rem", + borderRadius: 16, + borderColor: "grey", + borderStyle: "solid", + borderWidth: 1, + padding: 16, + alignContent: "center", + justifyContent: "center", + textAlign: "center", + }} + > + + + SetAddItemModalOpen(false)} + modal + position={"top center"} + contentStyle={{ + width: "32rem", + borderRadius: 16, + borderColor: "grey", + borderStyle: "solid", + borderWidth: 1, + padding: 16, + alignContent: "center", + justifyContent: "center", + textAlign: "center", + }} + > + + + + ); +} diff --git a/src/Components/Header/Header.tsx b/src/Components/Header/Header.tsx index 026b9bc..37984a6 100644 --- a/src/Components/Header/Header.tsx +++ b/src/Components/Header/Header.tsx @@ -14,11 +14,10 @@ export default function Header(props: props) { style={{ position: "sticky", top: 0, - zIndex: 1, + zIndex: 1000, backgroundColor: colors.header_color, display: "flex", flexDirection: "row", - }} >
@@ -16,6 +17,7 @@ export default function Dashboard() { +

Welcome teacher!