From 36c432606fa6a9512d1e51a9e8f28f6d3b9f1138 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Thu, 29 Jan 2026 00:56:38 +0100 Subject: [PATCH] update --- components/Layout.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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}