From 2c8f9abc636374bcc15909e3707df4ef7542c959 Mon Sep 17 00:00:00 2001 From: Purp1e <47248616+Purple-CSGO@users.noreply.github.com> Date: Fri, 21 Mar 2025 03:13:19 +0800 Subject: [PATCH] [feat] add init animation --- src/app/page.tsx | 20 +++++++++++++++----- src/components/cstb/Prepare.tsx | 13 +++++++------ 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 72073f5..b27da4a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,18 +2,28 @@ import Nav from "@/components/window/Nav" import { Prepare } from "@/components/cstb/Prepare" +import { motion, AnimatePresence } from "framer-motion" const Home = () => { - return ( <>