File size: 6,110 Bytes
d5de1f9 | 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 CustomTestimonials extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<section 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-bold text-gray-900 mb-4">Trusted by developers worldwide</h2>
<p class="text-lg text-gray-600 max-w-3xl mx-auto">
From startups to enterprises, CodeCollabX scales with teams of any size in any industry.
</p>
</div>
<div class="grid md:grid-cols-3 gap-8 mb-12">
<div class="bg-white p-8 rounded-xl border border-gray-200">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/200x200/1" alt="Duolingo" class="w-12 h-12 rounded-full">
<div class="ml-4">
<h4 class="font-medium text-gray-900">Duolingo</h4>
<p class="text-sm text-gray-500">Language Learning</p>
</div>
</div>
<p class="text-gray-600 mb-4">
"CodeCollabX helps us onboard new engineers and get them productive right away. We have all our source code, issues, and pull requests in one place."
</p>
<div class="flex items-center text-sm text-gray-500">
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<span class="ml-2">5.0</span>
</div>
</div>
<div class="bg-white p-8 rounded-xl border border-gray-200">
<div class="flex items-center mb-4">
<img src="http://static.photos/office/200x200/2" alt="Mercedes-Benz" class="w-12 h-12 rounded-full">
<div class="ml-4">
<h4 class="font-medium text-gray-900">Mercedes-Benz</h4>
<p class="text-sm text-gray-500">Automotive</p>
</div>
</div>
<p class="text-gray-600 mb-4">
"CodeCollabX is a complete platform that frees us from menial tasks and enables us to do our best work. We've standardized our development process across teams."
</p>
<div class="flex items-center text-sm text-gray-500">
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<span class="ml-2">5.0</span>
</div>
</div>
<div class="bg-white p-8 rounded-xl border border-gray-200">
<div class="flex items-center mb-4">
<img src="http://static.photos/finance/200x200/3" alt="Mercado Libre" class="w-12 h-12 rounded-full">
<div class="ml-4">
<h4 class="font-medium text-gray-900">Mercado Libre</h4>
<p class="text-sm text-gray-500">E-commerce</p>
</div>
</div>
<p class="text-gray-600 mb-4">
"With CodeCollabX Copilot, we've cut our coding time by 50%. The AI suggestions are context-aware and help us maintain consistency across our codebase."
</p>
<div class="flex items-center text-sm text-gray-500">
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-1"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400 mr-0.5"></i>
<span class="ml-2">4.9</span>
</div>
</div>
</div>
<div class="text-center mt-8">
<a href="#" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-accent-500 hover:bg-accent-600">
Start building today
<i data-feather="arrow-right" class="ml-2 w-5 h-5"></i>
</a>
</div>
</div>
</section>
`;
}
}
customElements.define('custom-testimonials', CustomTestimonials); |