import { useState, useEffect } from 'react'; import { MapPin, Users, Loader2 } from 'lucide-react'; import api from '../api/api'; const TrendingSpots = () => { const [spots, setSpots] = useState([ { id: 1, name: 'Charminar', location: 'Hyderabad', image: 'https://images.unsplash.com/photo-1599707367072-cd519bdda84a?auto=format&fit=crop&w=600&q=80', shoots: 234, photographers: 123, }, { id: 2, name: 'Gateway of India', location: 'Mumbai', image: 'https://images.unsplash.com/photo-1567157577867-05ccb1388e66?auto=format&fit=crop&w=600&q=80', shoots: 456, photographers: 198, }, { id: 3, name: 'Taj Mahal', location: 'Agra', image: 'https://images.unsplash.com/photo-1564507592333-c60657eea523?auto=format&fit=crop&w=600&q=80', shoots: 298, photographers: 156, }, { id: 4, name: 'Marina Beach', location: 'Chennai', image: 'https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=600&q=80', shoots: 178, photographers: 87, }, ]); return (
{spot.shoots}
Photos
{spot.photographers}
Photographers