This repository has been archived on 2022-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
tribalwarshelp.com/src/pages/404.js

29 lines
677 B
JavaScript
Raw Normal View History

2021-01-04 17:12:05 +00:00
import React from 'react';
2020-07-26 10:03:52 +00:00
2021-01-04 17:12:05 +00:00
import { Typography, Box, Container } from '@material-ui/core';
import { Link } from 'gatsby-theme-material-ui';
import SEO from '../components/SEO';
2020-07-26 10:03:52 +00:00
const NotFoundPage = ({ location }) => (
<Box
display="flex"
minHeight="100vh"
alignItems="center"
justifyContent="center"
textAlign="center"
paddingY={3}
2020-07-26 10:03:52 +00:00
>
<SEO title="404" pathname={location.pathname} />
<Container>
<Typography variant="h1" gutterBottom>
Page not found
</Typography>
<Typography variant="h2">
<Link to="/">Back to our site</Link>
2020-07-26 10:03:52 +00:00
</Typography>
</Container>
</Box>
);
2020-07-26 10:03:52 +00:00
export default NotFoundPage;