Update video viewing to navigate directly to video pages

Modify `NetflixGrid` and `VideoGrid` to navigate to individual video pages instead of opening modals. Remove debug logs and styling from `VideoPage` component, and update recommended videos display.

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/izllXJt
This commit is contained in:
sebastjanartic
2025-08-30 20:25:04 +00:00
parent 90c50cc1da
commit 357ef9c50e
3 changed files with 9 additions and 19 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
const [isModalOpen, setIsModalOpen] = useState(false);
const handleVideoClick = (video: Video) => {
setSelectedVideo(video);
setIsModalOpen(true);
// Navigate to individual video page instead of modal
window.location.href = `/video/${video.id}`;
};
const handleCloseModal = () => {
+2 -2
View File
@@ -18,8 +18,8 @@ export default function VideoGrid({ videos, isLoading, hasMore, onLoadMore, view
const [isModalOpen, setIsModalOpen] = useState(false);
const handleVideoClick = (video: Video) => {
setSelectedVideo(video);
setIsModalOpen(true);
// Navigate to individual video page instead of modal
window.location.href = `/video/${video.id}`;
};
const handleCloseModal = () => {