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">

View File

@ -8,10 +8,10 @@
"lint": "next lint"
},
"dependencies": {
"@sentry/nextjs": "^7.13.0",
"@sentry/nextjs": "^7.20.0",
"@types/lodash": "^4.14.189",
"lodash": "^4.17.21",
"next": "12.2.2",
"next": "13.0.4",
"react": "18.2.0",
"react-bootstrap-icons": "^1.8.4",
"react-dom": "18.2.0",
@ -30,7 +30,7 @@
"@types/sortablejs": "^1.13.0",
"autoprefixer": "^10.4.7",
"eslint": "8.19.0",
"eslint-config-next": "12.2.2",
"eslint-config-next": "13.0.4",
"postcss": "^8.4.14",
"prettier": "2.7.1",
"tailwindcss": "^3.1.6",

File diff suppressed because it is too large Load Diff