Small fix navbar

This commit is contained in:
2025-12-03 16:48:58 +01:00
parent 2ce3119355
commit 6bb44e2e2e
2 changed files with 3 additions and 81 deletions
+3 -6
View File
@@ -51,13 +51,11 @@ export default function WebStuff({
initial="hidden"
animate="visible"
variants={{
hidden: { y: -40, opacity: 0 },
hidden: { opacity: 0 },
visible: {
y: 0,
opacity: 1,
transition: {
duration: 0.6,
ease: [0.25, 0.1, 0.25, 1], // smooth ease
duration: 0.5,
},
},
}}
@@ -96,8 +94,7 @@ export default function WebStuff({
visible: { opacity: 1, y: 0 },
}}
transition={{
duration: 0.45,
ease: [0.25, 0.1, 0.25, 1],
duration: 0.8,
}}
whileHover={{ y: -2 }}
>