Spaces:
Build error
Build error
| import { Heart, Github, Linkedin, Twitter, Mail } from 'lucide-react'; | |
| export default function Footer() { | |
| const currentYear = new Date().getFullYear(); | |
| const socialLinks = [ | |
| { icon: Github, href: 'https://github.com', label: 'GitHub' }, | |
| { icon: Linkedin, href: 'https://linkedin.com', label: 'LinkedIn' }, | |
| { icon: Twitter, href: 'https://twitter.com', label: 'Twitter' }, | |
| { icon: Mail, href: 'mailto:hello@example.com', label: 'Email' }, | |
| ]; | |
| const quickLinks = [ | |
| { name: 'About', href: '#about' }, | |
| { name: 'Skills', href: '#skills' }, | |
| { name: 'Projects', href: '#projects' }, | |
| { name: 'Experience', href: '#experience' }, | |
| { name: 'Contact', href: '#contact' }, | |
| ]; | |
| return ( | |
| <footer className="bg-gray-900 text-gray-300"> | |
| <div className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-12"> | |
| <div className="grid md:grid-cols-3 gap-8 mb-8"> | |
| {/* Brand */} | |
| <div> | |
| <h3 className="text-2xl font-bold text-white mb-4">John Doe</h3> | |
| <p className="text-gray-400 leading-relaxed mb-4"> | |
| Full Stack Developer passionate about creating beautiful, functional, | |
| and user-centered digital experiences. | |
| </p> | |
| <div className="flex gap-4"> | |
| {socialLinks.map((social) => ( | |
| <a | |
| key={social.label} | |
| href={social.href} | |
| target="_blank" | |
| rel="noopener noreferrer" | |
| className="w-10 h-10 rounded-lg bg-gray-800 flex items-center justify-center hover:bg-primary-600 transition-colors" | |
| aria-label={social.label} | |
| > | |
| <social.icon className="w-5 h-5" /> | |
| </a> | |
| ))} | |
| </div> | |
| </div> | |
| {/* Quick Links */} | |
| <div> | |
| <h4 className="text-lg font-semibold text-white mb-4">Quick Links</h4> | |
| <ul className="space-y-2 |