🔥(app-desk) remove FAQ part in header
The FAQ part in the header is not displayed in the mockup anymore, we remove it.
This commit is contained in:
@@ -10,7 +10,6 @@ import { LanguagePicker } from '../language/';
|
||||
|
||||
import { default as IconCells } from './assets/icon-cells.svg?url';
|
||||
import { default as IconDesk } from './assets/icon-desk.svg?url';
|
||||
import { default as IconFAQ } from './assets/icon-faq.svg?url';
|
||||
import { default as IconGouv } from './assets/icon-gouv.svg?url';
|
||||
import { default as IconMarianne } from './assets/icon-marianne.svg?url';
|
||||
import IconMyAccount from './assets/icon-my-account.png';
|
||||
@@ -76,14 +75,6 @@ export const Header = () => {
|
||||
$direction="row"
|
||||
>
|
||||
<Box $align="center" $direction="row">
|
||||
<Button
|
||||
aria-label={t('Access to FAQ')}
|
||||
icon={<Image priority src={IconFAQ} alt={t('FAQ Icon')} />}
|
||||
className="m-s c__button-no-bg p-0"
|
||||
color="tertiary"
|
||||
>
|
||||
{t('FAQ')}
|
||||
</Button>
|
||||
<LanguagePicker />
|
||||
</Box>
|
||||
<Box $direction="row">
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
d="M21 3C21.5523 3 22 3.44772 22 4V18C22 18.5523 21.5523 19 21 19H6.455L2 22.5V4C2 3.44772 2.44772 3 3 3H21ZM20 5H4V18.385L5.763 17H20V5ZM13 14V16H11V14H13ZM12.4592 6.02822C14.2875 6.27003 15.6148 7.88878 15.4936 9.72908C15.3724 11.5694 13.8443 13.0001 12 13H11V11H12C12.7902 11 13.4448 10.387 13.4967 9.59851C13.5486 8.81006 12.9799 8.11655 12.1966 8.01295C11.4133 7.90935 10.6839 8.43117 10.529 9.206L8.567 8.813C8.92838 7.00447 10.6308 5.78641 12.4592 6.02822Z"
|
||||
fill="#000091"
|
||||
/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 663 B |
@@ -6,9 +6,6 @@
|
||||
"Freedom Equality Fraternity Logo": "Logo Liberté Égalité Fraternité",
|
||||
"Desk Logo": "Logo Desk",
|
||||
"Desk": "Desk",
|
||||
"Access to FAQ": "Accès à la FAQ",
|
||||
"FAQ Icon": "Icône FAQ",
|
||||
"FAQ": "FAQ",
|
||||
"Profile picture": "Photo du profil",
|
||||
"Access to the cells menu": "Accès au menu cellules",
|
||||
"Cells icon": "Icône Cellules",
|
||||
|
||||
@@ -27,12 +27,6 @@ test.describe('Header', () => {
|
||||
/Marianne/i,
|
||||
);
|
||||
|
||||
await expect(
|
||||
header.getByRole('button', { name: 'Access to FAQ' }),
|
||||
).toBeVisible();
|
||||
await expect(header.getByAltText('FAQ Icon')).toBeVisible();
|
||||
await expect(header.getByText('FAQ')).toBeVisible();
|
||||
|
||||
await expect(header.getByAltText('Cells icon')).toBeVisible();
|
||||
|
||||
await expect(header.getByAltText('Language Icon')).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user