Spaces:
Running
Running
Download components/StatsSection.js from coralgables/anycoder-52e3e8e8: direct link, hf CLI and curl.
- Browser
- Download file 749 Bytes
-
https://huggingface.co/spaces/coralgables/anycoder-52e3e8e8/resolve/main/components/StatsSection.js
- Command line
-
hf download hf://spaces/coralgables/anycoder-52e3e8e8/components/StatsSection.js
-
curl -L -o StatsSection.js https://huggingface.co/spaces/coralgables/anycoder-52e3e8e8/resolve/main/components/StatsSection.js
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> | |
| ) | |
| } |