diff --git a/src/components/AnimatedPage.jsx b/src/components/AnimatedPage.jsx index 4df1125..8ae0f3e 100644 --- a/src/components/AnimatedPage.jsx +++ b/src/components/AnimatedPage.jsx @@ -26,7 +26,7 @@ export default function AnimatedPage({ children, className }) { // const animationParameters = getAnimationParameters(); const animationParameters = { initial: { x: "50%", opacity: 0 }, - animate: { x: "0%", opacity: 1 }, + animate: { x: "0", opacity: 1 }, exit: { x: "-50%", opacity: 0 }, }; @@ -37,9 +37,8 @@ export default function AnimatedPage({ children, className }) { initial={animationParameters.initial} animate={animationParameters.animate} exit={animationParameters.exit} - transition={{ duration: 0.4, ease: "easeOut" }}> + transition={{ duration: 0.3, ease: "easeOut" }}> {children} -

qsqsdds

); }