Navigate to individual video pages instead of using modals
Update video click handlers to navigate to dedicated video pages and pass show context via URL parameters. Modify video page to correctly filter recommended videos based on the show context. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 45a1dcfc-f8a2-475a-a6b9-96fbb841dc27 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/60d372ff-2c10-46c7-b01b-10c3435136b0/45a1dcfc-f8a2-475a-a6b9-96fbb841dc27/CdguB3F
This commit is contained in:
@@ -40,9 +40,9 @@ export default function FolxStadlPage() {
|
||||
const currentVideos = folxStadlVideos.slice(startIndex, endIndex);
|
||||
|
||||
const handleVideoClick = (video: Video) => {
|
||||
// Open modal with navigation controls for all FOLX STADL videos
|
||||
setSelectedVideo(video);
|
||||
setIsModalOpen(true);
|
||||
// Navigate to individual video page with show context
|
||||
const shortId = video.id.replace(/-/g, '').substring(0, 8);
|
||||
setLocation(`/video/${shortId}?show=folx-stadl`);
|
||||
};
|
||||
|
||||
const handleCloseModal = () => {
|
||||
|
||||
Reference in New Issue
Block a user