test

import { useState } from "react"; import { Card, CardContent } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Select, SelectItem } from "@/components/ui/select"; import { motion } from "framer-motion"; const cars = [ { id: 1, name: "Toyota Corolla", price: "$40/day", image: "/car1.jpg" }, { id: 2, name: "BMW 3 Series", price: "$70/day", image: "/car2.jpg" }, { id: 3, name: "Tesla Model 3", price: "$90/day", image: "/car3.jpg" }, ]; export default function CarRental() { const [selectedCar, setSelectedCar] = useState(null); return (

Rent a Car Today

Choose from a variety of premium vehicles

{/* Booking Form */}
{/* Car Listing */}
{cars.map((car) => ( setSelectedCar(car)} > {car.name}

{car.name}

{car.price}

))}
{/* Special Offers */}

Special Offers

Get free insurance on rentals over 3 days!

{/* Call to Action */}

); }