diff --git a/src/components/AboutMarasiDrive.tsx b/src/components/AboutMarasiDrive.tsx index a57b9b9..113f012 100644 --- a/src/components/AboutMarasiDrive.tsx +++ b/src/components/AboutMarasiDrive.tsx @@ -163,7 +163,7 @@ function AboutMarasiDrive() { alt="" /> -
+

diff --git a/src/components/MarasiDriveNeighboursSlider.tsx b/src/components/MarasiDriveNeighboursSlider.tsx index 2b49824..6a4942f 100644 --- a/src/components/MarasiDriveNeighboursSlider.tsx +++ b/src/components/MarasiDriveNeighboursSlider.tsx @@ -11,34 +11,30 @@ function MarariDriveNeighboursSlider({ }: { scrollYProgress: MotionValue; }) { - const x = useTransform( - scrollYProgress, - [0, 1 / 3, 2 / 3], - ["4.236vw", "-20.868vw", "-45.972vw"] - ); + const x = useTransform(scrollYProgress, [0, 1 / 3], ["4.236vw", "-20.868vw"]); const width1 = useTransform( scrollYProgress, - [0, 1 / 3, 2 / 3], - ["20.139vw", "20.139vw", "20.139vw"] + [0, 1 / 3], + ["20.139vw", "20.139vw"] ); const width2 = useTransform( scrollYProgress, - [0, 1 / 3, 2 / 3], - ["36.944vw", "20.139vw", "20.139vw"] + [0, 1 / 3], + ["36.944vw", "20.139vw"] ); const width3 = useTransform( scrollYProgress, - [0, 1 / 3, 2 / 3], - ["20.139vw", "36.944vw", "20.139vw"] + [0, 1 / 3], + ["20.139vw", "36.944vw"] ); const width4 = useTransform( scrollYProgress, - [0, 1 / 3, 2 / 3], - ["20.139vw", "20.139vw", "36.944vw"] + [0, 1 / 3], + ["20.139vw", "20.139vw"] ); return (