diff --git a/src/components/EnhancedTestimonials.tsx b/src/components/EnhancedTestimonials.tsx index 527837b..a49643b 100644 --- a/src/components/EnhancedTestimonials.tsx +++ b/src/components/EnhancedTestimonials.tsx @@ -20,11 +20,11 @@ interface Testimonial { company: string; signature: string; } - +const cityName = localStorage.getItem('cityName') || 'the city'; const testimonials: Testimonial[] = [ { id: 1, - quote: "CityCards transformed our Melbourne trip into an unforgettable adventure. The seamless access to attractions and insider recommendations made every moment magical.", + quote: `CityCards transformed our ${cityName} trip into an unforgettable adventure. The seamless access to attractions and insider recommendations made every moment magical.`, name: "Sarah Chen", company: "Travel Blogger", signature: "Sarah" diff --git a/src/components/HeroBannerCarousel.tsx b/src/components/HeroBannerCarousel.tsx index af7fb62..ac83f13 100644 --- a/src/components/HeroBannerCarousel.tsx +++ b/src/components/HeroBannerCarousel.tsx @@ -19,13 +19,15 @@ export function HeroBannerCarousel({ const [currentSlide, setCurrentSlide] = useState(0); const [isPaused, setIsPaused] = useState(false); + const cityName = localStorage.getItem("cityName") + const slides = [ { id: 1, title: "Discover", - highlight: "Melbourne", + highlight: cityName, subtitle: "Ultimate Guide to Iconic City", - description: "From Flinders Street to St Kilda Beach: explore the best of Melbourne's landmarks, culture, food and more!", + description: cityName === "Melbourne" ? "From Flinders Street to St Kilda Beach: explore the best of Melbourne's landmarks, culture, food and more!" : "From the Sydney Opera House to Bondi Beach: explore the best of Sydney’s landmarks, culture, food and more!", image: "https://images.unsplash.com/photo-1757470238279-0e9f331d02c9?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxNZWxib3VybmUlMjBza3lsaW5lJTIwc3Vuc2V0fGVufDF8fHx8MTc2MDUwOTIyMHww&ixlib=rb-4.1.0&q=80&w=1080", cta: "Get Started", onClick: onCheckoutClick diff --git a/src/components/HotelEsimOffers.tsx b/src/components/HotelEsimOffers.tsx index 09d2085..5b2d619 100644 --- a/src/components/HotelEsimOffers.tsx +++ b/src/components/HotelEsimOffers.tsx @@ -7,6 +7,7 @@ interface HotelEsimOffersProps { } export function HotelEsimOffers({ onEsimsClick, onHotelDiscountsClick }: HotelEsimOffersProps) { + const cityName = localStorage.getItem("cityName") return (
- Get instant e-SIM connectivity across Australia. Stay online from the moment you land in Melbourne. + Get instant e-SIM connectivity across Australia. Stay online from the moment you land in {cityName}.
@@ -105,10 +106,10 @@ export function HotelEsimOffers({ onEsimsClick, onHotelDiscountsClick }: HotelEs 🇦🇺 AUSTRALIA-WIDE COVERAGE- No more hunting for local SIM cards at the airport. Activate your e-SIM instantly and explore Melbourne with seamless connectivity. + No more hunting for local SIM cards at the airport. Activate your e-SIM instantly and explore {cityName} with seamless connectivity.
- Unlock exclusive rates at Melbourne's finest hotels. Your CityCard membership opens doors to premium CBD and waterfront stays. + Unlock exclusive rates at {cityName}'s finest hotels. Your CityCard membership opens doors to premium CBD and waterfront stays.
@@ -236,10 +237,10 @@ export function HotelEsimOffers({ onEsimsClick, onHotelDiscountsClick }: HotelEs 🔥 MARRIOTT BONVOY PARTNER- Access exclusive member rates at Melbourne's top hotels including Crown Towers, W Melbourne, and premium CBD properties. Enjoy complimentary upgrades and special amenities. + Access exclusive member rates at {cityName}'s top hotels including Crown Towers, W {cityName}, and premium CBD properties. Enjoy complimentary upgrades and special amenities.
@@ -253,7 +254,7 @@ export function HotelEsimOffers({ onEsimsClick, onHotelDiscountsClick }: HotelEs- Discover Melbourne's iconic landmarks, vibrant culture, world-class dining, and hidden gems - all included with your Melbourne CityCard + Discover {cityName}'s iconic landmarks, vibrant culture, world-class dining, and hidden gems - all included with your {cityName} CityCard
- Dive deep into Melbourne's rich cultural tapestry, from hidden laneway treasures to world-renowned - coffee culture. Discover insider stories, local secrets, and expert guides to Australia's cultural capital - that will transform your Melbourne experience into an unforgettable journey. + Dive deep into {cityName}'s rich cultural tapestry, from hidden laneway treasures to world-renowned + coffee culture. Discover insider stories, local secrets, and expert guides to Australia's cultural capital + that will transform your {cityName} experience into an unforgettable journey.
@@ -189,7 +198,7 @@ export function MelbourneBlogs() { className="w-full h-full object-cover group-hover:scale-110 transition-transform duration-700" /> - + {/* Category Badge */}{post.excerpt}
@@ -261,23 +270,30 @@ export function MelbourneBlogs() { >- Get your Melbourne CityCard and unlock access to all these incredible experiences and more. + Get your {cityName} CityCard and unlock access to all these incredible experiences and more. Start your adventure today with exclusive deals and insider access.
- +- Everything you need to know about exploring Melbourne with your CityCard. From iconic attractions - to hidden local gems, we've got your Melbourne adventure covered. + Everything you need to know about exploring {cityName} with your CityCard. From iconic attractions + to hidden local gems, we've got your {cityName} adventure covered.
@@ -161,7 +163,7 @@ export function MelbourneFAQ() {- Melbourne is a must-visit cultural epicenter, and this spectacular experience unlocks - your access around the city in one easy pass. Save over the cost of visiting Melbourne's - landmarks, explore famous laneways and street art, enjoy world-class dining in hidden bars, - and immerse yourself in the sports capital's vibrant atmosphere. From Royal Botanic Gardens - to Federation Square, hotel pickup and drop-off all included. + { cityName === 'Melbourne' && ( + + Melbourne is a must-visit cultural epicenter, and this spectacular experience unlocks + your access around the city in one easy pass. Save over the cost of visiting Melbourne's + landmarks, explore famous laneways and street art, enjoy world-class dining in hidden bars, + and immerse yourself in the sports capital's vibrant atmosphere. From Royal Botanic Gardens + to Federation Square, hotel pickup and drop-off all included. + + )} + { cityName === 'Sydney' && ( + + Sydney is a must-visit global destination, blending iconic landmarks with vibrant coastal charm, and this all-in-one experience gives you seamless access across the city. Save more while exploring Sydney’s top attractions, wander through historic neighborhoods like The Rocks, admire world-famous sights such as the Sydney Opera House and Harbour Bridge, and relax along stunning beaches like Bondi and Manly. Enjoy diverse dining from waterfront restaurants to hidden cafés, soak in the lively cultural scene, and experience the energy of Australia’s most dynamic harbor city—all with convenient access to key locations and experiences included. + + )}
@@ -226,7 +272,7 @@ export function MelbourneTourOverview() {