diff --git a/src/components/Intro.astro b/src/components/Intro.astro index c4f9d96..8736aac 100644 --- a/src/components/Intro.astro +++ b/src/components/Intro.astro @@ -9,7 +9,7 @@ import BoxLines from "./BoxLines.astro";
= 100` - x-init=`inview = $refs.sectionTitle.getBoundingClientRect().top <= (window.innerHeight * 3/4)` + @scroll.window=`inview = $refs.sectionTitle.getBoundingClientRect().top <= (window.innerHeight * 4/5) && $refs.sectionTitle.getBoundingClientRect().top >= 100, inscrollup = $refs.sectionTitle.getBoundingClientRect().top <= (window.innerHeight * 4/5)` + x-init=`inview = $refs.sectionTitle.getBoundingClientRect().top <= (window.innerHeight * 3/4), inscrollup = $refs.sectionTitle.getBoundingClientRect().top <= (window.innerHeight * 4/5)` >
-
+

Settings

-
+