can you take a look at the website on this url: electrician-template.framer.website and replicate it completely, in as much detail as you can
d0d30e5 verified Download components/testimonials.js from GD-Huggingfaces/sparkwire-electrics: direct link, hf CLI and curl.
- Browser
- Download file 1.98 kB
-
https://huggingface.co/spaces/GD-Huggingfaces/sparkwire-electrics/resolve/main/components/testimonials.js
- Command line
-
hf download hf://spaces/GD-Huggingfaces/sparkwire-electrics/components/testimonials.js
-
curl -L -o testimonials.js https://huggingface.co/spaces/GD-Huggingfaces/sparkwire-electrics/resolve/main/components/testimonials.js
1.98 kB
| class CustomTestimonials extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <section id="testimonials" class="py-16 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">What Our Clients Say</h2> | |
| <p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">Trusted by homeowners and businesses across the region</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <div class="testimonial-card bg-white p-6 rounded-lg shadow-md"> | |
| <div class="flex items-center mb-4"> | |
| <div class="flex-shrink-0"> | |
| <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/1" alt="Sarah Johnson"> | |
| </div> | |
| <div class="ml-4"> | |
| <h3 class="text-lg font-medium text-gray-900">Sarah Johnson</h3> | |
| <div class="flex text-yellow-400 mt-1"> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="w-4 h-4 fill-current"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p |