From 9ab6dfe53e2be0857683ab39247bbe46df72c400 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Sun, 6 Apr 2025 18:47:55 +0200 Subject: [PATCH] Improve navbar --- ui/src/components/Layout.tsx | 3 ++- ui/src/components/NavigationBar.tsx | 40 ++++++++++++++++------------- 2 files changed, 24 insertions(+), 19 deletions(-) diff --git a/ui/src/components/Layout.tsx b/ui/src/components/Layout.tsx index 5132a13..3e85962 100644 --- a/ui/src/components/Layout.tsx +++ b/ui/src/components/Layout.tsx @@ -11,6 +11,7 @@ interface LayoutProps { export function Layout({ children }: LayoutProps) { const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false); + return (
+ {isCollapsable && ( + + )}