videofolxtv/client
sebastjanartic 8d5dd20cf3 Improve video selection highlighting and display on hover
Update the `CategoryRow` component in `netflix-grid.tsx` to manage the `clickedVideoId` state. This state is used to conditionally render the "Top 10" number overlay on videos. When a video is clicked, its ID is stored in `clickedVideoId`. The overlay is now hidden if the `clickedVideoId` matches the current video's ID. Additionally, hovering over a video category row resets `clickedVideoId` to `null` to ensure the number reappears when the mouse leaves the video. The `onClick` handler for `VideoCard` is modified to update this state and then call the original `onVideoClick` prop.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/7j5FE92
2025-08-30 12:59:37 +00:00
..
public Add ads.txt file for advertising partner information 2025-08-28 11:19:36 +00:00
src Improve video selection highlighting and display on hover 2025-08-30 12:59:37 +00:00
index.html Restored to '7fd7127003398a269f1f765208c8baced728aafb' 2025-08-30 12:39:34 +00:00