import React, { useState } from 'react'; import { Mountain, MapPin, Calendar, Info, Star, Clock, DollarSign, Users, ChevronRight, Search } from 'lucide-react'; const TravelHub = () => { const [selectedRegion, setSelectedRegion] = useState(null); const [selectedTour, setSelectedTour] = useState(null); const [searchTerm, setSearchTerm] = useState(''); const regions = [ { id: 'queenstown', name: 'Queenstown', tagline: 'Adventure Capital of the World', image: 'https://images.unsplash.com/photo-1507699622108-4be3abd695ad?w=800&h=500&fit=crop', description: 'Nestled on the shores of Lake Wakatipu, Queenstown offers world-class skiing, bungy jumping, and stunning alpine scenery.', highlights: ['Bungy Jumping', 'Skiing', 'Wine Tours', 'Jet Boating'] }, { id: 'fiordland', name: 'Fiordland', tagline: 'Dramatic Fjords & Pristine Wilderness', image: 'https://images.unsplash.com/photo-1589802829985-817e51171b92?w=800&h=500&fit=crop', description: 'Home to Milford Sound and Doubtful Sound, Fiordland showcases towering waterfalls, ancient rainforests, and dramatic fjords.', highlights: ['Milford Sound', 'Doubtful Sound', 'Milford Track', 'Kayaking'] }, { id: 'christchurch', name: 'Christchurch & Canterbury', tagline: 'Garden City & Alpine Playground', image: 'https://images.unsplash.com/photo-1586996292898-71f4036c4e07?w=800&h=500&fit=crop', description: 'A blend of English heritage and modern innovation, with easy access to Banks Peninsula and the Southern Alps.', highlights: ['Botanic Gardens', 'Akaroa', 'Punting', 'Street Art'] }, { id: 'mountcook', name: 'Aoraki/Mount Cook', tagline: 'New Zealand\'s Highest Peak', image: 'https://images.unsplash.com/photo-1568454537842-d933259bb258?w=800&h=500&fit=crop', description: 'Surrounded by spectacular glaciers and permanent snow, offering world-class hiking and stargazing.', highlights: ['Hooker Valley Track', 'Tasman Glacier', 'Stargazing', 'Scenic Flights'] }, { id: 'westcoast', name: 'West Coast', tagline: 'Glaciers, Rainforests & Rugged Beauty', image: 'https://images.unsplash.com/photo-1552667466-07770ae110d0?w=800&h=500&fit=crop', description: 'Experience Franz Josef and Fox Glaciers, Punakaiki Pancake Rocks, and lush temperate rainforests.', highlights: ['Franz Josef Glacier', 'Pancake Rocks', 'Heli-Hiking', 'Greenstone'] }, { id: 'nelson', name: 'Nelson & Marlborough', tagline: 'Golden Beaches & World-Class Wine', image: 'https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800&h=500&fit=crop', description: 'Sunshine, golden beaches, Abel Tasman National Park, and the famous Marlborough wine region.', highlights: ['Abel Tasman', 'Wine Tasting', 'Kayaking', 'Beaches'] } ]; const tours = [ { id: 1, region: 'queenstown', name: 'Milford Sound Day Tour', duration: '12 hours', price: 'From $285', rating: 4.9, reviews: 3420, type: 'Adventure', description: 'Cruise through the stunning Milford Sound, often called the eighth wonder of the world.', includes: ['Scenic coach journey', 'Milford Sound cruise', 'Lunch', 'Guide'] }, { id: 2, region: 'queenstown', name: 'Nevis Bungy Jump', duration: '4 hours', price: 'From $345', rating: 5.0, reviews: 1876, type: 'Extreme', description: 'Experience New Zealand\'s highest bungy jump at 134 meters above the Nevis River.', includes: ['Transport', 'Safety equipment', 'Video & photos', 'Certificate'] }, { id: 3, region: 'fiordland', name: 'Doubtful Sound Overnight Cruise', duration: '2 days', price: 'From $575', rating: 4.8, reviews: 892, type: 'Nature', description: 'Explore the pristine wilderness of Doubtful Sound with an overnight wilderness cruise.', includes: ['Accommodation', 'All meals', 'Kayaking', 'Nature walks'] }, { id: 4, region: 'mountcook', name: 'Tasman Glacier Heli-Hike', duration: '3 hours', price: 'From $495', rating: 4.9, reviews: 1245, type: 'Adventure', description: 'Helicopter to the Tasman Glacier and explore the ice with experienced guides.', includes: ['Helicopter flight', 'Ice equipment', 'Guide', 'Photos'] }, { id: 5, region: 'westcoast', name: 'Franz Josef Glacier Walk', duration: '5 hours', price: 'From $165', rating: 4.7, reviews: 2103, type: 'Nature', description: 'Guided walk to the terminal face of Franz Josef Glacier through ancient rainforest.', includes: ['Guide', 'Equipment', 'Transport', 'Hot pools entry'] }, { id: 6, region: 'nelson', name: 'Abel Tasman Kayak & Walk', duration: '8 hours', price: 'From $215', rating: 4.8, reviews: 1567, type: 'Adventure', description: 'Kayak golden beaches and walk the famous Abel Tasman Coastal Track.', includes: ['Kayak & equipment', 'Water taxi', 'Lunch', 'Guide'] }, { id: 7, region: 'nelson', name: 'Marlborough Wine Tour', duration: '6 hours', price: 'From $185', rating: 4.9, reviews: 978, type: 'Culture', description: 'Visit premium wineries and taste world-renowned Sauvignon Blanc in Marlborough.', includes: ['Winery visits', 'Tastings', 'Lunch', 'Transport'] }, { id: 8, region: 'christchurch', name: 'Akaroa Harbour Nature Cruise', duration: '4 hours', price: 'From $125', rating: 4.7, reviews: 1432, type: 'Nature', description: 'Cruise the scenic harbour and swim with Hector\'s dolphins in Akaroa.', includes: ['Harbour cruise', 'Dolphin encounter', 'Guide', 'Wetsuit'] } ]; const filteredTours = selectedRegion ? tours.filter(tour => tour.region === selectedRegion.id) : tours.filter(tour => tour.name.toLowerCase().includes(searchTerm.toLowerCase()) || tour.description.toLowerCase().includes(searchTerm.toLowerCase()) ); return (

South Island New Zealand

Discover dramatic fjords, pristine glaciers, and adventure beyond imagination

{ setSearchTerm(e.target.value); setSelectedRegion(null); }} className="w-full pl-12 pr-4 py-3 rounded-full text-gray-900 shadow-lg focus:outline-none focus:ring-2 focus:ring-blue-500" />
{!selectedRegion && !searchTerm && ( <>

Explore Regions

Choose your destination and discover unforgettable experiences

{regions.map((region) => (
setSelectedRegion(region)} className="group cursor-pointer bg-white rounded-xl shadow-md overflow-hidden hover:shadow-xl transition-all duration-300 transform hover:-translate-y-1" >
{region.name}

{region.name}

{region.tagline}

{region.description}

{region.highlights.slice(0, 3).map((highlight, idx) => ( {highlight} ))}
))}
)} {(selectedRegion || searchTerm) && ( <>

{searchTerm ? 'Search Results' : `Tours in ${selectedRegion.name}`}

{selectedRegion && (

{selectedRegion.description}

)}
{filteredTours.map((tour) => (

{tour.name}

{tour.duration}
{tour.rating} ({tour.reviews})
{tour.type}

{tour.description}

Includes:

{tour.includes.map((item, idx) => ( {item} ))}
{tour.price}
per person
))}
{filteredTours.length === 0 && (

No tours found matching your search.

)} )} {!selectedRegion && !searchTerm && (

Plan Your South Island Adventure

Best Time to Visit

December to February for summer adventures, June to August for skiing

Getting Around

Rent a car for flexibility, or join guided tours from major hubs

Travel Tips

Book popular activities in advance, pack for changeable weather

)}
{selectedTour && (

{selectedTour.name}

Duration: {selectedTour.duration}
{selectedTour.price}
Group size varies by tour

This is a demo travel hub. To book this tour, please visit the official tourism websites or contact tour operators directly.

)}
); }; export default TravelHub;