Initial commit

This commit is contained in:
Ubuntu
2026-03-01 13:23:49 +00:00
commit a8e52093aa
1485 changed files with 453467 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { motion, useReducedMotion } from 'framer-motion';
export function PageTransition({ children }) {
const reduce = useReducedMotion();
return (
<motion.div
initial={reduce ? { opacity: 1 } : { opacity: 0, y: 8 }}
animate={{ opacity: 1, y: 0 }}
exit={reduce ? { opacity: 1 } : { opacity: 0, y: -8 }}
transition={{ duration: reduce ? 0 : 0.28 }}
>
{children}
</motion.div>
);
}