mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 11:06:29 +00:00
18 lines
970 B
TypeScript
18 lines
970 B
TypeScript
import Image from 'next/image'
|
|
import Link from 'next/link'
|
|
import { Button } from '@/components/ui/button'
|
|
|
|
export default function NotFound() {
|
|
return (
|
|
<div className="min-h-screen flex flex-col justify-center items-center overflow-x-hidden overflow-y-auto py-5">
|
|
<Image alt='404' height={0} width={0} quality={70} src='/assets/illustrations/404.svg' className='w-80 md:w-md 2xl:w-160 shadow-sm rounded-full object-cover' />
|
|
<h2 className="text-xl sm:text-2xl font-semibold tracking-tight text-center">404 Page not Found</h2>
|
|
<span className="text-center mt-1 mb-5 text-zinc-600 dark:text-zinc-400 md:w-9/12 break-all px-10 sm:px-0">Looks like the page you were looking for does not exist</span>
|
|
<div className="flex items-center space-x-2">
|
|
<Link href='/'>
|
|
<Button variant='outline'>Back to Home</Button>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
)
|
|
} |