diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 4a6d772..2f94b21 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -27,6 +27,14 @@ function Navigation() { navigate('/'); }; + const getNavLinkStyle = (path: string) => ({ + textDecoration: 'none', + color: location.pathname.startsWith(path) + ? 'var(--color-primary)' + : 'var(--color-text-main)', + fontWeight: location.pathname.startsWith(path) ? 700 : 500, + }); + useEffect(() => { if (location.pathname === '/') { setFullName(''); @@ -76,12 +84,25 @@ function Navigation() {

UniFlow