diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro
index 4ad240c..845ae17 100644
--- a/src/components/Navigation.astro
+++ b/src/components/Navigation.astro
@@ -9,6 +9,7 @@ const navItems = [
{ href: '/dev', label: 'Dev', icon: 'code' },
{ href: '/blog', label: 'Blog', icon: 'file' },
// { href: '/hubert', label: 'Hubert', icon: 'chat' }, // temporarily disabled
+ { href: 'https://git.nicholai.work/Nicholai', label: 'Git', icon: 'git', external: true },
{ href: '/contact', label: 'Contact', icon: 'mail' },
];
@@ -34,6 +35,7 @@ function isActive(href: string): boolean {
]}
aria-label={item.label}
data-icon={item.icon}
+ {...(item.external ? { target: "_blank", rel: "noopener noreferrer" } : {})}
>
{/* Home icon */}
{item.icon === 'home' && (
@@ -72,6 +74,15 @@ function isActive(href: string): boolean {
)}
+ {/* Git icon */}
+ {item.icon === 'git' && (
+
+ )}
{/* Tooltip */}
{item.label}
@@ -122,6 +133,7 @@ function isActive(href: string): boolean {
? "bg-brand-accent/10 text-brand-accent"
: "text-[var(--theme-text-muted)] hover:text-[var(--theme-text-primary)] hover:bg-[var(--theme-hover-bg-strong)]"
]}
+ {...(item.external ? { target: "_blank", rel: "noopener noreferrer" } : {})}
>
{/* Home icon */}
{item.icon === 'home' && (
@@ -160,6 +172,15 @@ function isActive(href: string): boolean {
)}
+ {/* Git icon */}
+ {item.icon === 'git' && (
+
+ )}
{item.label}