diff --git a/packages/code-du-travail-frontend/src/modules/home/Components/HomeCard.tsx b/packages/code-du-travail-frontend/src/modules/home/Components/HomeCard.tsx index 5ca020d8d3..56ed0922cb 100644 --- a/packages/code-du-travail-frontend/src/modules/home/Components/HomeCard.tsx +++ b/packages/code-du-travail-frontend/src/modules/home/Components/HomeCard.tsx @@ -1,6 +1,5 @@ import { fr } from "@codegouvfr/react-dsfr"; import { Card } from "@codegouvfr/react-dsfr/Card"; -import { Tag } from "@codegouvfr/react-dsfr/Tag"; export type HomeCardProps = { theme: string; @@ -16,7 +15,7 @@ export const HomeCard = ({ link, }: HomeCardProps) => ( {theme}} + start={

{theme}

} border desc={description} horizontal @@ -27,7 +26,7 @@ export const HomeCard = ({ title={title} titleAs="h3" enlargeLink - end={Consulter} + end={

Consulter

} classes={{ start: fr.cx("fr-mb-2w"), end: fr.cx("fr-text--xs"), diff --git a/packages/code-du-travail-frontend/src/modules/home/__tests__/__snapshots__/index.test.tsx.snap b/packages/code-du-travail-frontend/src/modules/home/__tests__/__snapshots__/index.test.tsx.snap index ad4a057f47..2777e624df 100644 --- a/packages/code-du-travail-frontend/src/modules/home/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/code-du-travail-frontend/src/modules/home/__tests__/__snapshots__/index.test.tsx.snap @@ -155,19 +155,20 @@ exports[` should match snapshot 1`] = `
- light - +

- +

Consulter - +

@@ -199,7 +200,7 @@ exports[` should match snapshot 1`] = ` >