import PageTitle from '@app/components/Common/PageTitle'; import { ArrowRightCircleIcon } from '@heroicons/react/24/outline'; import Link from 'next/link'; import { defineMessages, useIntl } from 'react-intl'; const messages = defineMessages({ errormessagewithcode: '{statusCode} - {error}', pagenotfound: 'Page Not Found', returnHome: 'Return Home', }); const Custom404 = () => { const intl = useIntl(); return (
{intl.formatMessage(messages.errormessagewithcode, { statusCode: 404, error: intl.formatMessage(messages.pagenotfound), })}
{intl.formatMessage(messages.returnHome)}
); }; export default Custom404;