mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
19 lines
492 B
JavaScript
19 lines
492 B
JavaScript
import Layout from 'components/layout/Layout';
|
|
import { useIntl, defineMessages } from 'react-intl';
|
|
|
|
const messages = defineMessages({
|
|
notFound: { id: 'message.page-not-found', defaultMessage: 'Page not found' },
|
|
});
|
|
|
|
export default function Custom404() {
|
|
const { formatMessage } = useIntl();
|
|
|
|
return (
|
|
<Layout>
|
|
<div className="row justify-content-center">
|
|
<h1 style={{ textAlign: 'center' }}>{formatMessage(messages.notFound)}</h1>
|
|
</div>
|
|
</Layout>
|
|
);
|
|
}
|