w4rriorG/fixitfast-pro-wrench-wizards
0
1class CustomTestimonials extends HTMLElement {2 connectedCallback() {3 this.attachShadow({ mode: 'open' });4 this.shadowRoot.innerHTML = `5 <style>6 .testimonial-card {7 box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);8 }9 </style>10 <section id="testimonials" class="py-16 bg-gray-50">11 <div class="container mx-auto px-6">12 <div class="text-center mb-12">13 <h2 class="text-3xl font-bold text-gray-800 mb-4">What Our Clients Say</h2>14 <p class="text-gray-600 max-w-2xl mx-auto">Don't just take our word for it - hear from our satisfied customers.</p>15 </div>16 17 <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">18 <div class="testimonial-card bg-white p-8 rounded-lg">19 <div class="flex items-center mb-4">20 <div class="w-12 h-12 rounded-full overflow-hidden mr-4">21 <img src="http://static.photos/people/200x200/1" alt="Client" class="w-full h-full object-cover">22 </div>23 <div>24 <h4 class="font-semibold text-gray-800">Sarah Johnson</h4>25 <div class="flex text-yellow-400">26 <i data-feather="star" class="w-4 h-4 fill-current"></i>27 <i data-feather="star" class="w-4 h-4 fill-current"></i>28 <i data-feather="star" class="w-4 h-4 fill-current"></i>29 <i data-feather="star" class="w-4 h-4 fill-current"></i>30 <i data-feather="star" class="w-4 h-4 fill-current"></i>31 </div>32 </div>33 </div>34 <p class="text-gray-600">"The cleaning service was exceptional! My home has never looked better. Highly recommend AlnService Pro."</p>35 </div>36 37 <div class="testimonial-card bg-white p-8 rounded-lg">38 <div class="flex items-center mb-4">39 <div class="w-12 h-12 rounded-full overflow-hidden mr-4">40 <img src="http://static.photos/people/200x200/2" alt="Client" class="w-full h-full object-cover">41 </div>42 <div>43 <h4 class="font-semibold text-gray-800">Michael Chen</h4>44 <div class="flex text-yellow-400">45 <i data-feather="star" class="w-4 h-4 fill-current"></i>46 <i data-feather="star" class="w-4 h-4 fill-current"></i>47 <i data-feather="star" class="w-4 h-4 fill-current"></i>48 <i data-feather="star" class="w-4 h-4 fill-current"></i>49 <i data-feather="star" class="w-4 h-4 fill-current"></i>50 </div>51 </div>52 </div>53 <p class="text-gray-600">"Quick response and fixed my plumbing issue in no time. Professional and courteous service."</p>54 </div>55 56 <div class="testimonial-card bg-white p-8 rounded-lg">57 <div class="flex items-center mb-4">58 <div class="w-12 h-12 rounded-full overflow-hidden mr-4">59 <img src="http://static.photos/people/200x200/3" alt="Client" class="w-full h-full object-cover">60 </div>61 <div>62 <h4 class="font-semibold text-gray-800">David Wilson</h4>63 <div class="flex text-yellow-400">64 <i data-feather="star" class="w-4 h-4 fill-current"></i>65 <i data-feather="star" class="w-4 h-4 fill-current"></i>66 <i data-feather="star" class="w-4 h-4 fill-current"></i>67 <i data-feather="star" class="w-4 h-4 fill-current"></i>68 <i data-feather="star" class="w-4 h-4 fill-current"></i>69 </div>70 </div>71 </div>72 <p class="text-gray-600">"Installed my smart home system perfectly. The technician was knowledgeable and patient with all my questions."</p>73 </div>74 </div>75 </div>76 </section>77 `;78 }79}80customElements.define('custom-testimonials', CustomTestimonials);