Compare commits

..

2 Commits

Author SHA1 Message Date
21a07a3fda Merge branch 'main' of https://git.tombutcher.work/tom/tombutcher-ui
Some checks failed
tombutcher.work/tombutcher-ui/pipeline/head There was a failure building this commit
2025-04-06 20:44:11 +01:00
e83db9541d Fixed spacing 2025-04-06 16:59:17 +01:00

View File

@ -59,22 +59,19 @@ const App = () => {
const fadeVariants = { const fadeVariants = {
initial: { initial: {
clipPath: "polygon(0 0, 0 0, 0 100%, 0% 100%)",
opacity: 0, opacity: 0,
}, },
animate: { animate: {
clipPath: "polygon(0 0, 100% 0, 100% 100%, 0 100%)",
opacity: 1, opacity: 1,
transition: { transition: {
duration: 0.7, duration: 0.5,
ease: "easeInOut", ease: "easeInOut",
}, },
}, },
exit: { exit: {
clipPath: "polygon(100% 0, 100% 0, 100% 100%, 100% 100%)",
opacity: 0, opacity: 0,
transition: { transition: {
duration: 0.7, duration: 0.5,
ease: "easeInOut", ease: "easeInOut",
}, },
}, },