summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/Layout.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/Layout.js b/src/components/Layout.js
index 6933d535..098ec262 100644
--- a/src/components/Layout.js
+++ b/src/components/Layout.js
@@ -2,15 +2,15 @@ import { motion } from 'framer-motion';
export default function Layout({ children, ...pageProps }) {
const transition = {
- ease: 'linear',
- duration: 0.3
+ ease: 'easeOut',
+ duration: 0.2
};
return children && (
<motion.main
- initial={{ opacity: 0, x: -75, y: 0 }}
+ initial={{ opacity: 0, x: 50, y: 0 }}
animate={{ opacity: 1, x: 0, y: 0 }}
- exit={{ opacity: 0, x: 0, y: -50 }}
+ exit={{ opacity: 0, x: 50, y: 0 }}
transition={transition}
{...pageProps}
>