diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index c6972a9..77e2b50 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -94,10 +94,8 @@ export default function Navbar({ const baseUrl = import.meta.env.VITE_BASE_URL; - const protectedPaths = ["/passes", "/whats-included", "/", "/melbourne"]; - const handleOpenLoginModal = () => { - if (!user && protectedPaths.includes(location.pathname)) { + if (!user) { setLoginOpen(true); } else if (!user) { @@ -613,27 +611,7 @@ export default function Navbar({ } /> - {/* Shopping Cart */} - {/* setActiveCartDropdown(prev => !prev)} - items={cartDropdownItems} - title="Shopping Cart" - trigger={ -
- - - {cartItems.length} - -
- } - /> */} - navigate("/cart")} /> + navigate("/cart")} /> {/* Enhanced City Card Button with Source Tracking */}