From 9d4e3dba74945e309df2bf525bba020d37ebef32 Mon Sep 17 00:00:00 2001 From: Ammielle WB <61096548+ammiellewb@users.noreply.github.com> Date: Mon, 22 Jul 2024 21:33:43 -0400 Subject: [PATCH 1/3] Update SideBar.tsx --- frontend/src/components/common/SideBar.tsx | 40 +++++++++------------- 1 file changed, 16 insertions(+), 24 deletions(-) diff --git a/frontend/src/components/common/SideBar.tsx b/frontend/src/components/common/SideBar.tsx index 5f91076a..d8166bc0 100644 --- a/frontend/src/components/common/SideBar.tsx +++ b/frontend/src/components/common/SideBar.tsx @@ -101,29 +101,14 @@ const SideBar: React.FC = () => { pt={10} pr={4} pl={4} + display="flex" + flexDirection="column" + justifyContent="space-between" > - - - - {/* */} - - - {authenticatedUser?.firstName}{" "} - {authenticatedUser?.lastName} - - Administrative Staff - - - + + { - - - From 0d20bc62fee8e0707be4bc0ea89257e0bdf67ead Mon Sep 17 00:00:00 2001 From: KathleenX7 Date: Wed, 24 Jul 2024 21:02:12 -0400 Subject: [PATCH 2/3] further update sidebar --- frontend/src/assets/marillacPlaceLogo.svg | 2 +- frontend/src/components/common/SideBar.tsx | 35 ++++++++++++---------- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/frontend/src/assets/marillacPlaceLogo.svg b/frontend/src/assets/marillacPlaceLogo.svg index c87e075d..604b5fc6 100644 --- a/frontend/src/assets/marillacPlaceLogo.svg +++ b/frontend/src/assets/marillacPlaceLogo.svg @@ -1,4 +1,4 @@ - + diff --git a/frontend/src/components/common/SideBar.tsx b/frontend/src/components/common/SideBar.tsx index d8166bc0..1a9e1d33 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 }> = ({ { (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 ( - + { > - - + + { - - Administrative Staff + + Administrative Staff - Administrative Staff - -
-

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";