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

23 lines
657 B
JavaScript
Raw Normal View History

2021-01-04 17:12:05 +00:00
import React from 'react';
import { Route } from '@config/routing';
import { Typography, Container } from '@material-ui/core';
2021-01-04 17:12:05 +00:00
import { Link } from 'gatsby-theme-material-ui';
import Seo from '@common/Seo';
import Layout from '@common/Layout';
2020-07-26 10:03:52 +00:00
const NotFoundPage = ({ location }) => (
<Layout>
<Seo title="404" pathname={location.pathname} />
2020-07-26 10:03:52 +00:00
<Container>
<Typography variant="h1" gutterBottom align="center">
2020-07-26 10:03:52 +00:00
Page not found
</Typography>
<Typography variant="h2" align="center">
<Link to={Route.IndexPage}>Back to our site</Link>
2020-07-26 10:03:52 +00:00
</Typography>
</Container>
</Layout>
);
2020-07-26 10:03:52 +00:00
export default NotFoundPage;