-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to 404
- Loading branch information
Showing
1 changed file
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,30 @@ | ||
/** @jsx jsx */ | ||
import * as React from "react" | ||
import type { PageProps } from "gatsby" | ||
import Layout from "@lekoarts/gatsby-theme-minimal-blog/src/components/layout" | ||
import "/src/components/billboard/styles.css" | ||
import { Grid, Box, Container, jsx, get , Button} from "theme-ui" | ||
|
||
const NotFound = (_props: PageProps) => ( | ||
<Layout> | ||
<h1>404 - Page Not Found</h1> | ||
<p>Unfortunately we couldn't find what you were looking for :(</p> | ||
<Box sx={{ | ||
background: t => `linear-gradient(to bottom, ${t.colors.primary}, ${t.colors.divide})`, | ||
marginLeft: '-50vw', | ||
marginRight: '-50vw', | ||
mb: -25, | ||
pb: 200, | ||
pt: 150, | ||
mt: -130, | ||
}}> | ||
<div sx={{ fontSize: [8], fontWeight: `bold`, color: `heading` }}> | ||
<center>Page not found</center> | ||
</div> | ||
|
||
<div sx={{ fontSize: [4], color: `subheading` }}> | ||
<center>The requested page could not be found.</center> | ||
</div> | ||
</Box> | ||
</Layout> | ||
) | ||
|
||
export default NotFound | ||
export default NotFound |