From 575c12e87585084178b4ea09c1fae798ca744fbf Mon Sep 17 00:00:00 2001 From: Maxim Date: Mon, 18 Mar 2024 14:56:01 +0200 Subject: [PATCH 01/12] fix(frontend): logout button in sidebar tm-567 --- apps/frontend/src/assets/icons/log-out.svg | 2 +- .../src/libs/components/sidebar/sidebar.tsx | 48 ++-- .../libs/components/sidebar/styles.module.css | 15 +- package-lock.json | 222 ++++++++++++++++-- 4 files changed, 244 insertions(+), 43 deletions(-) diff --git a/apps/frontend/src/assets/icons/log-out.svg b/apps/frontend/src/assets/icons/log-out.svg index 2acb0e181..8433720e0 100644 --- a/apps/frontend/src/assets/icons/log-out.svg +++ b/apps/frontend/src/assets/icons/log-out.svg @@ -1,3 +1,3 @@ - + diff --git a/apps/frontend/src/libs/components/sidebar/sidebar.tsx b/apps/frontend/src/libs/components/sidebar/sidebar.tsx index 517640d42..4d23b81de 100644 --- a/apps/frontend/src/libs/components/sidebar/sidebar.tsx +++ b/apps/frontend/src/libs/components/sidebar/sidebar.tsx @@ -72,29 +72,31 @@ const Sidebar: React.FC = ({ menuItems, user }: Properties) => { styles[isOpen ? "open" : "close"], )} > - - - - {label} - - ) - ); - })} - +
+ + website logo + + +