Skip to content

Commit

Permalink
🔥(app-desk) remove La Gauffre
Browse files Browse the repository at this point in the history
Remove La Gauffre in waiting for a hosting fix.
  • Loading branch information
AntoLC committed May 3, 2024
1 parent 339d073 commit 081681a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
2 changes: 0 additions & 2 deletions src/frontend/apps/desk/src/features/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import styled from 'styled-components';

import { Box, Text } from '@/components/';
import { AccountDropdown } from '@/features/header/AccountDropdown';
import { ApplicationsMenu } from '@/features/header/ApplicationsMenu';

import { LanguagePicker } from '../language/';

Expand Down Expand Up @@ -65,7 +64,6 @@ export const Header = () => {
<Box $align="center" $gap="1rem" $justify="flex-end" $direction="row">
<AccountDropdown />
<LanguagePicker />
<ApplicationsMenu />
</Box>
</Box>
</StyledHeader>
Expand Down
13 changes: 1 addition & 12 deletions src/frontend/apps/desk/src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,10 @@ import { Head, Html, Main, NextScript } from 'next/document';

import '@/i18n/initI18n';

/**
* About the Gaufre Vanilla CSS
* To respect next.js standards, the css is included here.
* This css is used with features/header/ApplicationsMenu component.
* If the ApplicationsMenu component is removed, this css can be removed as well.
*/
export default function RootLayout() {
return (
<Html lang="en">
<Head>
<link
rel="stylesheet"
href="https://suite-numerique-gaufre.osc-fr1.scalingo.io/public/styles/gaufre-vanilla.css"
/>
</Head>
<Head />
<body suppressHydrationWarning={process.env.NODE_ENV === 'development'}>
<Main />
<NextScript />
Expand Down
4 changes: 0 additions & 4 deletions src/frontend/apps/e2e/__tests__/app-desk/header.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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('My account')).toBeVisible();
});
Expand Down

0 comments on commit 081681a

Please sign in to comment.