diff options
Diffstat (limited to 'src/components/Layout.js')
| -rw-r--r-- | src/components/Layout.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/components/Layout.js b/src/components/Layout.js index 42d8ebdf..6933d535 100644 --- a/src/components/Layout.js +++ b/src/components/Layout.js @@ -1,15 +1,9 @@ import { motion } from 'framer-motion'; -export default function Layout({ children, pageProps }) { - const variants = { - hidden: { opacity: 0, x: -75, y: 0 }, - enter: { opacity: 1, x: 0, y: 0 }, - exit: { opacity: 0, x: 0, y: -50 }, - }; - +export default function Layout({ children, ...pageProps }) { const transition = { ease: 'linear', - duration: 0.4 + duration: 0.3 }; return children && ( |
