initial design in student

This commit is contained in:
Prince Kurt Laurence 2023-12-21 13:26:42 +08:00
parent 661c17c7c7
commit ad6215d6d0
2 changed files with 281 additions and 0 deletions

View file

@ -4,6 +4,7 @@ import RestrictedComponent from "../../Components/RestrictedComponent/Restricted
import TechnicianWidgets from "../../Components/DashboardPage/TechnicianWidgets";
import TechnicianEquipmentButtons from "../../Components/DashboardPage/TechnicianEquipmentButtons";
import TechnicianLogButtons from "../../Components/DashboardPage/TechnicianLogButtons";
import StudentTransactionButtons from "../../Components/DashboardPage/StudentTransactionButtons";
export default function Dashboard() {
return (
<div style={styles.background}>
@ -14,6 +15,7 @@ export default function Dashboard() {
<TechnicianLogButtons />
</RestrictedComponent>
<RestrictedComponent allow_only={"Student"}>
<StudentTransactionButtons />
<p style={styles.text_dark}>Welcome student!</p>
</RestrictedComponent>
<RestrictedComponent allow_only={"Teacher"}>