File size: 6,325 Bytes
d0d30e5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
90
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);