@@ -34,13 +34,13 @@ const HeroAnim = () => {
3434 textEnd = "from 0"
3535 className = "absolute left-0 top-24 w-full"
3636 />
37- < div className = "animate-gradient no-animations:opacity-100 timeline range/0,2000px sticky top-40 bg-gradient-to-r from-violet-200/0 via-red-400/70 to-cyan-300/0 bg-clip-text bg-no-repeat pb-12 text-5xl font-bold text-transparent opacity-0 dark:via-red-600/70 sm:text-7xl md:text-9xl" >
37+ < div className = "sticky top-40 animate-gradient bg-gradient-to-r from-violet-200/0 via-red-400/70 to-cyan-300/0 bg-clip-text bg-no-repeat pb-12 text-5xl font-bold text-transparent opacity-0 timeline range/0,2000px no-animations:opacity-100 sm:text-7xl md:text-9xl dark:via-red-600/70 " >
3838 Scroll Superpower.
3939 </ div >
4040 < TimelineMarker
4141 textStart = "timeline"
4242 textEnd = "to 2000px"
43- className = "absolute left-0 bottom-8 w-full"
43+ className = "absolute bottom-8 left-0 w-full"
4444 />
4545 </ div >
4646 </ CenterLayout >
@@ -50,8 +50,8 @@ const HeroAnim = () => {
5050 </ Code >
5151 </ CenterLayout >
5252 < div className = "mb-72" >
53- < div className = "h-dvh sticky top-0 w-full" >
54- < CenterLayout className = "h-dvh relative flex flex-col justify-between px-4 py-16 sm:px-8" >
53+ < div className = "sticky top-0 h-dvh w-full" >
54+ < CenterLayout className = "relative flex h-dvh flex-col justify-between px-4 py-16 sm:px-8" >
5555 < TimelineMarker textStart = "timeline-view" textEnd = { '100%' } />
5656 < TimelineMarker textEnd = { '75%' } />
5757 < TimelineMarker textEnd = { '50%' } />
@@ -61,8 +61,8 @@ const HeroAnim = () => {
6161 </ div >
6262 < div className = "min-h-dvh" >
6363 < CenterLayout className = "relative z-20" >
64- < div className = "animate-reveal timeline-view no-animations:opacity-100 mx-auto w-fit text-center opacity-0" >
65- < div className = "text-md text-zinc-950 w-full font-medium dark: text-zinc-200 sm:text-lg md:text-xl" >
64+ < div className = "mx-auto w-fit animate-reveal text-center opacity-0 timeline-view no-animations:opacity-100 " >
65+ < div className = "text-md w-full font-medium text-zinc-950 sm:text-lg md:text-xl dark:text-zinc-200 " >
6666 'Luke, he is your father.'
6767 </ div >
6868 </ div >
@@ -73,8 +73,8 @@ const HeroAnim = () => {
7373 </ div >
7474 </ div >
7575 < div className = "mb-72" >
76- < div className = "h-dvh scope/chart sticky top-0 mt-20 flex w-full items-center" >
77- < CenterLayout className = "h-dvh flex flex-col items-center justify-center px-20" >
76+ < div className = "sticky top-0 mt-20 flex h-dvh w-full items-center scope/chart " >
77+ < CenterLayout className = "flex h-dvh flex-col items-center justify-center px-20" >
7878 < div className = "relative flex h-2/3 w-full items-center justify-between py-2.5 pl-32 pr-20" >
7979 { columns . map ( ( column , i ) => (
8080 < ChartColumn className = { column } key = { i } />
@@ -91,11 +91,11 @@ const HeroAnim = () => {
9191 < TimelineMarker
9292 textStart = "entry +60px"
9393 textEnd = "0%"
94- className = "absolute left -0 bottom -0 w-full"
94+ className = "absolute bottom -0 left -0 w-full"
9595 />
96- < TimelineMarker textStart = "entry" className = "absolute left-0 - bottom-12 w-full" />
96+ < TimelineMarker textStart = "entry" className = "absolute - bottom-12 left-0 w-full" />
9797 </ div >
98- < Code className = "view-timeline/chart mx-auto mt-14 block w-fit" language = "html" >
98+ < Code className = "mx-auto mt-14 block w-fit view-timeline/chart " language = "html" >
9999 { chart }
100100 </ Code >
101101 </ CenterLayout >
0 commit comments