"use client"; import { useState, useEffect } from 'react'; import { motion } from 'framer-motion'; import { Heart, Code } from 'lucide-react'; import { SiGithub, SiLinkedin } from 'react-icons/si'; import Link from 'next/link'; const Footer = () => { const [currentYear, setCurrentYear] = useState(2024); const [mounted, setMounted] = useState(false); useEffect(() => { setCurrentYear(new Date().getFullYear()); setMounted(true); }, []); const socialLinks = [ { icon: SiGithub, href: 'https://github.com/Denshooter', label: 'GitHub' }, { icon: SiLinkedin, href: 'https://linkedin.com/in/dkonkol', label: 'LinkedIn' } ]; if (!mounted) { return null; } return ( ); }; export default Footer;