Skip to content

Commit 25f7ed2

Browse files
authored
feat(docs): added 404 page for the docs (#2450)
* feat(docs): added 404 page for the docs * added metadata
1 parent 9da19e8 commit 25f7ed2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

apps/docs/app/[lang]/not-found.tsx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { DocsBody, DocsPage } from 'fumadocs-ui/page'
2+
3+
export const metadata = {
4+
title: 'Page Not Found',
5+
}
6+
7+
export default function NotFound() {
8+
return (
9+
<DocsPage>
10+
<DocsBody>
11+
<div className='flex min-h-[60vh] flex-col items-center justify-center text-center'>
12+
<h1 className='mb-4 bg-gradient-to-b from-[#8357FF] to-[#6F3DFA] bg-clip-text font-bold text-8xl text-transparent'>
13+
404
14+
</h1>
15+
<h2 className='mb-2 font-semibold text-2xl text-foreground'>Page Not Found</h2>
16+
<p className='text-muted-foreground'>
17+
The page you're looking for doesn't exist or has been moved.
18+
</p>
19+
</div>
20+
</DocsBody>
21+
</DocsPage>
22+
)
23+
}

0 commit comments

Comments
 (0)