Update Navbar component to simplify the link structure by removing conditional routing for authenticated users. This change enhances navigation consistency by directing all users to the home page.

This commit is contained in:
iamkiddy 2025-12-04 19:48:47 +00:00
parent 212ac70b5d
commit 77bc00999d

View File

@ -84,7 +84,7 @@ export function Navbar() {
whileTap={{ scale: 0.95 }}
>
<Link
href={isAuthenticated && !isAdmin ? "/user/dashboard" : "/"}
href="/"
className="flex items-center gap-1.5 sm:gap-2"
>
<div className="bg-gradient-to-r from-rose-500 to-pink-600 p-1.5 sm:p-2 rounded-lg sm:rounded-xl">