Crossberry's picture
Continu
d5de1f9 verified
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);