File size: 4,086 Bytes
ae2e54d | 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 | class CustomFeatures extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<div id="features" class="py-12 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<h2 class="text-base text-primary font-semibold tracking-wide uppercase">Features</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
Everything you need to grow with messaging
</p>
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
Powerful tools to automate, personalize, and scale your conversations.
</p>
</div>
<div class="mt-10">
<div class="space-y-10 md:space-y-0 md:grid md:grid-cols-2 md:gap-x-8 md:gap-y-10">
<div class="feature-card relative bg-white p-6 rounded-lg shadow-sm">
<div class="flex items-center">
<div class="flex-shrink-0 bg-primary bg-opacity-10 rounded-md p-3">
<i data-feather="message-square" class="h-6 w-6 text-primary"></i>
</div>
<div class="ml-5">
<h3 class="text-lg leading-6 font-medium text-gray-900">Conversation Builder</h3>
</div>
</div>
<div class="mt-2 ml-16">
<p class="text-base text-gray-500">
Create automated conversations with our visual builder. No coding required.
</p>
</div>
</div>
<div class="feature-card relative bg-white p-6 rounded-lg shadow-sm">
<div class="flex items-center">
<div class="flex-shrink-0 bg-primary bg-opacity-10 rounded-md p-3">
<i data-feather="users" class="h-6 w-6 text-primary"></i>
</div>
<div class="ml-5">
<h3 class="text-lg leading-6 font-medium text-gray-900">Audience Segmentation</h3>
</div>
</div>
<div class="mt-2 ml-16">
<p class="text-base text-gray-500">
Target the right people with the right message at the right time.
</p>
</div>
</div>
<div class="feature-card relative bg-white p-6 rounded-lg shadow-sm">
<div class="flex items-center">
<div class="flex-shrink-0 bg-primary bg-opacity-10 rounded-md p-3">
<i data-feather="shopping-cart" class="h-6 w-6 text-primary"></i>
</div>
<div class="ml-5">
<h3 class="text-lg leading-6 font-medium text-gray-900">E-commerce Integration</h3>
</div>
</div>
<div class="mt-2 ml-16">
<p class="text-base text-gray-500">
Sell products directly in chat with Shopify, WooCommerce and more.
</p>
</div>
</div>
<div class="feature-card relative bg-white p-6 rounded-lg shadow-sm">
<div class="flex items-center">
<div class="flex-shrink-0 bg-primary bg-opacity-10 rounded-md p-3">
<i data-feather="bar-chart-2" class="h-6 w-6 text-primary"></i>
</div>
<div class="ml-5">
<h3 class="text-lg leading-6 font-medium text-gray-900">Analytics Dashboard</h3>
</div>
</div>
<div class="mt-2 ml-16">
<p class="text-base text-gray-500">
Track performance and optimize your campaigns with real-time data.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
`;
}
}
customElements.define('custom-features', CustomFeatures); |