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

Commit

Permalink
fix: socialgouv
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgfr committed Mar 11, 2022
1 parent 436549f commit a032b1b
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .socialgouv/chart/values.project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
app:
probesPath: /healthz
4 changes: 3 additions & 1 deletion src/components/footer/body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ export const Body = (props: FooterBodySectionProps): JSX.Element => (
)}
{props.links?.map((link, index) => (
<FooterBodyItem key={`${index}-${link.title}`}>
<Link href={link.href}>{link.title}</Link>
<Link href={link.href} target="_blank">
{link.title}
</Link>
</FooterBodyItem>
))}
</FooterBody>
Expand Down
42 changes: 40 additions & 2 deletions src/config/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,28 @@ export const footerTopSection: FooterTopSectionProps = {
};

export const footerBodySection: FooterBodySectionProps = {
links,
links: [
{
title: "gouvernement.fr",
href: "https://www.gouvernement.fr/",
},
{
title: "service-public.fr",
href: "https://www.service-public.fr/",
},
{
title: "legifrance.gouv.fr",
href: "https://www.legifrance.gouv.fr/",
},
{
title: "data.gouv.fr",
href: "https://data.gouv.fr/",
},
{
title: "solidarites-sante.gouv.fr",
href: "https://solidarites-sante.gouv.fr/",
},
],
image: {
alt: "",
src: "https://dummyimage.com/100x80/000/fff.png&text=logo+1",
Expand Down Expand Up @@ -147,7 +168,24 @@ export const footerPartnerSection: FooterPartnerSectionProps = {
};

export const footerBottomSection: FooterBottomSectionProps = {
links,
links: [
{
title: "Accessibilité : non conforme",
href: "/mention-legales#accessibilite",
},
{
title: "Mentions légales",
href: "/mention-legales",
},
{
title: "Conditions générales d'utilisation",
href: "/cgu",
},
{
title: "Politique de confidentialité",
href: "/politique-confidentialite",
},
],
version: process.env.NEXT_PUBLIC_APP_VERSION ?? "X.X.X",
repositoryUrl: process.env.NEXT_PUBLIC_APP_REPOSITORY_URL ?? "",
commitHash: process.env.NEXT_PUBLIC_APP_VERSION_COMMIT ?? "master",
Expand Down

0 comments on commit a032b1b

Please sign in to comment.