aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/components/Navigation.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-03 03:51:29 +0900
committernsfisis <nsfisis@gmail.com>2025-12-04 23:27:28 +0900
commit58d132139ba8d5fa17c8681a0275047ce4cca809 (patch)
tree7dd18f5de496483b7d318e12e43379a51f3a6056 /frontend/src/components/Navigation.tsx
parentaac4e9ccdebe52c156506d1899d5a38e99366f69 (diff)
downloadfeedaka-58d132139ba8d5fa17c8681a0275047ce4cca809.tar.gz
feedaka-58d132139ba8d5fa17c8681a0275047ce4cca809.tar.zst
feedaka-58d132139ba8d5fa17c8681a0275047ce4cca809.zip
feat(frontend): design update
Diffstat (limited to 'frontend/src/components/Navigation.tsx')
-rw-r--r--frontend/src/components/Navigation.tsx19
1 files changed, 12 insertions, 7 deletions
diff --git a/frontend/src/components/Navigation.tsx b/frontend/src/components/Navigation.tsx
index c4af36a..1f99cd6 100644
--- a/frontend/src/components/Navigation.tsx
+++ b/frontend/src/components/Navigation.tsx
@@ -17,13 +17,16 @@ export function Navigation() {
};
return (
- <nav className="bg-white shadow-sm border-b border-gray-200">
- <div className="container mx-auto px-4">
- <div className="flex items-center justify-between h-16">
- <Link href="/" className="text-xl font-bold text-gray-900">
+ <nav className="sticky top-0 z-50 bg-white/80 backdrop-blur-sm border-b border-stone-200/60">
+ <div className="mx-auto max-w-5xl px-6">
+ <div className="flex items-center justify-between h-14">
+ <Link
+ href="/"
+ className="text-lg font-semibold tracking-tight text-stone-900"
+ >
feedaka
</Link>
- <div className="flex items-center space-x-6">
+ <div className="flex items-center gap-1">
<MenuItem path="/unread" label="Unread" icon={faBookOpen} />
<MenuItem path="/read" label="Read" icon={faCircleCheck} />
<MenuItem path="/settings" label="Settings" icon={faGear} />
@@ -31,11 +34,13 @@ export function Navigation() {
<button
type="button"
onClick={handleLogout}
- className="flex items-center space-x-2 text-gray-600 hover:text-gray-900"
+ className="flex items-center gap-2 px-3 py-1.5 rounded-lg text-stone-500 hover:text-stone-900 hover:bg-stone-100 transition-all duration-200"
title="Logout"
>
<FontAwesomeIcon icon={faRightFromBracket} />
- <span className="hidden sm:inline">Logout</span>
+ <span className="hidden sm:inline text-sm font-medium">
+ Logout
+ </span>
</button>
)}
</div>