import { Link } from 'react-router-dom'; import { motion } from 'framer-motion'; import { Building2, Phone, Mail, MapPin, Clock, MessageCircle, Share2, Linkedin as LinkedinIcon, ArrowRight, } from 'lucide-react'; import { COMPANY_INFO, FOOTER_LINKS, SOCIAL_MEDIA, } from '../lib/constants'; /** * Footer 组件 - 企业官网页脚 */ // 动画变体配置 const containerVariants = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: 0.1, delayChildren: 0.2, }, }, }; const itemVariants = { hidden: { opacity: 0, y: 20 }, visible: { opacity: 1, y: 0, transition: { duration: 0.5 }, }, }; // 图标映射 const iconMap: Record> = { Wechat: MessageCircle, Weibo: Share2, Linkedin: LinkedinIcon, }; /** * 联系方式项组件 */ const ContactItem: React.FC<{ icon: React.ComponentType<{ size?: number; className?: string }>; title: string; content: string; }> = ({ icon: Icon, title, content }) => (

{title}

{content}

); /** * 链接列组件 */ const LinkColumn: React.FC<{ title: string; links: Array<{ label: string; path: string }>; }> = ({ title, links }) => (

{title}

); /** * Footer 组件 */ export const Footer: React.FC = () => { const currentYear = new Date().getFullYear(); return ( ); }; export default Footer;