From 39e63deca293de3ffbf1fe06f5a13c8514726c2c Mon Sep 17 00:00:00 2001 From: aryabenade Date: Mon, 27 Apr 2026 16:23:10 +0530 Subject: [PATCH] change the css of LandingMagicItinerary Component Co-authored-by: Copilot --- src/components/LandingMagicItinerary.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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() { >