Update src/app/page.tsx
This commit is contained in:
@@ -33,7 +33,7 @@ export default function LandingPage() {
|
||||
const totalWidth = itemWidth * itemCount;
|
||||
|
||||
const animateScroll = () => {
|
||||
scrollPosition += 1;
|
||||
scrollPosition += 0.5;
|
||||
if (scrollPosition >= totalWidth / 2) {
|
||||
scrollPosition = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user