File tree 3 files changed +311
-782
lines changed
3 files changed +311
-782
lines changed Original file line number Diff line number Diff line change 1
1
'use client' ;
2
2
import Link from 'next/link' ;
3
+ import Head from 'next/head' ;
3
4
4
5
export default function Custom404 ( ) {
5
6
return (
6
- < div className = 'flex flex-col items-center justify-center min-h-screen px-4 bg-white text-black dark:bg-black dark:text-white' >
7
- < div className = 'flex items-center space-x-6 mb-8' >
8
- < h1 className = 'text-3xl font-bold' > 404</ h1 >
9
- < div className = 'h-16 w-px bg-black dark:bg-white' > </ div >
10
- < p className = 'text-xl' > This page could not be found.</ p >
11
- </ div >
7
+ < >
8
+ < Head >
9
+ < meta name = 'robots' content = 'noindex, nofollow' />
10
+ </ Head >
11
+ < div className = 'flex flex-col items-center justify-center min-h-screen px-4 bg-white text-black dark:bg-black dark:text-white' >
12
+ < div className = 'flex items-center space-x-6 mb-8' >
13
+ < h1 className = 'text-3xl font-bold' > 404</ h1 >
14
+ < div className = 'h-16 w-px bg-black dark:bg-white' > </ div >
15
+ < p className = 'text-xl' > This page could not be found.</ p >
16
+ </ div >
12
17
13
- < Link
14
- href = '/'
15
- className = 'px-6 py-3 mt-6 rounded-md font-medium transition-colors bg-black text-white hover:bg-gray-800 dark:bg-white dark:text-black dark:hover:bg-gray-200' >
16
- Go to Home
17
- </ Link >
18
- </ div >
18
+ < Link
19
+ href = '/'
20
+ className = 'px-6 py-3 mt-6 rounded-md font-medium transition-colors bg-black text-white hover:bg-gray-800 dark:bg-white dark:text-black dark:hover:bg-gray-200' >
21
+ Go to Home
22
+ </ Link >
23
+ </ div >
24
+ </ >
19
25
) ;
20
26
}
You can’t perform that action at this time.
0 commit comments