anycoder-52e3e8e8 / components /StatsSection.js
coralgables's picture
Upload components/StatsSection.js with huggingface_hub
8228118 verified
Raw History Blame Contribute Delete
749 Bytes
export default function StatsSection() {
const stats = [
{ value: '500K+', label: 'Active Listings' },
{ value: '2M+', label: 'Monthly Users' },
{ value: '50M+', label: 'Homes Sold' },
{ value: '15K+', label: 'Expert Agents' }
]
return (
<section className="py-16 bg-secondary">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="grid grid-cols-2 md:grid-cols-4 gap-8 text-center">
{stats.map((stat, index) => (
<div key={index}>
<p className="text-4xl md:text-5xl font-bold text-white mb-2">{stat.value}</p>
<p className="text-gray-400">{stat.label}</p>
</div>
))}
</div>
</div>
</section>
)
}