aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/components
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-11-05 15:52:09 -0800
committerPinapelz <yukais@pinapelz.com>2025-11-05 15:52:09 -0800
commit8052754a4bcc3d07208d11aad764d2bb3492166d (patch)
treecd12af3d27ffa124bb3a64c29cbc44e3c2b8ce08 /frontend/src/components
parent44606b2c510bb327982f60506fc0c968a51b6e80 (diff)
add profile page to navbar
Diffstat (limited to 'frontend/src/components')
-rw-r--r--frontend/src/components/NavBar.tsx11
1 files changed, 11 insertions, 0 deletions
diff --git a/frontend/src/components/NavBar.tsx b/frontend/src/components/NavBar.tsx
index 296ac49..6edfcde 100644
--- a/frontend/src/components/NavBar.tsx
+++ b/frontend/src/components/NavBar.tsx
@@ -22,6 +22,17 @@ export const NavBar = ({ currentPage, user, handleLogout }: {
Home
</Link>
<Link
+ to="/profile"
+ className={`px-4 py-2 rounded-lg text-sm font-medium transition-all duration-200 ${
+ currentPage === 'profile'
+ ? 'bg-violet-600 text-white shadow-lg shadow-violet-500/25'
+ : 'text-slate-300 hover:text-white hover:bg-slate-800/50'
+ }`}
+ onClick={() => setIsMobileMenuOpen(false)}
+ >
+ Profile
+ </Link>
+ <Link
to="/import"
className={`px-4 py-2 rounded-lg text-sm font-medium transition-all duration-200 ${
currentPage === 'import'
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage