diff --git a/frontend/src/components/Navbar.tsx b/frontend/src/components/Navbar.tsx index 626bd06..7f424b9 100644 --- a/frontend/src/components/Navbar.tsx +++ b/frontend/src/components/Navbar.tsx @@ -107,6 +107,36 @@ const Navbar: React.FC = () => { return ( <> + @@ -190,11 +220,67 @@ const Navbar: React.FC = () => { )} - + {user ? ( <> - + {/* Mobile menu - show items directly */} + + + Profile + + + + + Renting + + + + + Owning + {pendingRequestsCount > 0 && ( + + {pendingRequestsCount} + + )} + + + + + Forum + + + + + Earnings + + + + + Messages + {unreadMessagesCount > 0 && ( + + {unreadMessagesCount} + + )} + + + + + + + + Logout + + + + {/* Desktop dropdown */} + { > ) : ( <> - - - Forum + {/* Mobile menu items */} + + + Forum + + + openAuthModal("login")} + > + Login or Sign Up + + + + {/* Desktop buttons */} + Forum - + openAuthModal("login")} - > - Login or Sign Up - - openAuthModal("login")} > Login or Sign Up