"use client"; import { REPO_PATH } from "@/constants"; import { motion } from "framer-motion"; import { ExternalLink, Github, Heart } from "lucide-react"; import Link from "next/link"; import { useState } from "react"; // Pre-define unique IDs for animations to avoid using array indices as keys const HOVER_HEART_IDS = [ "hover-heart-1", "hover-heart-2", "hover-heart-3", "hover-heart-4", "hover-heart-5", "hover-heart-6", "hover-heart-7", "hover-heart-8", ]; const BURST_HEART_IDS = [ "burst-heart-1", "burst-heart-2", "burst-heart-3", "burst-heart-4", "burst-heart-5", ]; export function Footer() { const [isHeartHovered, setIsHeartHovered] = useState(false); const [isHeartFilled, setIsHeartFilled] = useState(false); // Toggle heart fill state and add extra mini hearts on click const handleHeartClick = () => { setIsHeartFilled(!isHeartFilled); }; return ( ); }