Zakay's picture
Clone esse site:
871e4b0 verified
class CustomFeatures extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
.feature-card {
transition: all 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
</style>
<section id="features" class="py-20 bg-white">
<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">Powerful Features</h2>
<p class="text-lg text-gray-600 max-w-2xl mx-auto">
Everything you need to supercharge your workflow and collaboration.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<div class="feature-card bg-white p-8 rounded-lg border border-gray-100">
<div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-6">
<i data-feather="zap" class="text-blue-500"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-3">Lightning Fast</h3>
<p class="text-gray-600">
Our platform is optimized for speed, so you can get more done in less time.
</p>
</div>
<div class="feature-card bg-white p-8 rounded-lg border border-gray-100">
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-6">
<i data-feather="users" class="text-green-500"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-3">Team Collaboration</h3>
<p class="text-gray-600">
Work seamlessly with your team members in real-time, no matter where they are.
</p>
</div>
<div class="feature-card bg-white p-8 rounded-lg border border-gray-100">
<div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mb-6">
<i data-feather="lock" class="text-purple-500"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-3">Secure & Private</h3>
<p class="text-gray-600">
Your data is protected with enterprise-grade security and encryption.
</p>
</div>
<div class="feature-card bg-white p-8 rounded-lg border border-gray-100">
<div class="w-12 h-12 bg-yellow-100 rounded-full flex items-center justify-center mb-6">
<i data-feather="bar-chart-2" class="text-yellow-500"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-3">Advanced Analytics</h3>
<p class="text-gray-600">
Get powerful insights into your workflow with our comprehensive analytics.
</p>
</div>
<div class="feature-card bg-white p-8 rounded-lg border border-gray-100">
<div class="w-12 h-12 bg-red-100 rounded-full flex items-center justify-center mb-6">
<i data-feather="code" class="text-red-500"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-3">Developer Friendly</h3>
<p class="text-gray-600">
Robust API and documentation makes integration a breeze for developers.
</p>
</div>
<div class="feature-card bg-white p-8 rounded-lg border border-gray-100">
<div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center mb-6">
<i data-feather="clock" class="text-indigo-500"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-3">24/7 Support</h3>
<p class="text-gray-600">
Our dedicated support team is always available to help you with any issues.
</p>
</div>
</div>
</div>
</section>
`;
}
}
customElements.define('custom-features', CustomFeatures);