can you take a look at the website on this url: electrician-template.framer.website and replicate it completely, in as much detail as you can
d0d30e5 verified Download components/services.js from GD-Huggingfaces/sparkwire-electrics: direct link, hf CLI and curl.
- Browser
- Download file 6.33 kB
-
https://huggingface.co/spaces/GD-Huggingfaces/sparkwire-electrics/resolve/main/components/services.js
- Command line
-
hf download hf://spaces/GD-Huggingfaces/sparkwire-electrics/components/services.js
-
curl -L -o services.js https://huggingface.co/spaces/GD-Huggingfaces/sparkwire-electrics/resolve/main/components/services.js
6.33 kB
| class CustomServices extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <section id="services" class="py-16 bg-white"> | |
| <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-extrabold text-gray-900 sm:text-4xl">Our Electrical Services</h2> | |
| <p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">Comprehensive solutions for all your electrical needs</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <div class="service-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300 ease-in-out"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="flex-shrink-0 bg-primary-100 p-3 rounded-full"> | |
| <i data-feather="home" class="text-primary-600 w-6 h-6"></i> | |
| </div> | |
| <h3 class="ml-3 text-lg font-medium text-gray-900">Residential Wiring</h3> | |
| </div> | |
| <p class="mt-2 text-gray-600">Complete home wiring solutions including new construction, renovations, and upgrades to meet current electrical codes.</p> | |
| </div> | |
| </div> | |
| <div class="service-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300 ease-in-out"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="flex-shrink-0 bg-primary-100 p-3 rounded-full"> | |
| <i data-feather="briefcase" class="text-primary-600 w-6 h-6"></i> | |
| </div> | |
| <h3 class="ml-3 text-lg font-medium text-gray-900">Commercial Electrical</h3> | |
| </div> | |
| <p class="mt-2 text-gray-600">Expert electrical services for businesses including lighting, power distribution, and energy efficiency solutions.</p> | |
| </div> | |
| </div> | |
| <div class="service-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300 ease-in-out"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="flex-shrink-0 bg-primary-100 p-3 rounded-full"> | |
| <i data-feather="alert-triangle" class="text-primary-600 w-6 h-6"></i> | |
| </div> | |
| <h3 class="ml-3 text-lg font-medium text-gray-900">Emergency Repairs</h3> | |
| </div> | |
| <p class="mt-2 text-gray-600">24/7 emergency service for electrical issues including power outages, sparks, and other dangerous situations.</p> | |
| </div> | |
| </div> | |
| <div class="service-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300 ease-in-out"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="flex-shrink-0 bg-primary-100 p-3 rounded-full"> | |
| <i data-feather="sun" class="text-primary-600 w-6 h-6"></i> | |
| </div> | |
| <h3 class="ml-3 text-lg font-medium text-gray-900">Lighting Installation</h3> | |
| </div> | |
| <p class="mt-2 text-gray-600">Professional installation of indoor and outdoor lighting including LED upgrades, security lighting, and decorative fixtures.</p> | |
| </div> | |
| </div> | |
| <div class="service-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300 ease-in-out"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="flex-shrink-0 bg-primary-100 p-3 rounded-full"> | |
| <i data-feather="battery-charging" class="text-primary-600 w-6 h-6"></i> | |
| </div> | |
| <h3 class="ml-3 text-lg font-medium text-gray-900">Panel Upgrades</h3> | |
| </div> | |
| <p class="mt-2 text-gray-600">Upgrade your electrical panel to meet modern power demands and improve safety with our certified electricians.</p> | |
| </div> | |
| </div> | |
| <div class="service-card bg-white rounded-lg shadow-md overflow-hidden transition duration-300 ease-in-out"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="flex-shrink-0 bg-primary-100 p-3 rounded-full"> | |
| <i data-feather="bar-chart-2" class="text-primary-600 w-6 h-6"></i> | |
| </div> | |
| <h3 class="ml-3 text-lg font-medium text-gray-900">Energy Audits</h3> | |
| </div> | |
| <p class="mt-2 text-gray-600">Comprehensive energy audits to identify inefficiencies and recommend cost-saving electrical upgrades.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-services', CustomServices); |