Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 18 additions & 12 deletions app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
'use client';
import Link from 'next/link';
import Head from 'next/head';

export default function Custom404() {
return (
<div className='flex flex-col items-center justify-center min-h-screen px-4 bg-white text-black dark:bg-black dark:text-white'>
<div className='flex items-center space-x-6 mb-8'>
<h1 className='text-3xl font-bold'>404</h1>
<div className='h-16 w-px bg-black dark:bg-white'></div>
<p className='text-xl'>This page could not be found.</p>
</div>
<>
<Head>
<meta name='robots' content='noindex, nofollow' />
</Head>
<div className='flex flex-col items-center justify-center min-h-screen px-4 bg-white text-black dark:bg-black dark:text-white'>
<div className='flex items-center space-x-6 mb-8'>
<h1 className='text-3xl font-bold'>404</h1>
<div className='h-16 w-px bg-black dark:bg-white'></div>
<p className='text-xl'>This page could not be found.</p>
</div>

<Link
href='/'
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'>
Go to Home
</Link>
</div>
<Link
href='/'
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'>
Go to Home
</Link>
</div>
</>
);
}
Loading