diff --git a/components/Layout.tsx b/components/Layout.tsx index bebc80f..8aa7f38 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -42,7 +42,9 @@ const Layout = ({ children }: { children: React.ReactNode }) => {
@@ -67,8 +69,8 @@ const Layout = ({ children }: { children: React.ReactNode }) => { href={link.href} className={`px-4 py-2 rounded-full text-sm font-medium transition-all ${ isActive(link.href) - ? 'text-accent bg-accent/5' - : 'text-slate-600 hover:text-primary hover:bg-slate-50' + ? 'text-accent bg-accent/5' + : `${isScrolled ? 'text-slate-600' : 'text-slate-900'} hover:text-primary hover:bg-slate-50` }`} > {link.label}