Update video grid navigation to use circular buttons
Refactor the navigation arrows in the `netflix-grid.tsx` component to use circular buttons with improved styling and functionality. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 8e9f2b36-ec9c-4acc-b19b-5304fa9790c5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/8e9f2b36-ec9c-4acc-b19b-5304fa9790c5/srjpoes
This commit is contained in:
parent
6c96096968
commit
3d28babfbe
@ -278,16 +278,26 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Navigation arrows - track style */}
|
{/* Navigation arrows - black circles */}
|
||||||
<div className="absolute left-0 top-0 bottom-0 w-12 bg-gradient-to-r from-black/60 to-transparent z-[40] hidden md:flex items-center justify-center hover:from-black/80 transition-all duration-300 cursor-pointer"
|
<div className="absolute left-2 top-1/2 -translate-y-1/2 z-[40] hidden md:block">
|
||||||
onMouseEnter={() => startAutoScroll('left')}
|
<Button
|
||||||
onMouseLeave={stopAutoScroll}>
|
onMouseEnter={() => startAutoScroll('left')}
|
||||||
<ChevronLeft className="w-6 h-6 text-white" />
|
onMouseLeave={stopAutoScroll}
|
||||||
|
className="bg-black/60 hover:bg-black/80 text-white border-none w-10 h-10 rounded-full transition-all duration-300 flex items-center justify-center shadow-lg backdrop-blur-sm"
|
||||||
|
size="sm"
|
||||||
|
>
|
||||||
|
<ChevronLeft className="w-4 h-4" />
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
<div className="absolute right-0 top-0 bottom-0 w-12 bg-gradient-to-l from-black/60 to-transparent z-[40] hidden md:flex items-center justify-center hover:from-black/80 transition-all duration-300 cursor-pointer"
|
<div className="absolute right-2 top-1/2 -translate-y-1/2 z-[40] hidden md:block">
|
||||||
onMouseEnter={() => startAutoScroll('right')}
|
<Button
|
||||||
onMouseLeave={stopAutoScroll}>
|
onMouseEnter={() => startAutoScroll('right')}
|
||||||
<ChevronRight className="w-6 h-6 text-white" />
|
onMouseLeave={stopAutoScroll}
|
||||||
|
className="bg-black/60 hover:bg-black/80 text-white border-none w-10 h-10 rounded-full transition-all duration-300 flex items-center justify-center shadow-lg backdrop-blur-sm"
|
||||||
|
size="sm"
|
||||||
|
>
|
||||||
|
<ChevronRight className="w-4 h-4" />
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user