diff --git a/client/src/components/simple-carousel.tsx b/client/src/components/simple-carousel.tsx index 8c1a567..4cee23e 100644 --- a/client/src/components/simple-carousel.tsx +++ b/client/src/components/simple-carousel.tsx @@ -96,66 +96,33 @@ export default function SimpleCarousel({ category, onVideoClick }: SimpleCarouse }, [category.videos.length]); return ( -
+

{category.title}

-
- {/* Left scroll button */} - - - {/* Right scroll button */} - - - {/* Scroll container */} -
-
- {/* Create many copies for infinite feel */} - {Array.from({ length: 20 }).map((_, copyIndex) => - category.videos.map((video, videoIndex) => ( -
- {/* Top 10 Number overlay for first category */} - {category.title.includes("Top 10") && ( -
- {videoIndex + 1} -
- )} - +
+ {/* Simple grid layout - videos next to each other */} +
+ {category.videos.map((video, videoIndex) => ( +
+ {/* Top 10 Number overlay for first category */} + {category.title.includes("Top 10") && ( +
+ {videoIndex + 1}
- )) - ).flat()} -
+ )} + +
+ ))}