video.folx.tv Replit project
Go to file
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
attached_assets Restored to '7fd7127003398a269f1f765208c8baced728aafb' 2025-08-30 12:39:34 +00:00
client Improve video selection highlighting and display on hover 2025-08-30 12:59:37 +00:00
server Restored to '7fd7127003398a269f1f765208c8baced728aafb' 2025-08-30 12:39:34 +00:00
shared Add face detection and thumbnail centering for videos 2025-08-29 07:34:08 +00:00
.gitignore Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00
.replit Add hover preview for videos on the platform 2025-08-30 12:39:51 +00:00
components.json Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00
cookies.txt Add user authentication and video upload capabilities 2025-08-08 18:28:28 +00:00
drizzle.config.ts Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00
package-lock.json Add face detection and thumbnail centering for videos 2025-08-29 07:34:08 +00:00
package.json Add face detection and thumbnail centering for videos 2025-08-29 07:34:08 +00:00
postcss.config.js Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00
pyproject.toml Add face detection and thumbnail centering for videos 2025-08-29 07:34:08 +00:00
replit.md Restored to '44d6f571a5a2b8bce0fd4e8a9eae76204284885b' 2025-08-28 17:43:16 +00:00
tailwind.config.ts Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00
tsconfig.json Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00
uv.lock Add face detection and thumbnail centering for videos 2025-08-29 07:34:08 +00:00
vite.config.ts Set up video streaming website with Bunny.net CDN integration 2025-08-04 18:24:29 +00:00