From 7fb8a62e6302999881c5575fae685e8f9ee0a8a9 Mon Sep 17 00:00:00 2001
From: Anthony LC
Date: Tue, 16 Apr 2024 14:46:15 +0200
Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5(app-impress)=20remove=20La=20Gauff?=
=?UTF-8?q?re=20button?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The web host of the La Gauffre app is down,
La Gauffre was not rendered correctly.
La Gauffre button is removed from the header
of the Impress app, in waiting for the
web host to be up again.
---
src/frontend/apps/e2e/__tests__/app-impress/header.spec.ts | 4 ----
src/frontend/apps/impress/src/features/header/Header.tsx | 2 --
src/frontend/apps/impress/src/pages/_document.tsx | 7 +------
3 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/src/frontend/apps/e2e/__tests__/app-impress/header.spec.ts b/src/frontend/apps/e2e/__tests__/app-impress/header.spec.ts
index 7651dd53..4f65aaf0 100644
--- a/src/frontend/apps/e2e/__tests__/app-impress/header.spec.ts
+++ b/src/frontend/apps/e2e/__tests__/app-impress/header.spec.ts
@@ -27,10 +27,6 @@ test.describe('Header', () => {
/Marianne/i,
);
- await expect(
- header.getByText('Les applications de La Suite numérique'),
- ).toBeVisible();
-
await expect(header.getByAltText('Language Icon')).toBeVisible();
await expect(header.getByText('John Doe')).toBeVisible();
diff --git a/src/frontend/apps/impress/src/features/header/Header.tsx b/src/frontend/apps/impress/src/features/header/Header.tsx
index b07ff7b5..7ffddcc6 100644
--- a/src/frontend/apps/impress/src/features/header/Header.tsx
+++ b/src/frontend/apps/impress/src/features/header/Header.tsx
@@ -4,7 +4,6 @@ import { useTranslation } from 'react-i18next';
import styled from 'styled-components';
import { Box, Text } from '@/components/';
-import { ApplicationsMenu } from '@/features/header/ApplicationsMenu';
import { LanguagePicker } from '../language/';
@@ -89,7 +88,6 @@ export const Header = () => {
alt={t(`Profile picture`)}
/>
-
diff --git a/src/frontend/apps/impress/src/pages/_document.tsx b/src/frontend/apps/impress/src/pages/_document.tsx
index 9ab19cf3..feb0bfb3 100644
--- a/src/frontend/apps/impress/src/pages/_document.tsx
+++ b/src/frontend/apps/impress/src/pages/_document.tsx
@@ -11,12 +11,7 @@ import '@/i18n/initI18n';
export default function RootLayout() {
return (
-
-
-
+