File tree Expand file tree Collapse file tree 2 files changed +45
-28
lines changed
Expand file tree Collapse file tree 2 files changed +45
-28
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import { buttonVariants } from "fumadocs-ui/components/api" ;
2+ import Image from "next/image" ;
3+ import Link from "next/link" ;
4+ import type { Metadata } from "next" ;
5+
6+ export const metadata : Metadata = {
7+ title : "404 | Page Not Found" ,
8+ } ;
9+
10+ export default function NotFound ( ) {
11+ return (
12+ < div className = "flex items-center w-full h-screen" >
13+ < Image
14+ src = "/icon.svg"
15+ alt = "404"
16+ width = { 40 }
17+ height = { 40 }
18+ className = "mx-auto hidden md:block absolute top-4 left-4"
19+ />
20+ < div className = "w-full space-y-6 text-center" >
21+ < div className = "space-y-2" >
22+ < h1 className = "text-[#F76F53] text-8xl font-bold tracking-tighter transition-transform" >
23+ 404
24+ </ h1 >
25+ < h2 className = "text-4xl font-light tracking-tighter transition-transform" >
26+ Page not found
27+ </ h2 >
28+ </ div >
29+ < hr />
30+ < p className = "text-[#CBC9BF]" >
31+ Oops! You've wandered off the Zen path. Let's guide you back
32+ to tranquility.
33+ </ p >
34+ < Link
35+ className = { buttonVariants ( {
36+ color : "outline" ,
37+ } ) }
38+ href = "/"
39+ >
40+ Return to Docs
41+ </ Link >
42+ </ div >
43+ </ div >
44+ ) ;
45+ }
You can’t perform that action at this time.
0 commit comments