diff --git a/src/components/LandingMagicItinerary.tsx b/src/components/LandingMagicItinerary.tsx index 49174f1..ae24644 100644 --- a/src/components/LandingMagicItinerary.tsx +++ b/src/components/LandingMagicItinerary.tsx @@ -6,6 +6,7 @@ import { Button } from './ui/button'; // Import your video from assets import cityTourVideo from '../assets/itinenary-animation-vid.mp4'; +import { useNavigate } from 'react-router-dom'; interface ItineraryCard { id: number; @@ -22,6 +23,8 @@ export function LandingMagicItinerary() { const [isPlaying, setIsPlaying] = useState(true); const [videoLoaded, setVideoLoaded] = useState(false); + const navigate = useNavigate() + const handleVideoLoad = () => { setVideoLoaded(true); }; @@ -31,7 +34,7 @@ export function LandingMagicItinerary() { }; return ( -
+
{/* Dynamic Background */}
{/* Background Image as fallback */} @@ -97,7 +100,7 @@ export function LandingMagicItinerary() { {/* Header */}
Plan Your{' '} - + Dream Journey
@@ -250,6 +253,7 @@ export function LandingMagicItinerary() { >