Spaces:
Build error
Build error
Download components/Testimonials.jsx from ryeisi/anycoder-2d506362: direct link, hf CLI and curl.
- Browser
- Download file 1.99 kB
-
https://huggingface.co/spaces/ryeisi/anycoder-2d506362/resolve/main/components/Testimonials.jsx
- Command line
-
hf download hf://spaces/ryeisi/anycoder-2d506362/components/Testimonials.jsx
-
curl -L -o Testimonials.jsx https://huggingface.co/spaces/ryeisi/anycoder-2d506362/resolve/main/components/Testimonials.jsx
1.99 kB
| export default function Testimonials() { | |
| const testimonials = [ | |
| { | |
| name: "Rajesh Kumar", | |
| business: "Fashion Boutique", | |
| quote: "Our Instagram sales increased by 300% after automation setup.", | |
| rating: 5 | |
| }, | |
| { | |
| name: "Priya Sharma", | |
| business: "Home Decor", | |
| quote: "No more inventory mistakes - everything syncs automatically now.", | |
| rating: 5 | |
| }, | |
| { | |
| name: "Vikram Singh", | |
| business: "Electronics Store", | |
| quote: "The Shopify store brought us customers from across India.", | |
| rating: 4 | |
| } | |
| ] | |
| return ( | |
| <section className="py-16 bg-gray-50"> | |
| <div className="container mx-auto px-4"> | |
| <h2 className="text-3xl font-bold text-center mb-12 text-gray-800"> | |
| What Our Clients Say | |
| </h2> | |
| <div className="grid md:grid-cols-3 gap-8"> | |
| {testimonials.map((testimonial, index) => ( | |
| <div key={index} className="bg-white p-6 rounded-lg shadow-sm"> | |
| <div className="flex mb-4"> | |
| {[...Array(testimonial.rating)].map((_, i) => ( | |
| <svg key={i} className="w-5 h-5 text-yellow-400" fill="currentColor" viewBox="0 0 20 20"> | |
| <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" /> | |
| </svg> | |
| ))} | |
| </div> | |
| <p className="text-gray-600 mb-4 italic">"{testimonial.quote}"</p> | |
| <div> | |
| <p className="font-semibold">{testimonial.name}</p> | |
| <p className="text-sm text-gray-500">{testimonial.business}</p> | |
| </div> | |
| </div> | |
| ))} | |
| </div> | |
| </div> | |
| </section> | |
| ) | |
| } |