diff --git a/src/frontend/apps/e2e/__tests__/app-impress/404.spec.ts b/src/frontend/apps/e2e/__tests__/app-impress/404.spec.ts
index dc2190dd..83b9b823 100644
--- a/src/frontend/apps/e2e/__tests__/app-impress/404.spec.ts
+++ b/src/frontend/apps/e2e/__tests__/app-impress/404.spec.ts
@@ -17,13 +17,13 @@ test.describe('404', () => {
'It seems that the page you are looking for does not exist or cannot be displayed correctly.',
),
).toBeVisible();
- await expect(page.getByText('Back to home page')).toBeVisible();
+ await expect(page.getByText('Home')).toBeVisible();
});
test('checks go back to home page redirects to home page', async ({
page,
}) => {
- await page.getByText('Back to home page').click();
+ await page.getByText('Home').click();
await expect(page).toHaveURL('/');
});
});
diff --git a/src/frontend/apps/impress/src/pages/404.tsx b/src/frontend/apps/impress/src/pages/404.tsx
index c3a66630..0c50f5c1 100644
--- a/src/frontend/apps/impress/src/pages/404.tsx
+++ b/src/frontend/apps/impress/src/pages/404.tsx
@@ -5,7 +5,7 @@ import styled from 'styled-components';
import Icon404 from '@/assets/icons/icon-404.svg';
import { Box, StyledLink, Text } from '@/components';
-import { MainLayout } from '@/layouts';
+import { PageLayout } from '@/layouts';
import { NextPageWithLayout } from '@/types/next';
const StyledButton = styled(Button)`
@@ -33,7 +33,15 @@ const Page: NextPageWithLayout = () => {
- {t('Back to home page')}
+
+ house
+
+ }
+ >
+ {t('Home')}
+
@@ -41,7 +49,7 @@ const Page: NextPageWithLayout = () => {
};
Page.getLayout = function getLayout(page: ReactElement) {
- return {page};
+ return {page};
};
export default Page;
diff --git a/src/frontend/apps/impress/src/pages/offline/index.tsx b/src/frontend/apps/impress/src/pages/offline/index.tsx
index 2e1e97e7..5b101d38 100644
--- a/src/frontend/apps/impress/src/pages/offline/index.tsx
+++ b/src/frontend/apps/impress/src/pages/offline/index.tsx
@@ -31,7 +31,15 @@ const Page: NextPageWithLayout = () => {
- {t('Back to home page')}
+
+ house
+
+ }
+ >
+ {t('Home')}
+