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 ( -