Spaces:
Running
Running
| class TestimonialsSection extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| .testimonial-card { | |
| transition: all 0.3s ease; | |
| } | |
| .testimonial-card:hover { | |
| transform: translateY(-5px); | |
| } | |
| </style> | |
| <section 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 md:text-4xl font-bold text-gray-900 mb-4">Bij Hostnet zijn klanten in goede handen</h2> | |
| <p class="text-xl text-gray-600 max-w-3xl mx-auto">Veel enthousiaste klanten gingen je voor. Ontdek hun ervaringen met Hostnet.</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Testimonial 1 --> | |
| <div class="testimonial-card bg-white rounded-xl shadow-md p-8"> | |
| <div class="flex items-center mb-6"> | |
| <div class="bg-gray-200 border-2 border-dashed rounded-xl w-16 h-16"></div> | |
| <div class="ml-4"> | |
| <h4 class="font-bold">Jan Jansen</h4> | |
| <p class="text-gray-600">Eigenaar webshop</p> | |
| </div> | |
| </div> | |
| <p class="text-gray-700 italic">"De service van Hostnet is uitstekend. Altijd snel geholpen en mijn website draait perfect!"</p> | |
| <div class="flex mt-4"> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current ml-1"></i> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current ml-1"></i> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current ml-1"></i> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current ml-1"></i> | |
| </div> | |
| </div> | |
| <!-- Testimonial 2 --> | |
| <div class="testimonial-card bg-white rounded-xl shadow-md p-8"> | |
| <div class="flex items-center mb-6"> | |
| <div class="bg-gray-200 border-2 border-dashed rounded-xl w-16 h-16"></div> | |
| <div class="ml-4"> | |
| <h4 class="font-bold">Marie de Vries</h4> | |
| <p class="text-gray-600">Freelance designer</p> | |
| </div> | |
| </div> | |
| <p class="text-gray-700 italic">"Super tevreden over mijn nieuwe website. Het proces was eenvoudig en het resultaat prachtig!"</p> | |
| <div class="flex mt-4"> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current ml-1"></i> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current ml-1"></i> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current ml-1"></i> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current ml-1"></i> | |
| </div> | |
| </div> | |
| <!-- Testimonial 3 --> | |
| <div class="testimonial-card bg-white rounded-xl shadow-md p-8"> | |
| <div class="flex items-center mb-6"> | |
| <div class="bg-gray-200 border-2 border-dashed rounded-xl w-16 h-16"></div> | |
| <div class="ml-4"> | |
| <h4 class="font-bold">Pieter Bakker</h4> | |
| <p class="text-gray-600">Directeur consultancy</p> | |
| </div> | |
| </div> | |
| <p class="text-gray-700 italic">"Hostnet heeft ons geholpen met alle IT-voorzieningen. Betrouwbaar en professioneel!"</p> | |
| <div class="flex mt-4"> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current ml-1"></i> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current ml-1"></i> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current ml-1"></i> | |
| <i data-feather="star" class="w-5 h-5 text-yellow-400 fill-current ml-1"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-12 text-center"> | |
| <a href="#" class="btn-primary">Bekijk alle testimonials</a> | |
| </div> | |
| </div> | |
| </section> | |
| `; | |
| feather.replace(); | |
| } | |
| } | |
| customElements.define('testimonials-section', TestimonialsSection); |