1 | import Link from 'next/link'; |
||
2 | import { Layout } from 'src/components/Layout'; |
||
3 | import { SEO } from 'src/components/SEO'; |
||
4 | import { FullPageHeadline } from 'src/components/FullPageHeadline/FullPageHeadline'; |
||
5 | import contactInfoYml from 'src/data/contact-info.yml'; |
||
6 | |||
7 | const NotFoundPage = ({ contactInfo }) => ( |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
8 | <Layout> |
||
9 | <SEO title="404: Not found" /> |
||
10 | |||
11 | <FullPageHeadline name="" highlightedName="404" contactInfo={contactInfo}> |
||
12 | Whatever that was... it ain't here, ¯\_(ツ)_/¯. |
||
13 | <p> |
||
14 | <br /> |
||
15 | Feel like trying the |
||
16 | <Link href="/">homepage</Link> |
||
17 | instead? |
||
18 | </p> |
||
19 | </FullPageHeadline> |
||
20 | </Layout> |
||
21 | ); |
||
22 | |||
23 | const getStaticProps = async () => ({ |
||
24 | props: { |
||
25 | contactInfo: contactInfoYml.items, |
||
26 | }, |
||
27 | }); |
||
28 | |||
29 | export { getStaticProps }; |
||
30 | export default NotFoundPage; |
||
31 |