umami/pages/404.js

20 lines
532 B
JavaScript
Raw Normal View History

2023-02-15 11:27:18 +01:00
import { Row, Column, Flexbox } from 'react-basics';
2023-01-11 23:47:38 +01:00
import AppLayout from 'components/layout/AppLayout';
2023-03-22 22:05:55 +01:00
import useMessages from 'hooks/useMessages';
2020-07-17 10:03:38 +02:00
export default function Custom404() {
2023-03-22 22:05:55 +01:00
const { formatMessage, labels } = useMessages();
2023-01-10 08:59:26 +01:00
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
);
}