From a9756155c6d9255ffdbc63850eb4a6ed583338d4 Mon Sep 17 00:00:00 2001 From: jessy-david-dev Date: Tue, 27 Jan 2026 18:01:12 +0100 Subject: [PATCH] feat(footer): add legal links and cookie settings button --- component/layout/Footer.tsx | 49 ++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/component/layout/Footer.tsx b/component/layout/Footer.tsx index 2dbfe14..03365b4 100644 --- a/component/layout/Footer.tsx +++ b/component/layout/Footer.tsx @@ -2,7 +2,15 @@ import { siteConfig } from "@/config/site"; import { motion, type Variants } from "framer-motion"; -import { Github, Heart, Linkedin, Mail } from "lucide-react"; +import { + Cookie, + Github, + Heart, + Linkedin, + Mail, + Scale, + Shield, +} from "lucide-react"; import Image from "next/image"; import Link from "next/link"; @@ -16,6 +24,19 @@ const socials = [ { name: "Email", href: "mailto:contact@jessy-david.dev", icon: Mail }, ]; +const legalLinks = [ + { + name: "Mentions légales", + href: "/mentions-legales", + icon: Scale, + }, + { + name: "Politique de confidentialité", + href: "/politique-de-confidentialite", + icon: Shield, + }, +]; + const containerVariants: Variants = { hidden: { opacity: 0 }, visible: { @@ -112,6 +133,32 @@ export default function Footer() { QuantumCraft Studios + + {/* Liens légaux */} + + {legalLinks.map((item) => ( + + + {item.name} + + ))} + + {/* Copyright */}