-
-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathnot-found.tsx
39 lines (37 loc) · 1.45 KB
/
not-found.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { ArrowRightIcon } from 'lucide-react'
import type { Metadata } from 'next'
import Link from '@/components/Link'
import { Layout } from '@/components/layouts/Layout'
import { Button } from '@/components/ui/Button'
export const metadata: Metadata = {
title: 'Not found | Tiptap Documentation',
}
export default async function NotFoundPage() {
return (
<>
<Layout.CTA />
<Layout.Header />
<Layout.Wrapper>
<Layout.Content className="mx-auto">
<div className="h-[50vh] flex flex-col justify-center max-w-[46rem]">
<div className="text-purple-500 leading-[110%] text-sm font-semibold mb-3">404</div>
<h1 className="text-3xl lg:text-5xl leading-none font-bold">Phew, you found it.</h1>
<p className="mt-8 text-sm lg:text-[1.125rem] leading-[1.6]">
You came here, looking for something, and all you get is our 404 page. The page you
are looking for is no longer here. Maybe it was never here in the first place. In any
case, we are sorry you were sent on this wild 🪿 goose chase.
</p>
<div className="flex items-center mt-8">
<Button asChild>
<Link href="/">
Back to overview
<ArrowRightIcon className="w-4 h-4" />
</Link>
</Button>
</div>
</div>
</Layout.Content>
</Layout.Wrapper>
</>
)
}