chore(frontend): update Next to 13.0.4

This commit is contained in:
Sam 2022-11-19 16:52:52 +01:00
parent 08554eef38
commit 493c0963d5
5 changed files with 500 additions and 293 deletions

View file

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

View file

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

View file

@ -73,9 +73,7 @@ export default function Navigation() {
<div className="py-4 mx-4">
<div className="flex items-center">
<Link href="/" passHref>
<a>
<Logo />
</a>
<Logo />
</Link>
<div className="ml-auto flex items-center">
<nav className="hidden lg:flex">