"use client"; import Image from "next/image"; import { websites } from "../data/urls"; import Header from "@/components/header"; import Footer from "@/components/footer"; import { motion } from "framer-motion"; export default function Home() { // 动画定义 const containerVariants = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: 0.1, }, }, }; const itemVariants = { hidden: { y: 20, opacity: 0 }, visible: { y: 0, opacity: 1, transition: { type: "spring", stiffness: 100 }, }, }; const textVariants = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { duration: 0.3, ease: "easeInOut" }, }, }; return (