diff --git a/frontend/src/components/navbar.tsx b/frontend/src/components/navbar.tsx index b709b6564..a80880006 100644 --- a/frontend/src/components/navbar.tsx +++ b/frontend/src/components/navbar.tsx @@ -42,32 +42,34 @@ function Navbar() { logo Proxmox VE Helper-Scripts -
+
- - - {navbarLinks.map(({ href, event, icon, text, mobileHidden }) => ( - - - - - - - {text} - - - - ))} - +
+ + + {navbarLinks.map(({ href, event, icon, text, mobileHidden }) => ( + + + + + + + {text} + + + + ))} + +
diff --git a/frontend/src/components/navigation/mobile-sidebar.tsx b/frontend/src/components/navigation/mobile-sidebar.tsx index 653b82ee8..086ecaf69 100644 --- a/frontend/src/components/navigation/mobile-sidebar.tsx +++ b/frontend/src/components/navigation/mobile-sidebar.tsx @@ -1,6 +1,7 @@ "use client"; import { useCallback, useEffect, useState } from "react"; +import { usePathname } from "next/navigation"; import { useQueryState } from "nuqs"; import { Menu } from "lucide-react"; @@ -18,9 +19,20 @@ function MobileSidebar() { const [isLoading, setIsLoading] = useState(false); const [categories, setCategories] = useState([]); const [lastViewedScript, setLastViewedScript] = useState