umami/pages/404.js

21 lines
559 B
JavaScript
Raw Normal View History

2023-02-15 11:27:18 +01:00
import { Row, Column, Flexbox } from 'react-basics';
import { useIntl } from 'react-intl';
2023-01-11 23:47:38 +01:00
import AppLayout from 'components/layout/AppLayout';
2023-02-15 11:27:18 +01:00
import { labels } from 'components/messages';
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 (
2023-01-11 23:47:38 +01:00
<AppLayout>
2023-02-15 11:27:18 +01:00
<Row>
<Column>
<Flexbox alignItems="center" justifyContent="center" flex={1} style={{ minHeight: 600 }}>
<h1>{formatMessage(labels.pageNotFound)}</h1>
</Flexbox>
</Column>
</Row>
2023-01-11 23:47:38 +01:00
</AppLayout>
2020-07-17 10:03:38 +02:00
);
}