This commit is contained in:
Karol Wypchlo 2021-03-28 18:49:30 +02:00
parent 6cdc3a68ca
commit 7d6a70b516
1 changed files with 12 additions and 4 deletions

View File

@ -1,13 +1,21 @@
import * as React from "react"; import * as React from "react";
import { Link } from "gatsby";
import Layout from "../components/Layout/Layout"; import Layout, { Section, SectionTitle } from "../components/Layout";
import SEO from "../components/seo"; import SEO from "../components/seo";
const NotFoundPage = () => ( const NotFoundPage = () => (
<Layout> <Layout>
<SEO title="404: Not found" /> <SEO title="404: Not found" />
<h1>404: Not Found</h1>
<p>You just hit a route that doesn&#39;t exist... the sadness.</p> <Section className="bg-white text-center">
<div className="space-y-8 py-40">
<SectionTitle>404: Not Found</SectionTitle>
<Link to="/" className="inline-block text-primary text-xs">
back to homepage
</Link>
</div>
</Section>
</Layout> </Layout>
); );