refactor: add animations

This commit is contained in:
2026-03-18 12:56:39 +05:30
parent c650da161e
commit f35389ab69
14 changed files with 480 additions and 206 deletions

View File

@@ -0,0 +1,20 @@
"use client";
import { motion } from "motion/react";
import React from "react";
export default function Template({ children }: { children: React.ReactNode }) {
return (
<motion.div
initial={{ opacity: 0, y: 10 }}
animate={{ opacity: 1, y: 0 }}
transition={{
duration: 0.4,
ease: [0.21, 0.47, 0.32, 0.98],
}}
className="flex-1 flex flex-col"
>
{children}
</motion.div>
);
}