Spaces:
Running
Running
| class CustomTestimonials extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| .testimonial-card { | |
| transition: all 0.3s ease; | |
| } | |
| .testimonial-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); | |
| } | |
| </style> | |
| <section id="testimonials" class="py-20 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">What Our Customers Say</h2> | |
| <p class="text-lg text-gray-600 max-w-2xl mx-auto"> | |
| Don't just take our word for it. Here's what our customers have to say. | |
| </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-8 rounded-lg border border-gray-100"> | |
| <div class="flex items-center mb-6"> | |
| <img src="http://static.photos/people/200x200/1" alt="Sarah Johnson" class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-semibold text-gray-900">Sarah Johnson</h4> | |
| <p class="text-gray-600 text-sm">Marketing Director</p> | |
| </div> | |
| </div> | |
| <p class="text-gray-600 italic"> | |
| "SkyWork has completely transformed how our team collaborates. We've seen a 40% increase in productivity since we started using it." | |
| </p> | |
| <div class="flex mt-4"> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| </div> | |
| </div> | |
| <div class="testimonial-card bg-white p-8 rounded-lg border border-gray-100"> | |
| <div class="flex items-center mb-6"> | |
| <img src="http://static.photos/people/200x200/2" alt="Michael Chen" class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-semibold text-gray-900">Michael Chen</h4> | |
| <p class="text-gray-600 text-sm">CTO</p> | |
| </div> | |
| </div> | |
| <p class="text-gray-600 italic"> | |
| "The developer tools and API integration are top-notch. We were able to customize SkyWork to fit our exact needs." | |
| </p> | |
| <div class="flex mt-4"> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| </div> | |
| </div> | |
| <div class="testimonial-card bg-white p-8 rounded-lg border border-gray-100"> | |
| <div class="flex items-center mb-6"> | |
| <img src="http://static.photos/people/200x200/3" alt="Emma Rodriguez" class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-semibold text-gray-900">Emma Rodriguez</h4> | |
| <p class="text-gray-600 text-sm">Product Manager</p> | |
| </div> | |
| </div> | |
| <p class="text-gray-600 italic"> | |
| "The analytics dashboard gives us incredible insights into our workflow. We've identified and fixed several bottlenecks thanks to SkyWork." | |
| </p> | |
| <div class="flex mt-4"> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| <i data-feather="star" class="text-yellow-400 w-4 h-4"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-testimonials', CustomTestimonials); |