File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { notFound } from "next/navigation" ;
2
+
3
+ export default function NotFoundCatchAll ( ) {
4
+ notFound ( ) ;
5
+ return null ;
6
+ }
Original file line number Diff line number Diff line change
1
+ import { Metadata } from 'next' ;
2
+ import Link from 'next/link' ;
3
+ export const metadata : Metadata = {
4
+ title : '404 PAGE NOT FOUND' ,
5
+ } ;
6
+ export default function NotFound ( ) {
7
+ return (
8
+ < div >
9
+ < div >
10
+ < div className = "px-9 xl:px-28 mx-auto py-40" >
11
+ < h1 className = "text-5xl font-bold text-slate-900 " >
12
+ 404 PAGE NOT FOUND
13
+ </ h1 >
14
+ < div className = "flex justify-start mt-9" >
15
+ < Link
16
+ className = "bg-black/20 hover:bg-black/60 hover:backdrop-blur-lg ml-0 px-9 rounded-md text-slate-800 font-bold py-2 backdrop-blur-sm transition-colors duration-300 ease-in-out "
17
+ href = "/"
18
+ >
19
+ Go Back Home
20
+ </ Link >
21
+ </ div >
22
+ </ div >
23
+ </ div >
24
+ </ div >
25
+ ) ;
26
+ }
You canβt perform that action at this time.
0 commit comments