feat/booking-panel #52
@ -80,7 +80,10 @@ export function Navbar() {
|
||||
whileHover={{ scale: 1.05 }}
|
||||
whileTap={{ scale: 0.95 }}
|
||||
>
|
||||
<Link href="/" className="flex items-center gap-1.5 sm:gap-2">
|
||||
<Link
|
||||
href={isAuthenticated && !isAdmin ? "/user/dashboard" : "/"}
|
||||
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">
|
||||
<Heart className="h-4 w-4 sm:h-5 sm:w-5 text-white fill-white" />
|
||||
</div>
|
||||
@ -127,7 +130,7 @@ export function Navbar() {
|
||||
</Button>
|
||||
)}
|
||||
<ThemeToggle />
|
||||
{!isUserDashboard && (
|
||||
{!isAdmin && (
|
||||
<Link
|
||||
href="/book-now"
|
||||
className={`text-sm font-medium transition-colors cursor-pointer px-3 py-2 rounded-lg hover:opacity-90 ${isDark ? 'text-gray-300 hover:text-white' : 'text-gray-700 hover:text-rose-600'}`}
|
||||
@ -231,7 +234,7 @@ export function Navbar() {
|
||||
Sign In
|
||||
</Button>
|
||||
)}
|
||||
{!isUserDashboard && (
|
||||
{!isAdmin && (
|
||||
<Link
|
||||
href="/book-now"
|
||||
onClick={() => setMobileMenuOpen(false)}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user