Update video pages to link directly to individual video content
Modify FolxStadlPage to navigate to a dedicated video URL instead of opening a modal when a video is clicked. 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:
parent
357ef9c50e
commit
ff859c58bf
@ -33,8 +33,8 @@ export default function FolxStadlPage() {
|
||||
const currentVideos = folxStadlVideos.slice(startIndex, endIndex);
|
||||
|
||||
const handleVideoClick = (video: Video) => {
|
||||
setSelectedVideo(video);
|
||||
setIsModalOpen(true);
|
||||
// Navigate to individual video page instead of modal
|
||||
window.location.href = `/video/${video.id}`;
|
||||
};
|
||||
|
||||
const handleCloseModal = () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user