From 53d0a52c07ffa455c87194ee5afa0496437aade7 Mon Sep 17 00:00:00 2001 From: Adrian Bonpin Date: Sun, 26 Apr 2026 09:44:29 -0500 Subject: [PATCH] feat: simplify mobile sidebar auth to Profile links --- components/navbar.tsx | 42 ++++++++++++++---------------------------- 1 file changed, 14 insertions(+), 28 deletions(-) diff --git a/components/navbar.tsx b/components/navbar.tsx index 634a70b..157faa4 100644 --- a/components/navbar.tsx +++ b/components/navbar.tsx @@ -379,31 +379,19 @@ export default function Navbar() { {isSessionLoading ? (
) : session ? ( -
-
- {session.user.image ? ( - - ) : ( -
- -
- )} -
-

- {session.user.name} -

-

- {session.user.email} -

-
-
+
+ {authRoutes.map((route) => ( + setMobileMenuOpen(false)} + className='flex items-center gap-2 px-3 py-2 rounded-lg text-sm text-text/70 hover:text-text hover:bg-text/5 transition-colors' + > + {route.icon === "User" && } + {route.icon === "Bookmark" && } + {route.title} + + ))}