fix: change colour on hover for links
This commit is contained in:
parent
bfdaafeb0a
commit
dcfb60e9e3
4 changed files with 11 additions and 16 deletions
|
@ -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>
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue