From b2df96140e7ad4ea5a46f59ab611a5c4de14f5ec Mon Sep 17 00:00:00 2001 From: jessydavid-dev Date: Tue, 25 Nov 2025 16:13:03 +0100 Subject: [PATCH] update: Refont du footer --- component/layout/Footer.tsx | 150 +++++++++++++++++++++++++++--------- 1 file changed, 112 insertions(+), 38 deletions(-) diff --git a/component/layout/Footer.tsx b/component/layout/Footer.tsx index 1bdd153..c88cdcf 100644 --- a/component/layout/Footer.tsx +++ b/component/layout/Footer.tsx @@ -1,4 +1,7 @@ +"use client"; + import { siteConfig } from "@/config/site"; +import { motion, type Variants } from "framer-motion"; import { Github, Heart, Linkedin, Mail } from "lucide-react"; import Image from "next/image"; import Link from "next/link"; @@ -13,49 +16,120 @@ const socials = [ { name: "Email", href: "mailto:contact@jessy-david.dev", icon: Mail }, ]; +const containerVariants: Variants = { + hidden: { opacity: 0 }, + visible: { + opacity: 1, + transition: { + staggerChildren: 0.1, + }, + }, +}; + +const itemVariants: Variants = { + hidden: { opacity: 0, y: 20 }, + visible: { + opacity: 1, + y: 0, + transition: { duration: 0.5 }, + }, +}; + export default function Footer() { return ( -