From af0e3acee4d92763e6250790c752c710fbbc28a2 Mon Sep 17 00:00:00 2001 From: EdsonNhancale Date: Fri, 20 Sep 2024 11:26:07 +0200 Subject: [PATCH] feat: removed menuitemns in students and staff settings --- src/components/routes/RouteList.tsx | 132 ++++++++++----------- src/utils/constants/sideBar/sideBarData.ts | 132 ++++++++++----------- 2 files changed, 132 insertions(+), 132 deletions(-) diff --git a/src/components/routes/RouteList.tsx b/src/components/routes/RouteList.tsx index 02e4389..c000a08 100644 --- a/src/components/routes/RouteList.tsx +++ b/src/components/routes/RouteList.tsx @@ -13,78 +13,78 @@ export default function RouteList() { { path: '/', layout: SimpleLayout, - component: () => + component: () => }, { path: '/students/wizard', layout: SideBarLayout, component: () => }, - { - path: '/students/program', - layout: SideBarLayout, - component: () => - }, - { - path: '/students/enrollment', - layout: SideBarLayout, - component: () => - }, - { - path: '/students/socio-economics', - layout: SideBarLayout, - component: () => - }, - { - path: '/students/attendance', - layout: SideBarLayout, - component: () => - }, - { - path: '/students/performance', - layout: SideBarLayout, - component: () => - }, - { - path: '/students/final-result', - layout: SideBarLayout, - component: () => - }, - { - path: '/students/transfer', - layout: SideBarLayout, - component: () => - }, - { - path: '/apps/default-settings', - layout: SideBarLayout, - component: () => - }, + // { + // path: '/students/program', + // layout: SideBarLayout, + // component: () => + // }, + // { + // path: '/students/enrollment', + // layout: SideBarLayout, + // component: () => + // }, + // { + // path: '/students/socio-economics', + // layout: SideBarLayout, + // component: () => + // }, + // { + // path: '/students/attendance', + // layout: SideBarLayout, + // component: () => + // }, + // { + // path: '/students/performance', + // layout: SideBarLayout, + // component: () => + // }, + // { + // path: '/students/final-result', + // layout: SideBarLayout, + // component: () => + // }, + // { + // path: '/students/transfer', + // layout: SideBarLayout, + // component: () => + // }, + // { + // path: '/apps/default-settings', + // layout: SideBarLayout, + // component: () => + // }, { path: '/staffs/wizard', layout: SideBarLayout, component: () => }, - { - path: '/staffs/program', - layout: SideBarLayout, - component: () => - }, - { - path: '/staffs/enrollment', - layout: SideBarLayout, - component: () => - }, - { - path: '/staffs/attendance', - layout: SideBarLayout, - component: () => - }, - { - path: '/staffs/transfer', - layout: SideBarLayout, - component: () => - }, + // { + // path: '/staffs/program', + // layout: SideBarLayout, + // component: () => + // }, + // { + // path: '/staffs/enrollment', + // layout: SideBarLayout, + // component: () => + // }, + // { + // path: '/staffs/attendance', + // layout: SideBarLayout, + // component: () => + // }, + // { + // path: '/staffs/transfer', + // layout: SideBarLayout, + // component: () => + // }, { path: '/apps/installation', layout: SideBarLayout, @@ -95,10 +95,10 @@ export default function RouteList() { layout: SideBarLayout, component: () => }, - { - path: '/form', - layout: SideBarLayout, - component: GenericForm - } + // { + // path: '/form', + // layout: SideBarLayout, + // component: GenericForm + // } ] } diff --git a/src/utils/constants/sideBar/sideBarData.ts b/src/utils/constants/sideBar/sideBarData.ts index bf2c423..e1a8b1e 100644 --- a/src/utils/constants/sideBar/sideBarData.ts +++ b/src/utils/constants/sideBar/sideBarData.ts @@ -36,48 +36,48 @@ function sideBarData(): SideBarItemProps[] { showBadge: false, route: "/students/wizard" }, - { - icon: settings, - label: "Program", - showBadge: false, - route: "/students/program" - }, - { - icon: listAdd, - label: "Enrollment", - showBadge: false, - route: "/students/enrollment" - }, - { - icon: fileDocument, - label: "Socio - economics", - showBadge: false, - route: "/students/socio-economics" - }, - { - icon: glyph, - label: "Attendance", - showBadge: false, - route: "/students/attendance" - }, - { - icon: performance, - label: "Performance", - showBadge: false, - route: "/students/performance" - }, - { - icon: finalresult, - label: "Final result", - showBadge: false, - route: "/students/final-result" - }, - { - icon: transfer, - label: "Transfer", - showBadge: false, - route: "/students/transfer" - } + // { + // icon: settings, + // label: "Program", + // showBadge: false, + // route: "/students/program" + // }, + // { + // icon: listAdd, + // label: "Enrollment", + // showBadge: false, + // route: "/students/enrollment" + // }, + // { + // icon: fileDocument, + // label: "Socio - economics", + // showBadge: false, + // route: "/students/socio-economics" + // }, + // { + // icon: glyph, + // label: "Attendance", + // showBadge: false, + // route: "/students/attendance" + // }, + // { + // icon: performance, + // label: "Performance", + // showBadge: false, + // route: "/students/performance" + // }, + // { + // icon: finalresult, + // label: "Final result", + // showBadge: false, + // route: "/students/final-result" + // }, + // { + // icon: transfer, + // label: "Transfer", + // showBadge: false, + // route: "/students/transfer" + // } ] }, { @@ -89,30 +89,30 @@ function sideBarData(): SideBarItemProps[] { showBadge: false, route: "/staffs/wizard" }, - { - icon: settings, - label: "Program", - showBadge: false, - route: "/staffs/program" - }, - { - icon: listAdd, - label: "Staff registry", - showBadge: false, - route: "/staffs/enrollment" - }, - { - icon: glyph, - label: "Attendance", - showBadge: false, - route: "/staffs/attendance" - }, - { - icon: transfer, - label: "Transfer", - showBadge: false, - route: "/staffs/transfer" - } + // { + // icon: settings, + // label: "Program", + // showBadge: false, + // route: "/staffs/program" + // }, + // { + // icon: listAdd, + // label: "Staff registry", + // showBadge: false, + // route: "/staffs/enrollment" + // }, + // { + // icon: glyph, + // label: "Attendance", + // showBadge: false, + // route: "/staffs/attendance" + // }, + // { + // icon: transfer, + // label: "Transfer", + // showBadge: false, + // route: "/staffs/transfer" + // } ] } ]