Files
hats-app/app/admin/not-found.tsx
2025-12-19 13:57:55 +07:00

18 lines
980 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="h-[80vh] 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-[28rem] 2xl:w-[40rem] 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='/admin'>
<Button variant='outline'>Back to Home</Button>
</Link>
</div>
</div>
)
}