diff --git a/src/components/NavLink.tsx b/src/components/NavLink.tsx index e3128ea..1808727 100644 --- a/src/components/NavLink.tsx +++ b/src/components/NavLink.tsx @@ -1,16 +1,20 @@ import Link from 'next/link' +import clsx from 'clsx' -export function NavLink({ - href, - children, -}: { +type NavLinkProps = { href: string children: React.ReactNode -}) { + className?: string +} + +export function NavLink({ href, children, className }: NavLinkProps) { return ( {children} diff --git a/src/components/home/Foundation.tsx b/src/components/home/Foundation.tsx index 7aad125..3b32858 100644 --- a/src/components/home/Foundation.tsx +++ b/src/components/home/Foundation.tsx @@ -34,7 +34,7 @@ const foundations = [ export function Foundation() { return ( -