Skip to content

Commit 2f4a2cf

Browse files
committed
feat: login/admin icons in nav
1 parent 59740e8 commit 2f4a2cf

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

.env.example

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ AUTH_SECRET=
66
NEXTAUTH_URL=https://teos-ai-engine.vercel.app
77
NEXTAUTH_SECRET=
88

9-
# AI
10-
ANTHROPIC_API_KEY=
11-
129
# Admin
1310
ADMIN_EMAILS=aams1969@gmail.com,ayman@teosegypt.com
1411

components/landing/Navigation.tsx

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function Navigation() {
3636
</span>
3737
</a>
3838

39-
<nav className="hidden md:flex items-center gap-6">
39+
<nav className="hidden md:flex items-center gap-5">
4040
{navLinks.map((link) => (
4141
<a
4242
key={link.href}
@@ -47,7 +47,10 @@ export default function Navigation() {
4747
</a>
4848
))}
4949
<LocaleSwitcher />
50-
<a href="/admin" className="text-xs text-[#5a5870] hover:text-[#8a88a0] transition-colors duration-200" title="Admin">
50+
<a href="/login" className="text-sm text-[#5a5870] hover:text-[#e8e6f0] transition-colors duration-200" title="Login">
51+
👤
52+
</a>
53+
<a href="/admin" className="text-sm text-[#5a5870] hover:text-[#e8e6f0] transition-colors duration-200" title="Admin">
5154
5255
</a>
5356
<a href="/login" className="btn-teal text-xs px-5 py-2.5">
@@ -92,12 +95,19 @@ export default function Navigation() {
9295
</a>
9396
))}
9497
<LocaleSwitcher />
98+
<a
99+
href="/login"
100+
onClick={() => setMobileOpen(false)}
101+
className="text-sm text-[#8a88a0] hover:text-[#e8e6f0] transition-colors py-2"
102+
>
103+
👤 Login
104+
</a>
95105
<a
96106
href="/admin"
97107
onClick={() => setMobileOpen(false)}
98-
className="text-xs text-[#5a5870] hover:text-[#8a88a0] transition-colors py-1"
108+
className="text-sm text-[#8a88a0] hover:text-[#e8e6f0] transition-colors py-2"
99109
>
100-
Admin
110+
Admin
101111
</a>
102112
<a
103113
href="/login"

0 commit comments

Comments
 (0)