22 lines
503 B
JavaScript
22 lines
503 B
JavaScript
import React from 'react';
|
|
import styled from '@emotion/styled';
|
|
import { translate } from 'react-polyglot';
|
|
import { lengths } from 'netlify-cms-ui-default';
|
|
import PropTypes from 'prop-types';
|
|
|
|
const NotFoundContainer = styled.div`
|
|
margin: ${lengths.pageMargin};
|
|
`;
|
|
|
|
const NotFoundPage = ({ t }) => (
|
|
<NotFoundContainer>
|
|
<h2>{t('app.notFoundPage.header')}</h2>
|
|
</NotFoundContainer>
|
|
);
|
|
|
|
NotFoundPage.propTypes = {
|
|
t: PropTypes.func.isRequired,
|
|
};
|
|
|
|
export default translate()(NotFoundPage);
|