summaryrefslogtreecommitdiff
path: root/src/components/Layout.js
diff options
context:
space:
mode:
authorRafi Zadanly <rafizadanly@gmail.com>2022-12-17 08:22:39 +0700
committerRafi Zadanly <rafizadanly@gmail.com>2022-12-17 08:22:39 +0700
commit63a18d6e4a2cf0101a7dccce50dd35e64a07154a (patch)
tree327b094aad687dc95c340a35a84305c255f85e2d /src/components/Layout.js
parent7d6d9374fa97223f88af55b67fe8ce0513e14759 (diff)
Change transition
Diffstat (limited to 'src/components/Layout.js')
-rw-r--r--src/components/Layout.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Layout.js b/src/components/Layout.js
index 098ec262..1c7e1d85 100644
--- a/src/components/Layout.js
+++ b/src/components/Layout.js
@@ -10,7 +10,7 @@ export default function Layout({ children, ...pageProps }) {
<motion.main
initial={{ opacity: 0, x: 50, y: 0 }}
animate={{ opacity: 1, x: 0, y: 0 }}
- exit={{ opacity: 0, x: 50, y: 0 }}
+ exit={{ opacity: 0, x: -100, y: 0 }}
transition={transition}
{...pageProps}
>