From 3fe71af326c7112f6501b902cb41054cfee3fc5c Mon Sep 17 00:00:00 2001 From: Felix Schlegel Date: Mon, 18 Nov 2024 15:03:28 +0100 Subject: [PATCH] refactor: move drop down menu to separate component This makes the navigation bar component less clustered --- .../navigation-bar/NavigationBar.svelte | 80 +---------------- .../composites/navigation-bar/UserMenu.svelte | 89 +++++++++++++++++++ 2 files changed, 92 insertions(+), 77 deletions(-) create mode 100644 src/lib/components/composites/navigation-bar/UserMenu.svelte diff --git a/src/lib/components/composites/navigation-bar/NavigationBar.svelte b/src/lib/components/composites/navigation-bar/NavigationBar.svelte index a2b10db6..c7ace067 100644 --- a/src/lib/components/composites/navigation-bar/NavigationBar.svelte +++ b/src/lib/components/composites/navigation-bar/NavigationBar.svelte @@ -1,16 +1,9 @@