File size: 4,603 Bytes
72b6287
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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);