-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(A propos): migration au DSFR des pages A propos et Déclaration d…
…'accessibilité (#6440)
- Loading branch information
1 parent
6364fc2
commit a53f878
Showing
22 changed files
with
1,011 additions
and
1,293 deletions.
There are no files selected for viewing
744 changes: 0 additions & 744 deletions
744
packages/code-du-travail-frontend/__tests__/__snapshots__/a-propos.test.tsx.snap
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { DsfrLayout } from "../../src/modules/layout"; | ||
import { generateDefaultMetadata } from "../../src/modules/common/metas"; | ||
import { About } from "../../src/modules/a-propos"; | ||
|
||
export const metadata = generateDefaultMetadata({ | ||
title: "À propos", | ||
description: | ||
"Service public gratuit pour faciliter l'accès au droit du travail. Obtenez une réponse détaillée à vos questions.", | ||
path: "/a-propos", | ||
}); | ||
|
||
function Index() { | ||
return ( | ||
<DsfrLayout> | ||
<About /> | ||
</DsfrLayout> | ||
); | ||
} | ||
|
||
export default Index; |
20 changes: 20 additions & 0 deletions
20
packages/code-du-travail-frontend/app/accessibilite/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { DsfrLayout } from "../../src/modules/layout"; | ||
import { generateDefaultMetadata } from "../../src/modules/common/metas"; | ||
import { About } from "../../src/modules/a-propos"; | ||
import { Accessibilite } from "../../src/modules/accessibilite"; | ||
|
||
export const metadata = generateDefaultMetadata({ | ||
title: "Déclaration d'accessibilité", | ||
description: "Accessibilité du site du Code du travail numérique", | ||
path: "/accessibilite", | ||
}); | ||
|
||
function Index() { | ||
return ( | ||
<DsfrLayout> | ||
<Accessibilite /> | ||
</DsfrLayout> | ||
); | ||
} | ||
|
||
export default Index; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.