Skip to content

Commit 3dd3af8

Browse files
Merge pull request #257 from sei-protocol/redirects
Fix SEO
2 parents f98408b + 8554414 commit 3dd3af8

File tree

3 files changed

+311
-782
lines changed

3 files changed

+311
-782
lines changed

app/not-found.tsx

+18-12
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
'use client';
22
import Link from 'next/link';
3+
import Head from 'next/head';
34

45
export default function Custom404() {
56
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>
1217

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+
</>
1925
);
2026
}

0 commit comments

Comments
 (0)