|
|
@ -4,7 +4,7 @@ import { defineMessages, useIntl } from 'react-intl';
|
|
|
|
import PageTitle from '../components/Common/PageTitle';
|
|
|
|
import PageTitle from '../components/Common/PageTitle';
|
|
|
|
|
|
|
|
|
|
|
|
const messages = defineMessages({
|
|
|
|
const messages = defineMessages({
|
|
|
|
errormessagewithcode: '404 - {error}',
|
|
|
|
errormessagewithcode: '{statusCode} - {error}',
|
|
|
|
pagenotfound: 'Page Not Found',
|
|
|
|
pagenotfound: 'Page Not Found',
|
|
|
|
returnHome: 'Return Home',
|
|
|
|
returnHome: 'Return Home',
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -17,6 +17,7 @@ const Custom404: React.FC = () => {
|
|
|
|
<PageTitle title={intl.formatMessage(messages.pagenotfound)} />
|
|
|
|
<PageTitle title={intl.formatMessage(messages.pagenotfound)} />
|
|
|
|
<div className="text-4xl">
|
|
|
|
<div className="text-4xl">
|
|
|
|
{intl.formatMessage(messages.errormessagewithcode, {
|
|
|
|
{intl.formatMessage(messages.errormessagewithcode, {
|
|
|
|
|
|
|
|
statusCode: 404,
|
|
|
|
error: intl.formatMessage(messages.pagenotfound),
|
|
|
|
error: intl.formatMessage(messages.pagenotfound),
|
|
|
|
})}
|
|
|
|
})}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|