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

@ -7,8 +7,10 @@ export type Props = {
export default function BlueLink({ to, children }: Props) {
return (
<Link href={to} className="hover:underline text-sky-500 dark:text-sky-400">
{children}
<Link href={to}>
<a className="hover:underline text-sky-500 dark:text-sky-400">
{children}
</a>
</Link>
);
}