fix: reduce FadeIn viewport margin to prevent hero content from staying invisible

This commit is contained in:
ashim-hq
2026-04-24 00:26:43 +08:00
parent fc30053451
commit 99c64f7471
+1 -1
View File
@@ -16,7 +16,7 @@ export function FadeIn({
<motion.div <motion.div
initial={{ opacity: 0, y: 20 }} initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }} whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: "-100px" }} viewport={{ once: true, margin: "-50px" }}
transition={{ duration: 0.5, delay, ease: "easeOut" }} transition={{ duration: 0.5, delay, ease: "easeOut" }}
className={className} className={className}
> >