wolmarsh's picture
look terrible, css styling out of whack
4168eeb verified
Raw History Blame Contribute Delete
4.89 kB
class CustomFeatures extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
.feature-icon {
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}
</style>
<section id="features" class="py-20 px-6 bg-white" style="padding-top: 5rem; padding-bottom: 5rem;">
<div class="max-w-7xl mx-auto">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Automate Your Reporting Workflow</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">
Save hours of manual work with our powerful report automation tools
</p>
</div>
<div class="grid md:grid-cols-3 gap-8">
<div class="report-card bg-white p-8 rounded-xl border border-gray-100">
<div class="feature-icon w-14 h-14 rounded-lg flex items-center justify-center mb-6">
<i data-feather="upload-cloud" class="text-white"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-3">Connect Your Sheets</h3>
<p class="text-gray-600">
Link your Google Sheets in seconds. We securely access only the data you specify.
</p>
</div>
<div class="report-card bg-white p-8 rounded-xl border border-gray-100">
<div class="feature-icon w-14 h-14 rounded-lg flex items-center justify-center mb-6">
<i data-feather="layout" class="text-white"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-3">Custom Templates</h3>
<p class="text-gray-600">
Choose from beautiful templates or create your own with our drag-and-drop editor.
</p>
</div>
<div class="report-card bg-white p-8 rounded-xl border border-gray-100">
<div class="feature-icon w-14 h-14 rounded-lg flex items-center justify-center mb-6">
<i data-feather="download" class="text-white"></i>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-3">Generate & Share</h3>
<p class="text-gray-600">
One-click PDF generation. Automatically email reports to clients on schedule.
</p>
</div>
</div>
<div class="mt-20 grid md:grid-cols-2 gap-12 items-center">
<div>
<img src="http://static.photos/office/640x360/10" alt="Report Example" class="rounded-xl shadow-xl">
</div>
<div>
<h3 class="text-2xl font-bold text-gray-900 mb-6">Branded to Perfection</h3>
<p class="text-gray-600 mb-6">
Add your logo, brand colors, and custom styling to every report. Maintain professional consistency across all client communications.
</p>
<ul class="space-y-4">
<li class="flex items-start">
<i data-feather="check" class="text-green-500 mr-3 mt-1"></i>
<span class="text-gray-700">White-label reports with your branding</span>
</li>
<li class="flex items-start">
<i data-feather="check" class="text-green-500 mr-3 mt-1"></i>
<span class="text-gray-700">Multiple template options for different needs</span>
</li>
<li class="flex items-start">
<i data-feather="check" class="text-green-500 mr-3 mt-1"></i>
<span class="text-gray-700">Custom cover pages and executive summaries</span>
</li>
</ul>
</div>
</div>
</div>
</section>
`;
}
}
customElements.define('custom-features', CustomFeatures);