fix: resolve build & export 404 component

This commit is contained in:
Jean-Philippe Sirois
2020-08-07 03:10:56 -04:00
parent f5835f6074
commit c6fe8286c8
6 changed files with 67 additions and 54 deletions
+2 -5
View File
@@ -1,16 +1,13 @@
import React, { Fragment } from "react"
import * as SC from "./styles"
import { SEO } from "../components/SEO"
import { FourZeroFour } from "../components/FourZeroFour"
function NotFoundPage() {
return (
<Fragment>
<SEO title="404: Not found" />
<SC.StyledDiv>
<SC.StyledH1>NOT FOUND</SC.StyledH1>
<SC.StyledPara>You just hit a route that doesn&#39;t exist... the sadness.</SC.StyledPara>
</SC.StyledDiv>
<FourZeroFour title="NOT FOUND" />
</Fragment>
)
}