2022-10-20 11:57:30 -04:00
|
|
|
import { styled } from '@mui/material/styles';
|
|
|
|
import React from 'react';
|
|
|
|
import { translate } from 'react-polyglot';
|
|
|
|
|
2022-12-01 19:29:33 -05:00
|
|
|
import { lengths } from '@staticcms/core/components/UI/styles';
|
2022-10-20 11:57:30 -04:00
|
|
|
|
|
|
|
import type { ComponentType } from 'react';
|
|
|
|
import type { TranslateProps } from 'react-polyglot';
|
|
|
|
|
|
|
|
const NotFoundContainer = styled('div')`
|
|
|
|
margin: ${lengths.pageMargin};
|
|
|
|
`;
|
|
|
|
|
|
|
|
const NotFoundPage = ({ t }: TranslateProps) => {
|
|
|
|
return (
|
|
|
|
<NotFoundContainer>
|
|
|
|
<h2>{t('app.notFoundPage.header')}</h2>
|
|
|
|
</NotFoundContainer>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default translate()(NotFoundPage) as ComponentType<{}>;
|