mirror of
https://github.com/lemeow125/Borrowing-TrackerFrontend.git
synced 2025-05-17 11:58:14 +08:00
initial design in student
This commit is contained in:
parent
661c17c7c7
commit
ad6215d6d0
2 changed files with 281 additions and 0 deletions
|
@ -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"}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue