diff --git a/src/front/Components/Layouts/Legal/LegalInformations/index.tsx b/src/front/Components/Layouts/Legal/LegalInformations/index.tsx index d7201c9c..1eced150 100644 --- a/src/front/Components/Layouts/Legal/LegalInformations/index.tsx +++ b/src/front/Components/Layouts/Legal/LegalInformations/index.tsx @@ -1,18 +1,21 @@ +import Typography, { ETypo, ETypoColor } from "@Front/Components/DesignSystem/Typography"; import DefaultLegalDashboard, { ELegalOptions } from "@Front/Components/LayoutTemplates/DefaultLegalDashboard"; +import Link from "next/link"; import { useRouter } from "next/router"; import React from "react"; -import PrivacyPolicy from "./PrivacyPolicy"; -import LegalNotice from "./LegalNotice"; import CGU from "./CGU"; +import classes from "./classes.module.scss"; +import LegalNotice from "./LegalNotice"; +import PrivacyPolicy from "./PrivacyPolicy"; -// const pdfLinks: Record = { -// "mentions-legales": "https://s3.fr-par.scw.cloud/lecoffre.io-bucket/footer/mentions_legales.pdf", -// "politique-de-confidentialite": "https://s3.fr-par.scw.cloud/lecoffre.io-bucket/footer/politique_confidentialite.pdf", -// "politique-de-gestion-des-cookies": "https://s3.fr-par.scw.cloud/lecoffre.io-bucket/footer/politique_cookies.pdf", -// cgs: "https://s3.fr-par.scw.cloud/lecoffre.io-bucket/footer/cgs.pdf", -// cgu: "https://s3.fr-par.scw.cloud/lecoffre.io-bucket/footer/cgu.pdf", -// }; +const pdfLinks: Record = { + "mentions-legales": "https://s3.fr-par.scw.cloud/lecoffre.io-bucket/footer/mentions_legales.pdf", + "politique-de-confidentialite": "https://s3.fr-par.scw.cloud/lecoffre.io-bucket/footer/politique_confidentialite.pdf", + "politique-de-gestion-des-cookies": "https://s3.fr-par.scw.cloud/lecoffre.io-bucket/footer/politique_cookies.pdf", + cgs: "https://s3.fr-par.scw.cloud/lecoffre.io-bucket/footer/cgs.pdf", + cgu: "https://s3.fr-par.scw.cloud/lecoffre.io-bucket/footer/cgu.pdf", +}; export default function LegalInformations() { const router = useRouter(); @@ -28,11 +31,33 @@ function getLegalInformationContent(legalType: ELegalOptions) { case ELegalOptions.CGU: return ; case ELegalOptions.CGS: - return "CGS"; + return ( + + + Votre navigateur ne prend pas en charge l'affichage des pdf  + + + cliquez ici pour télécharger le pdf. + + + + + ); case ELegalOptions.POLITIQUE_DE_CONFIDENTIALITE: return ; case ELegalOptions.POLITIQUE_DE_GESTION_DES_COOKIES: - return "Politique de gestion des cookies"; + return ( + + + Votre navigateur ne prend pas en charge l'affichage des pdf  + + + cliquez ici pour télécharger le pdf. + + + + + ); default: return null; }