Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions frontend/src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,21 @@ const Navbar = () => {
</div>
)}
</div>
{/* Trips shortcut */}
{isAuthenticated && (
<Link
to="/trips"
className={`relative flex items-center justify-center p-2 rounded-full transition
${pathname.startsWith("/trips")
? "text-primary-600 bg-primary-50"
: "text-neutral-600 hover:text-primary-600 hover:bg-neutral-100"
}`}
aria-label="Trips"
>
<i className="fas fa-suitcase text-lg"></i>
</Link>
)}


{/* User profile menu */}

Expand Down