forked from mirrors/pronouns.cc
chore(frontend): update Next to 13.0.4
This commit is contained in:
parent
08554eef38
commit
493c0963d5
5 changed files with 500 additions and 293 deletions
|
@ -7,10 +7,8 @@ export type Props = {
|
||||||
|
|
||||||
export default function BlueLink({ to, children }: Props) {
|
export default function BlueLink({ to, children }: Props) {
|
||||||
return (
|
return (
|
||||||
<Link href={to}>
|
<Link href={to} className="hover:underline text-sky-500 dark:text-sky-400">
|
||||||
<a className="hover:underline text-sky-500 dark:text-sky-400">
|
{children}
|
||||||
{children}
|
|
||||||
</a>
|
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,10 +9,11 @@ export interface Props {
|
||||||
|
|
||||||
export default function NavItem(props: Props) {
|
export default function NavItem(props: Props) {
|
||||||
const ret = (
|
const ret = (
|
||||||
<Link href={props.href}>
|
<Link
|
||||||
<a className="hover:text-sky-500 dark:hover:text-sky-400">
|
href={props.href}
|
||||||
{props.children}
|
className="hover:text-sky-500 dark:hover:text-sky-400"
|
||||||
</a>
|
>
|
||||||
|
{props.children}
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -73,9 +73,7 @@ export default function Navigation() {
|
||||||
<div className="py-4 mx-4">
|
<div className="py-4 mx-4">
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
<Link href="/" passHref>
|
<Link href="/" passHref>
|
||||||
<a>
|
<Logo />
|
||||||
<Logo />
|
|
||||||
</a>
|
|
||||||
</Link>
|
</Link>
|
||||||
<div className="ml-auto flex items-center">
|
<div className="ml-auto flex items-center">
|
||||||
<nav className="hidden lg:flex">
|
<nav className="hidden lg:flex">
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sentry/nextjs": "^7.13.0",
|
"@sentry/nextjs": "^7.20.0",
|
||||||
"@types/lodash": "^4.14.189",
|
"@types/lodash": "^4.14.189",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"next": "12.2.2",
|
"next": "13.0.4",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-bootstrap-icons": "^1.8.4",
|
"react-bootstrap-icons": "^1.8.4",
|
||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
"@types/sortablejs": "^1.13.0",
|
"@types/sortablejs": "^1.13.0",
|
||||||
"autoprefixer": "^10.4.7",
|
"autoprefixer": "^10.4.7",
|
||||||
"eslint": "8.19.0",
|
"eslint": "8.19.0",
|
||||||
"eslint-config-next": "12.2.2",
|
"eslint-config-next": "13.0.4",
|
||||||
"postcss": "^8.4.14",
|
"postcss": "^8.4.14",
|
||||||
"prettier": "2.7.1",
|
"prettier": "2.7.1",
|
||||||
"tailwindcss": "^3.1.6",
|
"tailwindcss": "^3.1.6",
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue