|
| 1 | +import Link from 'next/link'; |
| 2 | + |
1 | 3 | import Layout from '@/components/layout/Layout'; |
2 | | -import ArrowLink from '@/components/links/ArrowLink'; |
3 | | -import ButtonLink from '@/components/links/ButtonLink'; |
4 | | -import LottieAnimation from '@/components/lotties'; |
5 | 4 | import Seo from '@/components/Seo'; |
6 | 5 |
|
7 | | -import heroLottie from '~/lotties/404.json'; |
8 | | - |
9 | 6 | export default function NotFoundPage() { |
10 | 7 | return ( |
11 | 8 | <Layout> |
12 | 9 | <Seo templateTitle='404' /> |
13 | 10 |
|
14 | | - <main> |
15 | | - <section className='layout flex h-[calc(100vh-60px)] flex-col items-center justify-center text-center'> |
16 | | - <div className='flex items-center justify-center space-x-4'> |
17 | | - <LottieAnimation |
18 | | - animationData={heroLottie} |
19 | | - width={250} |
20 | | - height={250} |
21 | | - /> |
22 | | - <div className='max-w-lg text-left'> |
23 | | - <h1 className='mt-8 text-6xl font-black'>404!</h1> |
24 | | - <h2 className='my-4 text-2xl'> |
25 | | - The page you are looking for might have been removed or had its |
26 | | - name changed or is temporarily unavailable. |
27 | | - </h2> |
28 | | - <ArrowLink |
29 | | - className='mt-4 inline-flex items-center md:text-lg' |
30 | | - href='/' |
31 | | - as={ButtonLink} |
32 | | - variant='light' |
33 | | - > |
34 | | - Back to Home |
35 | | - </ArrowLink> |
36 | | - </div> |
| 11 | + <main className='grid min-h-full place-items-center bg-white px-6 py-24 sm:py-32 lg:px-8'> |
| 12 | + <div className='text-center'> |
| 13 | + <p className='text-base font-semibold text-indigo-600'>404</p> |
| 14 | + <h1 className='mt-4 text-balance text-5xl font-semibold tracking-tight text-gray-900 sm:text-7xl'> |
| 15 | + Page not found |
| 16 | + </h1> |
| 17 | + <p className='mt-6 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8'> |
| 18 | + Sorry, we couldn’t find the page you’re looking for. |
| 19 | + </p> |
| 20 | + <div className='mt-6 space-x-4'> |
| 21 | + <Link |
| 22 | + href='/' |
| 23 | + className='rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600' |
| 24 | + > |
| 25 | + Go back home |
| 26 | + </Link> |
| 27 | + <Link |
| 28 | + href='/contact' |
| 29 | + className='text-sm font-semibold text-gray-900' |
| 30 | + > |
| 31 | + Contact support <span aria-hidden='true'>→</span> |
| 32 | + </Link> |
37 | 33 | </div> |
38 | | - </section> |
| 34 | + </div> |
39 | 35 | </main> |
40 | 36 | </Layout> |
41 | 37 | ); |
|
0 commit comments