import React, { useState } from 'react'; interface Video { id: number; scene: string; imageUrl: string; } const videos: Video[] = [ { id: 1, scene: 'Beach Scene', imageUrl: 'https://placehold.co/200x300/cccccc/ffffff?text=Scene+1' }, { id: 2, scene: 'Bedroom Scene', imageUrl: 'https://placehold.co/200x300/dddddd/333333?text=Scene+2' }, { id: 3, scene: 'Pool Scene', imageUrl: 'https://placehold.co/200x300/eeeeee/555555?text=Scene+3' }, { id: 4, scene: 'Bathroom Scene', imageUrl: 'https://placehold.co/200x300/fafafa/777777?text=Scene+4' }, { id: 5, scene: 'Kitchen Scene', imageUrl: 'https://placehold.co/200x300/f0f0f0/999999?text=Scene+5' } ]; // Extracted VideoCard Component const VideoCard: React.FC<{ video: Video; onClick: (video: Video) => void }> = ({ video, onClick }) => { return (