import { personalInfo } from "@/lib/data"; import { Mail, Github, MapPin, Linkedin } from "lucide-react"; import { useTranslations } from "@/i18n/utils"; import { motion } from "framer-motion"; import MotionWrapper from "./MotionWrapper"; export default function HeroSection({ lang }: { lang: "en" | "zh" }) { const t = useTranslations(lang); const containerVariants = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: 0.2, delayChildren: 0.3, }, }, }; const childVariants = { hidden: { opacity: 0, y: 20 }, visible: { opacity: 1, y: 0, transition: { duration: 0.5, }, }, }; return (
{t('personal.name')}{" "} {t('personal.title')} 📍 {t('personal.location')} ✉️ {t('personal.email')} 🌟 {t('hero.githubLink')} 🔗 {t('hero.linkedinLink')}
Profile

{t('hero.description')}

); }