- {/* Left scroll button - only on desktop */}
-
scroll('left')}
- onMouseEnter={() => startAutoScroll('left')}
- onMouseLeave={stopAutoScroll}
- className="absolute left-2 top-1/2 -translate-y-1/2 z-[60] bg-black/50 hover:bg-black/70 text-white border-none w-12 h-12 rounded-full transition-all duration-300 flex items-center justify-center shadow-xl hidden md:flex"
- size="sm"
- >
-
-
+ {/* Left scroll button - only on desktop and not hidden */}
+ {!hideScrollButtons && (
+
scroll('left')}
+ onMouseEnter={() => startAutoScroll('left')}
+ onMouseLeave={stopAutoScroll}
+ className="absolute left-2 top-1/2 -translate-y-1/2 z-[60] bg-black/50 hover:bg-black/70 text-white border-none w-12 h-12 rounded-full transition-all duration-300 flex items-center justify-center shadow-xl hidden md:flex"
+ size="sm"
+ >
+
+
+ )}
- {/* Right scroll button - only on desktop */}
-
scroll('right')}
- onMouseEnter={() => startAutoScroll('right')}
- onMouseLeave={stopAutoScroll}
- className="absolute right-2 top-1/2 -translate-y-1/2 z-[60] bg-black/50 hover:bg-black/70 text-white border-none w-12 h-12 rounded-full transition-all duration-300 flex items-center justify-center shadow-xl hidden md:flex"
- size="sm"
- >
-
-
+ {/* Right scroll button - only on desktop and not hidden */}
+ {!hideScrollButtons && (
+
scroll('right')}
+ onMouseEnter={() => startAutoScroll('right')}
+ onMouseLeave={stopAutoScroll}
+ className="absolute right-2 top-1/2 -translate-y-1/2 z-[60] bg-black/50 hover:bg-black/70 text-white border-none w-12 h-12 rounded-full transition-all duration-300 flex items-center justify-center shadow-xl hidden md:flex"
+ size="sm"
+ >
+
+
+ )}
{/* Scrollable video row - true edge to edge */}