diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 4e361f4d..565b789f 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -30,7 +30,6 @@ import SignupPage from "./components/auth/SignupPage"; import ResetPasswordPage from "./components/auth/ResetPasswordPage"; import AnnouncementsPage from "./components/pages/announcements/AnnouncementsPage"; import TasksPage from "./components/pages/tasks/TasksPage"; -import ApprovalsPage from "./components/pages/approvals/ApprovalsPage"; import SchedulePage from "./components/pages/schedule/SchedulePage"; import ResidentsPage from "./components/pages/residents/ResidentsPage"; import InsightsPage from "./components/pages/insights/InsightsPage"; @@ -96,14 +95,6 @@ const App = (): React.ReactElement => { } /> - - - - } - /> + diff --git a/frontend/src/components/common/SideBar.tsx b/frontend/src/components/common/SideBar.tsx index 5f91076a..1d6630ca 100644 --- a/frontend/src/components/common/SideBar.tsx +++ b/frontend/src/components/common/SideBar.tsx @@ -41,6 +41,8 @@ const SideBarTab: React.FC<{ label: string; handleClick: () => void }> = ({ { { label: "Home", route: Routes.HOME_PAGE }, // NEED NEW HOME PAGE { label: "Schedule", route: Routes.SCHEDULE_PAGE }, { label: "Announcements", route: Routes.HOME_PAGE }, // NEED NEW NAME - { label: "Approvals", route: Routes.APPROVALS_PAGE }, { label: "Participants", route: Routes.RESIDENTS_PAGE }, // RESIDENTS/PARTICIPANTS { label: "Task List", route: Routes.TASKS_PAGE }, // { label: "Insights", route: Routes.INSIGHTS_PAGE }, @@ -85,45 +86,31 @@ const SideBar: React.FC = () => { (page) => page.route === window.location.pathname, ); - const sidebarWidth = useBreakpointValue({ - base: "100%", - md: "50%", - lg: "30%", - xl: "18.5%", - }); + // const sidebarWidth = useBreakpointValue({ + // base: "100%", + // md: "100%", + // lg: "10%", + // xl: "10%", + // }); return ( - + - - - - {/* */} - - - {authenticatedUser?.firstName}{" "} - {authenticatedUser?.lastName} - - Administrative Staff - - - + + { - - - diff --git a/frontend/src/components/pages/approvals/ApprovalsPage.tsx b/frontend/src/components/pages/approvals/ApprovalsPage.tsx deleted file mode 100644 index 92f5a416..00000000 --- a/frontend/src/components/pages/approvals/ApprovalsPage.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import React from "react"; - -const ApprovalsPage = (): React.ReactElement => { - return ( -
-

Approvals Page

-
- ); -}; - -export default ApprovalsPage; diff --git a/frontend/src/constants/Routes.ts b/frontend/src/constants/Routes.ts index 7b1fd83f..90c8ccad 100644 --- a/frontend/src/constants/Routes.ts +++ b/frontend/src/constants/Routes.ts @@ -8,8 +8,6 @@ export const RESET_PASSWORD_PAGE = "/reset-password"; export const TASKS_PAGE = "/tasks"; -export const APPROVALS_PAGE = "/approvals"; - export const SCHEDULE_PAGE = "/schedule"; export const RESIDENTS_PAGE = "/residents";