Skip to content

Commit e0f300e

Browse files
committed
upgrade fumadocs
1 parent 1b8ab0b commit e0f300e

File tree

3 files changed

+65
-51
lines changed

3 files changed

+65
-51
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"class-variance-authority": "^0.7.0",
1515
"clsx": "^2.0.0",
1616
"date-fns": "^3.6.0",
17-
"fumadocs-core": "^12.5.6",
18-
"fumadocs-mdx": "^8.2.33",
19-
"fumadocs-ui": "^12.3.4",
17+
"fumadocs-core": "^13.3.2",
18+
"fumadocs-mdx": "^9.0.2",
19+
"fumadocs-ui": "^13.3.2",
2020
"katex": "^0.16.10",
2121
"lucide-react": "^0.399.0",
2222
"next": "^14.2.5",

pnpm-lock.yaml

+59-40
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/not-found.tsx

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
import { Layout } from "fumadocs-ui/layout";
1+
import HomeLayout from "@/app/(home)/layout";
22

33
export default function NotFound() {
44
return (
5-
<Layout
6-
nav={{
7-
title: "Substrate Blog",
8-
}}
9-
githubUrl="https://github.com/SubstrateLabs/blog"
10-
>
5+
<HomeLayout>
116
<div className="text-center">
127
<p className="my-4 text-4xl font-bold">404 Not Found</p>
138
<p className="text-lg">Not found 😰</p>
149
</div>
15-
</Layout>
10+
</HomeLayout>
1611
);
1712
}

0 commit comments

Comments
 (0)