diff --git a/src/frontend/apps/impress/src/pages/403.tsx b/src/frontend/apps/impress/src/pages/403.tsx index 469d5311..dc5a0fbf 100644 --- a/src/frontend/apps/impress/src/pages/403.tsx +++ b/src/frontend/apps/impress/src/pages/403.tsx @@ -1,4 +1,5 @@ import { Button } from '@openfun/cunningham-react'; +import Head from 'next/head'; import Image from 'next/image'; import { ReactElement } from 'react'; import { useTranslation } from 'react-i18next'; @@ -17,34 +18,46 @@ const Page: NextPageWithLayout = () => { const { t } = useTranslation(); return ( - - {t('Image + <> + + + {t('Access Denied - Error 403')} - {t('Docs')} + + + + + {t('Image - - - {t('You do not have permission to view this document.')} - + + + {t('You do not have permission to view this document.')} + - - }> - {t('Home')} - - + + }> + {t('Home')} + + + - + ); }; diff --git a/src/frontend/apps/impress/src/pages/404.tsx b/src/frontend/apps/impress/src/pages/404.tsx index f66e3895..111b15e2 100644 --- a/src/frontend/apps/impress/src/pages/404.tsx +++ b/src/frontend/apps/impress/src/pages/404.tsx @@ -1,4 +1,5 @@ import { Button } from '@openfun/cunningham-react'; +import Head from 'next/head'; import Image from 'next/image'; import { ReactElement } from 'react'; import { useTranslation } from 'react-i18next'; @@ -17,36 +18,48 @@ const Page: NextPageWithLayout = () => { const { t } = useTranslation(); return ( - - {t('Image + <> + + + {t('Page Not Found - Error 404')} - {t('Docs')} + + + + + {t('Image - - - {t( - 'It seems that the page you are looking for does not exist or cannot be displayed correctly.', - )} - + + + {t( + 'It seems that the page you are looking for does not exist or cannot be displayed correctly.', + )} + - - }> - {t('Home')} - - + + }> + {t('Home')} + + + - + ); };