umami/pages/404.js

19 lines
492 B
JavaScript
Raw Normal View History

2020-08-07 11:27:12 +02:00
import Layout from 'components/layout/Layout';
2023-01-10 08:59:26 +01:00
import { useIntl, defineMessages } from 'react-intl';
const messages = defineMessages({
notFound: { id: 'message.page-not-found', defaultMessage: 'Page not found' },
});
2020-07-17 10:03:38 +02:00
export default function Custom404() {
2023-01-10 08:59:26 +01:00
const { formatMessage } = useIntl();
2020-07-17 10:03:38 +02:00
return (
2020-07-24 04:56:55 +02:00
<Layout>
2020-08-15 10:17:15 +02:00
<div className="row justify-content-center">
2023-01-10 08:59:26 +01:00
<h1 style={{ textAlign: 'center' }}>{formatMessage(messages.notFound)}</h1>
2020-08-15 10:17:15 +02:00
</div>
2020-07-17 10:03:38 +02:00
</Layout>
);
}