fix: change colour on hover for links

This commit is contained in:
Sam 2022-11-18 15:26:52 +01:00
parent bfdaafeb0a
commit dcfb60e9e3
4 changed files with 11 additions and 16 deletions

View file

@ -9,11 +9,10 @@ export interface Props {
export default function NavItem(props: Props) {
const ret = (
<Link
className="hover:text-sky-500 dark:hover:text-sky-400"
href={props.href}
>
{props.children}
<Link href={props.href}>
<a className="hover:text-sky-500 dark:hover:text-sky-400">
{props.children}
</a>
</Link>
);