Skip to content

Commit

Permalink
feat: update 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
martapanc committed Feb 22, 2024
1 parent 99d839b commit 500737f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import React from 'react';

import Heading from '@/components/atoms/headings/Heading';
import UnstyledLink from '@/components/atoms/links/UnstyledLink';

export default async function NotFound() {
return (
<section className='dark:bg-dark bg-white'>
<div className='layout relative flex flex-col py-16 md:py-24 items-center justify-center'>
<div className='p-4'>
<Heading title='404.title' />
</div>

<span className='text-3xl text-center'>
Whoopsie, this page could not be found.
</span>

<div className='my-32 text-2xl'>
<UnstyledLink
className='decoration-2 animated-underline-2 dark:animated-underline'
href='/'
>
Go back home
</UnstyledLink>
</div>
</div>
</section>
);
}
3 changes: 3 additions & 0 deletions src/data/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,8 @@
},
"recruiters": {
"title": "Info for Recruiters"
},
"404": {
"title": "<404 />"
}
}

0 comments on commit 500737f

Please sign in to comment.