adjust page animation transition

This commit is contained in:
jeffvli
2025-12-27 02:42:41 -08:00
parent a1114235d6
commit a60973ffee
@@ -14,7 +14,11 @@ interface AnimatedPageProps {
export const AnimatedPage = forwardRef(
({ children }: AnimatedPageProps, ref: Ref<HTMLDivElement>) => {
return (
<motion.main className={styles.animatedPage} ref={ref} {...animationProps.fadeIn}>
<motion.main
className={styles.animatedPage}
ref={ref}
{...{ ...animationProps.fadeIn, transition: { duration: 1, ease: 'anticipate' } }}
>
{children}
</motion.main>
);