import { motion } from "motion/react"; import { ImageWithFallback } from "./figma/ImageWithFallback"; import { MapPin, Clock, Shield, Star } from "lucide-react"; interface HeroSectionProps { children: React.ReactNode; } const floatingElements = [ { icon: MapPin, delay: 0, x: 100, y: -50, color: "text-blue-300", }, { icon: Clock, delay: 0.5, x: -80, y: -30, color: "text-green-300", }, { icon: Shield, delay: 1, x: 120, y: 50, color: "text-yellow-300", }, { icon: Star, delay: 1.5, x: -100, y: 60, color: "text-purple-300", }, ]; export function HeroSection({ children }: HeroSectionProps) { return (
{/* Background Image */}
{/* Simplified Floating Icons */} {floatingElements.map((element, index) => (
))} {/* Content */}
Durg/Bhilai-Raipur Airport Drop(Oneway) ₹999 Book a reliable ride in minutes. Available 24/7 with professional drivers.
{/* Booking Form Container */} {children}
); }