File size: 1,978 Bytes
d0d30e5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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