Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit a032b1b

Browse files
committed
fix: socialgouv
1 parent 436549f commit a032b1b

File tree

3 files changed

+45
-3
lines changed

3 files changed

+45
-3
lines changed

.socialgouv/chart/values.project.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
app:
2+
probesPath: /healthz

src/components/footer/body.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ export const Body = (props: FooterBodySectionProps): JSX.Element => (
1717
)}
1818
{props.links?.map((link, index) => (
1919
<FooterBodyItem key={`${index}-${link.title}`}>
20-
<Link href={link.href}>{link.title}</Link>
20+
<Link href={link.href} target="_blank">
21+
{link.title}
22+
</Link>
2123
</FooterBodyItem>
2224
))}
2325
</FooterBody>

src/config/layout.ts

+40-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,28 @@ export const footerTopSection: FooterTopSectionProps = {
115115
};
116116

117117
export const footerBodySection: FooterBodySectionProps = {
118-
links,
118+
links: [
119+
{
120+
title: "gouvernement.fr",
121+
href: "https://www.gouvernement.fr/",
122+
},
123+
{
124+
title: "service-public.fr",
125+
href: "https://www.service-public.fr/",
126+
},
127+
{
128+
title: "legifrance.gouv.fr",
129+
href: "https://www.legifrance.gouv.fr/",
130+
},
131+
{
132+
title: "data.gouv.fr",
133+
href: "https://data.gouv.fr/",
134+
},
135+
{
136+
title: "solidarites-sante.gouv.fr",
137+
href: "https://solidarites-sante.gouv.fr/",
138+
},
139+
],
119140
image: {
120141
alt: "",
121142
src: "https://dummyimage.com/100x80/000/fff.png&text=logo+1",
@@ -147,7 +168,24 @@ export const footerPartnerSection: FooterPartnerSectionProps = {
147168
};
148169

149170
export const footerBottomSection: FooterBottomSectionProps = {
150-
links,
171+
links: [
172+
{
173+
title: "Accessibilité : non conforme",
174+
href: "/mention-legales#accessibilite",
175+
},
176+
{
177+
title: "Mentions légales",
178+
href: "/mention-legales",
179+
},
180+
{
181+
title: "Conditions générales d'utilisation",
182+
href: "/cgu",
183+
},
184+
{
185+
title: "Politique de confidentialité",
186+
href: "/politique-confidentialite",
187+
},
188+
],
151189
version: process.env.NEXT_PUBLIC_APP_VERSION ?? "X.X.X",
152190
repositoryUrl: process.env.NEXT_PUBLIC_APP_REPOSITORY_URL ?? "",
153191
commitHash: process.env.NEXT_PUBLIC_APP_VERSION_COMMIT ?? "master",

0 commit comments

Comments
 (0)