Added initial transactions list page and edited technician dashboard component names for better readability

This commit is contained in:
Keannu Christian Bernasol 2023-12-14 18:13:55 +08:00
parent be6e1ba229
commit 08fd217ccb
5 changed files with 21 additions and 6 deletions

View file

@ -2,8 +2,8 @@ import Header from "../../Components/Header/Header";
import styles from "../../styles";
import RestrictedComponent from "../../Components/RestrictedComponent/RestrictedComponent";
import TechnicianWidgets from "../../Components/DashboardPage/TechnicianWidgets";
import TechnicianButtons from "../../Components/DashboardPage/TechnicianButtons";
import TechnicianLogs from "../../Components/DashboardPage/TechnicianLogs";
import TechnicianEquipmentButtons from "../../Components/DashboardPage/TechnicianEquipmentButtons";
import TechnicianLogButtons from "../../Components/DashboardPage/TechnicianLogButtons";
export default function Dashboard() {
return (
<div style={styles.background}>
@ -12,10 +12,10 @@ export default function Dashboard() {
<TechnicianWidgets />
</RestrictedComponent>
<RestrictedComponent allow_only={"Technician"}>
<TechnicianButtons />
<TechnicianEquipmentButtons />
</RestrictedComponent>
<RestrictedComponent allow_only={"Technician"}>
<TechnicianLogs />
<TechnicianLogButtons />
</RestrictedComponent>
</div>
);

View file

@ -0,0 +1,3 @@
export default function TransactionsListPage() {
return <div>{"TransactionsListPage"}</div>;
}