mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: reduce FadeIn viewport margin to prevent hero content from staying invisible
This commit is contained in:
@@ -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}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user