Spaces:
Running
Running
Add 2 files
Browse files- README.md +7 -5
- index.html +904 -19
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: static
|
7 |
pinned: false
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: gstorm
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: purple
|
5 |
+
colorTo: pink
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
+
tags:
|
9 |
+
- deepsite
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
@@ -1,19 +1,904 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Houston Roofing Experts | Roof Repair & Replacement</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
+
<script src="https://js.stripe.com/v3/"></script>
|
10 |
+
<style>
|
11 |
+
.hero-bg {
|
12 |
+
background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
|
13 |
+
background-size: cover;
|
14 |
+
background-position: center;
|
15 |
+
}
|
16 |
+
|
17 |
+
.dashboard-nav {
|
18 |
+
height: calc(100vh - 4rem);
|
19 |
+
}
|
20 |
+
|
21 |
+
.crm-pipeline-stage {
|
22 |
+
min-width: 300px;
|
23 |
+
}
|
24 |
+
|
25 |
+
.kanban-column {
|
26 |
+
min-width: 280px;
|
27 |
+
}
|
28 |
+
|
29 |
+
.calendar-day {
|
30 |
+
height: 120px;
|
31 |
+
}
|
32 |
+
|
33 |
+
.roof-measurement-container {
|
34 |
+
background-image: url('https://images.unsplash.com/photo-1513519245088-0e12902e5a38?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
|
35 |
+
background-size: cover;
|
36 |
+
background-position: center;
|
37 |
+
}
|
38 |
+
|
39 |
+
.ai-chat-container {
|
40 |
+
height: 500px;
|
41 |
+
}
|
42 |
+
|
43 |
+
.chat-message {
|
44 |
+
max-width: 80%;
|
45 |
+
}
|
46 |
+
|
47 |
+
.payment-form {
|
48 |
+
max-width: 500px;
|
49 |
+
}
|
50 |
+
|
51 |
+
.client-portal-card {
|
52 |
+
transition: all 0.3s ease;
|
53 |
+
}
|
54 |
+
|
55 |
+
.client-portal-card:hover {
|
56 |
+
transform: translateY(-5px);
|
57 |
+
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
|
58 |
+
}
|
59 |
+
|
60 |
+
/* Animation for AI typing indicator */
|
61 |
+
@keyframes pulse {
|
62 |
+
0%, 100% { opacity: 1; }
|
63 |
+
50% { opacity: 0.5; }
|
64 |
+
}
|
65 |
+
|
66 |
+
.typing-indicator span {
|
67 |
+
animation: pulse 1.5s infinite;
|
68 |
+
}
|
69 |
+
|
70 |
+
.typing-indicator span:nth-child(2) {
|
71 |
+
animation-delay: 0.2s;
|
72 |
+
}
|
73 |
+
|
74 |
+
.typing-indicator span:nth-child(3) {
|
75 |
+
animation-delay: 0.4s;
|
76 |
+
}
|
77 |
+
</style>
|
78 |
+
</head>
|
79 |
+
<body class="font-sans">
|
80 |
+
<!-- Header/Navigation -->
|
81 |
+
<header class="bg-white shadow-md">
|
82 |
+
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
|
83 |
+
<div class="flex items-center">
|
84 |
+
<img src="https://preview--roofing-revamp-houston.lovable.app/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Flogo.7d1360e3.png&w=128&q=75" alt="Houston Roofing Experts" class="h-12">
|
85 |
+
<span class="ml-2 text-xl font-bold text-blue-800">Houston Roofing Experts</span>
|
86 |
+
</div>
|
87 |
+
<nav class="hidden md:flex space-x-8">
|
88 |
+
<a href="#" class="text-blue-800 font-medium hover:text-blue-600">Home</a>
|
89 |
+
<a href="#services" class="text-gray-600 hover:text-blue-600">Services</a>
|
90 |
+
<a href="#about" class="text-gray-600 hover:text-blue-600">About Us</a>
|
91 |
+
<a href="#testimonials" class="text-gray-600 hover:text-blue-600">Testimonials</a>
|
92 |
+
<a href="#contact" class="text-gray-600 hover:text-blue-600">Contact</a>
|
93 |
+
<a href="#" onclick="showDashboard()" class="bg-blue-600 text-white px-4 py-2 rounded-md hover:bg-blue-700">Client Portal</a>
|
94 |
+
</nav>
|
95 |
+
<button class="md:hidden text-gray-600" onclick="toggleMobileMenu()">
|
96 |
+
<i class="fas fa-bars text-2xl"></i>
|
97 |
+
</button>
|
98 |
+
</div>
|
99 |
+
<!-- Mobile Menu -->
|
100 |
+
<div id="mobileMenu" class="hidden md:hidden bg-white py-4 px-4 shadow-lg">
|
101 |
+
<a href="#" class="block py-2 text-blue-800 font-medium">Home</a>
|
102 |
+
<a href="#services" class="block py-2 text-gray-600 hover:text-blue-600">Services</a>
|
103 |
+
<a href="#about" class="block py-2 text-gray-600 hover:text-blue-600">About Us</a>
|
104 |
+
<a href="#testimonials" class="block py-2 text-gray-600 hover:text-blue-600">Testimonials</a>
|
105 |
+
<a href="#contact" class="block py-2 text-gray-600 hover:text-blue-600">Contact</a>
|
106 |
+
<a href="#" onclick="showDashboard()" class="block mt-2 bg-blue-600 text-white px-4 py-2 rounded-md text-center hover:bg-blue-700">Client Portal</a>
|
107 |
+
</div>
|
108 |
+
</header>
|
109 |
+
|
110 |
+
<!-- Hero Section -->
|
111 |
+
<section class="hero-bg text-white py-20 md:py-32">
|
112 |
+
<div class="container mx-auto px-4">
|
113 |
+
<div class="max-w-2xl">
|
114 |
+
<h1 class="text-4xl md:text-5xl font-bold mb-6">Houston's Trusted Roofing Experts</h1>
|
115 |
+
<p class="text-xl mb-8">Quality roof repair, replacement, and installation services with over 20 years of experience serving the Houston area.</p>
|
116 |
+
<div class="flex flex-col sm:flex-row gap-4">
|
117 |
+
<a href="#contact" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-md text-center font-medium">Get a Free Estimate</a>
|
118 |
+
<a href="tel:+12812345678" class="bg-white hover:bg-gray-100 text-blue-800 px-6 py-3 rounded-md text-center font-medium">
|
119 |
+
<i class="fas fa-phone mr-2"></i> (281) 234-5678
|
120 |
+
</a>
|
121 |
+
</div>
|
122 |
+
</div>
|
123 |
+
</div>
|
124 |
+
</section>
|
125 |
+
|
126 |
+
<!-- AI Chat Assistant (floating button) -->
|
127 |
+
<div id="aiChatButton" class="fixed bottom-6 right-6 bg-blue-600 text-white w-14 h-14 rounded-full flex items-center justify-center shadow-lg cursor-pointer hover:bg-blue-700 transition-colors" onclick="toggleAIChat()">
|
128 |
+
<i class="fas fa-robot text-2xl"></i>
|
129 |
+
</div>
|
130 |
+
|
131 |
+
<!-- AI Chat Container (hidden by default) -->
|
132 |
+
<div id="aiChatContainer" class="hidden fixed bottom-24 right-6 w-96 bg-white rounded-lg shadow-xl overflow-hidden border border-gray-200 ai-chat-container flex flex-col">
|
133 |
+
<div class="bg-blue-600 text-white p-4 flex justify-between items-center">
|
134 |
+
<h3 class="font-bold">Roofing Assistant</h3>
|
135 |
+
<button class="text-white hover:text-gray-200" onclick="toggleAIChat()">
|
136 |
+
<i class="fas fa-times"></i>
|
137 |
+
</button>
|
138 |
+
</div>
|
139 |
+
<div id="aiChatMessages" class="flex-1 p-4 overflow-y-auto bg-gray-50">
|
140 |
+
<div class="chat-message bg-blue-100 text-blue-800 rounded-lg p-3 mb-3">
|
141 |
+
<p>Hello! I'm your roofing assistant. How can I help you today?</p>
|
142 |
+
<p class="text-xs text-blue-600 mt-1">Here are some things I can help with:</p>
|
143 |
+
<ul class="list-disc list-inside text-xs text-blue-600">
|
144 |
+
<li>Get a quick estimate</li>
|
145 |
+
<li>Answer roofing questions</li>
|
146 |
+
<li>Schedule an inspection</li>
|
147 |
+
<li>Explain our services</li>
|
148 |
+
</ul>
|
149 |
+
</div>
|
150 |
+
</div>
|
151 |
+
<div class="p-4 border-t border-gray-200 bg-white">
|
152 |
+
<div id="aiTypingIndicator" class="hidden mb-2 text-sm text-gray-500">
|
153 |
+
<div class="typing-indicator flex space-x-1">
|
154 |
+
<span>•</span>
|
155 |
+
<span>•</span>
|
156 |
+
<span>•</span>
|
157 |
+
</div>
|
158 |
+
</div>
|
159 |
+
<div class="flex">
|
160 |
+
<input type="text" id="aiChatInput" placeholder="Type your question..." class="flex-1 border border-gray-300 rounded-l-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
|
161 |
+
<button onclick="sendAIChatMessage()" class="bg-blue-600 text-white px-4 py-2 rounded-r-lg hover:bg-blue-700">
|
162 |
+
<i class="fas fa-paper-plane"></i>
|
163 |
+
</button>
|
164 |
+
</div>
|
165 |
+
</div>
|
166 |
+
</div>
|
167 |
+
|
168 |
+
<!-- Services Section -->
|
169 |
+
<section id="services" class="py-16 bg-gray-50">
|
170 |
+
<div class="container mx-auto px-4">
|
171 |
+
<h2 class="text-3xl font-bold text-center mb-12">Our Roofing Services</h2>
|
172 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
173 |
+
<!-- Service 1 -->
|
174 |
+
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow">
|
175 |
+
<div class="text-blue-600 mb-4">
|
176 |
+
<i class="fas fa-home text-4xl"></i>
|
177 |
+
</div>
|
178 |
+
<h3 class="text-xl font-bold mb-3">Roof Replacement</h3>
|
179 |
+
<p class="text-gray-600 mb-4">Complete roof replacement using high-quality materials from trusted manufacturers.</p>
|
180 |
+
<a href="#" class="text-blue-600 font-medium hover:text-blue-800">Learn More <i class="fas fa-arrow-right ml-1"></i></a>
|
181 |
+
</div>
|
182 |
+
|
183 |
+
<!-- Service 2 -->
|
184 |
+
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow">
|
185 |
+
<div class="text-blue-600 mb-4">
|
186 |
+
<i class="fas fa-tools text-4xl"></i>
|
187 |
+
</div>
|
188 |
+
<h3 class="text-xl font-bold mb-3">Roof Repair</h3>
|
189 |
+
<p class="text-gray-600 mb-4">Expert repairs for leaks, storm damage, and general wear and tear to extend your roof's life.</p>
|
190 |
+
<a href="#" class="text-blue-600 font-medium hover:text-blue-800">Learn More <i class="fas fa-arrow-right ml-1"></i></a>
|
191 |
+
</div>
|
192 |
+
|
193 |
+
<!-- Service 3 -->
|
194 |
+
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow">
|
195 |
+
<div class="text-blue-600 mb-4">
|
196 |
+
<i class="fas fa-search-dollar text-4xl"></i>
|
197 |
+
</div>
|
198 |
+
<h3 class="text-xl font-bold mb-3">Roof Inspections</h3>
|
199 |
+
<p class="text-gray-600 mb-4">Comprehensive inspections to assess your roof's condition and recommend appropriate solutions.</p>
|
200 |
+
<a href="#" class="text-blue-600 font-medium hover:text-blue-800">Learn More <i class="fas fa-arrow-right ml-1"></i></a>
|
201 |
+
</div>
|
202 |
+
</div>
|
203 |
+
</div>
|
204 |
+
</section>
|
205 |
+
|
206 |
+
<!-- About Section -->
|
207 |
+
<section id="about" class="py-16">
|
208 |
+
<div class="container mx-auto px-4">
|
209 |
+
<div class="flex flex-col md:flex-row items-center">
|
210 |
+
<div class="md:w-1/2 mb-8 md:mb-0 md:pr-8">
|
211 |
+
<img src="https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80" alt="Our Team" class="rounded-lg shadow-md w-full">
|
212 |
+
</div>
|
213 |
+
<div class="md:w-1/2">
|
214 |
+
<h2 class="text-3xl font-bold mb-6">About Houston Roofing Experts</h2>
|
215 |
+
<p class="text-gray-600 mb-4">Founded in 2003, Houston Roofing Experts has been providing top-quality roofing services to residential and commercial clients throughout the Greater Houston area.</p>
|
216 |
+
<p class="text-gray-600 mb-4">Our team of certified professionals is committed to excellence in every project, using only the highest quality materials and industry-best practices.</p>
|
217 |
+
<p class="text-gray-600 mb-6">We're fully licensed and insured, and we stand behind our work with comprehensive warranties.</p>
|
218 |
+
<div class="flex flex-wrap gap-4">
|
219 |
+
<div class="flex items-center bg-blue-50 px-4 py-2 rounded-md">
|
220 |
+
<i class="fas fa-check-circle text-blue-600 mr-2"></i>
|
221 |
+
<span>Licensed & Insured</span>
|
222 |
+
</div>
|
223 |
+
<div class="flex items-center bg-blue-50 px-4 py-2 rounded-md">
|
224 |
+
<i class="fas fa-check-circle text-blue-600 mr-2"></i>
|
225 |
+
<span>20+ Years Experience</span>
|
226 |
+
</div>
|
227 |
+
<div class="flex items-center bg-blue-50 px-4 py-2 rounded-md">
|
228 |
+
<i class="fas fa-check-circle text-blue-600 mr-2"></i>
|
229 |
+
<span>Free Estimates</span>
|
230 |
+
</div>
|
231 |
+
</div>
|
232 |
+
</div>
|
233 |
+
</div>
|
234 |
+
</div>
|
235 |
+
</section>
|
236 |
+
|
237 |
+
<!-- Testimonials Section -->
|
238 |
+
<section id="testimonials" class="py-16 bg-gray-50">
|
239 |
+
<div class="container mx-auto px-4">
|
240 |
+
<h2 class="text-3xl font-bold text-center mb-12">What Our Customers Say</h2>
|
241 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
242 |
+
<!-- Testimonial 1 -->
|
243 |
+
<div class="bg-white p-6 rounded-lg shadow-md">
|
244 |
+
<div class="flex items-center mb-4">
|
245 |
+
<div class="text-yellow-400 mr-2">
|
246 |
+
<i class="fas fa-star"></i>
|
247 |
+
<i class="fas fa-star"></i>
|
248 |
+
<i class="fas fa-star"></i>
|
249 |
+
<i class="fas fa-star"></i>
|
250 |
+
<i class="fas fa-star"></i>
|
251 |
+
</div>
|
252 |
+
<span class="text-gray-600">5.0</span>
|
253 |
+
</div>
|
254 |
+
<p class="text-gray-600 mb-4">"Houston Roofing Experts did an amazing job replacing our roof after hurricane damage. They were professional, efficient, and the quality is outstanding."</p>
|
255 |
+
<div class="flex items-center">
|
256 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Sarah J." class="w-10 h-10 rounded-full mr-3">
|
257 |
+
<div>
|
258 |
+
<h4 class="font-bold">Sarah J.</h4>
|
259 |
+
<p class="text-gray-500 text-sm">Houston, TX</p>
|
260 |
+
</div>
|
261 |
+
</div>
|
262 |
+
</div>
|
263 |
+
|
264 |
+
<!-- Testimonial 2 -->
|
265 |
+
<div class="bg-white p-6 rounded-lg shadow-md">
|
266 |
+
<div class="flex items-center mb-4">
|
267 |
+
<div class="text-yellow-400 mr-2">
|
268 |
+
<i class="fas fa-star"></i>
|
269 |
+
<i class="fas fa-star"></i>
|
270 |
+
<i class="fas fa-star"></i>
|
271 |
+
<i class="fas fa-star"></i>
|
272 |
+
<i class="fas fa-star"></i>
|
273 |
+
</div>
|
274 |
+
<span class="text-gray-600">5.0</span>
|
275 |
+
</div>
|
276 |
+
<p class="text-gray-600 mb-4">"The team was punctual, cleaned up perfectly, and the roof looks fantastic. They even helped us navigate the insurance claim process."</p>
|
277 |
+
<div class="flex items-center">
|
278 |
+
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Michael T." class="w-10 h-10 rounded-full mr-3">
|
279 |
+
<div>
|
280 |
+
<h4 class="font-bold">Michael T.</h4>
|
281 |
+
<p class="text-gray-500 text-sm">Katy, TX</p>
|
282 |
+
</div>
|
283 |
+
</div>
|
284 |
+
</div>
|
285 |
+
|
286 |
+
<!-- Testimonial 3 -->
|
287 |
+
<div class="bg-white p-6 rounded-lg shadow-md">
|
288 |
+
<div class="flex items-center mb-4">
|
289 |
+
<div class="text-yellow-400 mr-2">
|
290 |
+
<i class="fas fa-star"></i>
|
291 |
+
<i class="fas fa-star"></i>
|
292 |
+
<i class="fas fa-star"></i>
|
293 |
+
<i class="fas fa-star"></i>
|
294 |
+
<i class="fas fa-star"></i>
|
295 |
+
</div>
|
296 |
+
<span class="text-gray-600">5.0</span>
|
297 |
+
</div>
|
298 |
+
<p class="text-gray-600 mb-4">"From estimate to completion, the service was exceptional. They identified issues others had missed and provided a fair, transparent quote."</p>
|
299 |
+
<div class="flex items-center">
|
300 |
+
<img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Lisa M." class="w-10 h-10 rounded-full mr-3">
|
301 |
+
<div>
|
302 |
+
<h4 class="font-bold">Lisa M.</h4>
|
303 |
+
<p class="text-gray-500 text-sm">Sugar Land, TX</p>
|
304 |
+
</div>
|
305 |
+
</div>
|
306 |
+
</div>
|
307 |
+
</div>
|
308 |
+
</div>
|
309 |
+
</section>
|
310 |
+
|
311 |
+
<!-- Contact Section -->
|
312 |
+
<section id="contact" class="py-16 bg-blue-800 text-white">
|
313 |
+
<div class="container mx-auto px-4">
|
314 |
+
<h2 class="text-3xl font-bold text-center mb-12">Contact Us</h2>
|
315 |
+
<div class="flex flex-col lg:flex-row gap-8">
|
316 |
+
<div class="lg:w-1/2">
|
317 |
+
<h3 class="text-xl font-bold mb-4">Get a Free Roofing Estimate</h3>
|
318 |
+
<form id="contactForm" class="space-y-4" onsubmit="submitContactForm(event)">
|
319 |
+
<div>
|
320 |
+
<label for="name" class="block mb-1">Full Name</label>
|
321 |
+
<input type="text" id="name" class="w-full px-4 py-2 rounded-md text-gray-800" required>
|
322 |
+
</div>
|
323 |
+
<div>
|
324 |
+
<label for="email" class="block mb-1">Email Address</label>
|
325 |
+
<input type="email" id="email" class="w-full px-4 py-2 rounded-md text-gray-800" required>
|
326 |
+
</div>
|
327 |
+
<div>
|
328 |
+
<label for="phone" class="block mb-1">Phone Number</label>
|
329 |
+
<input type="tel" id="phone" class="w-full px-4 py-2 rounded-md text-gray-800" required>
|
330 |
+
</div>
|
331 |
+
<div>
|
332 |
+
<label for="service" class="block mb-1">Service Needed</label>
|
333 |
+
<select id="service" class="w-full px-4 py-2 rounded-md text-gray-800">
|
334 |
+
<option value="">Select a service</option>
|
335 |
+
<option value="replacement">Roof Replacement</option>
|
336 |
+
<option value="repair">Roof Repair</option>
|
337 |
+
<option value="inspection">Roof Inspection</option>
|
338 |
+
<option value="other">Other</option>
|
339 |
+
</select>
|
340 |
+
</div>
|
341 |
+
<div>
|
342 |
+
<label for="message" class="block mb-1">Message</label>
|
343 |
+
<textarea id="message" rows="4" class="w-full px-4 py-2 rounded-md text-gray-800"></textarea>
|
344 |
+
</div>
|
345 |
+
<button type="submit" class="bg-white hover:bg-gray-100 text-blue-800 px-6 py-3 rounded-md font-medium w-full">Submit Request</button>
|
346 |
+
</form>
|
347 |
+
</div>
|
348 |
+
<div class="lg:w-1/2">
|
349 |
+
<h3 class="text-xl font-bold mb-4">Our Contact Information</h3>
|
350 |
+
<div class="space-y-6">
|
351 |
+
<div class="flex items-start">
|
352 |
+
<i class="fas fa-map-marker-alt text-2xl mr-4 mt-1"></i>
|
353 |
+
<div>
|
354 |
+
<h4 class="font-bold mb-1">Address</h4>
|
355 |
+
<p>1234 Roofing Lane<br>Houston, TX 77002</p>
|
356 |
+
</div>
|
357 |
+
</div>
|
358 |
+
<div class="flex items-start">
|
359 |
+
<i class="fas fa-phone text-2xl mr-4 mt-1"></i>
|
360 |
+
<div>
|
361 |
+
<h4 class="font-bold mb-1">Phone</h4>
|
362 |
+
<p>(281) 234-5678</p>
|
363 |
+
<p>Mon-Fri: 8:00 AM - 5:00 PM</p>
|
364 |
+
</div>
|
365 |
+
</div>
|
366 |
+
<div class="flex items-start">
|
367 |
+
<i class="fas fa-envelope text-2xl mr-4 mt-1"></i>
|
368 |
+
<div>
|
369 |
+
<h4 class="font-bold mb-1">Email</h4>
|
370 |
+
<p>[email protected]</p>
|
371 |
+
</div>
|
372 |
+
</div>
|
373 |
+
<div class="flex items-start">
|
374 |
+
<i class="fas fa-clock text-2xl mr-4 mt-1"></i>
|
375 |
+
<div>
|
376 |
+
<h4 class="font-bold mb-1">Business Hours</h4>
|
377 |
+
<p>Monday - Friday: 8:00 AM - 5:00 PM</p>
|
378 |
+
<p>Saturday: 9:00 AM - 1:00 PM</p>
|
379 |
+
<p>Sunday: Closed</p>
|
380 |
+
</div>
|
381 |
+
</div>
|
382 |
+
</div>
|
383 |
+
<div class="mt-8">
|
384 |
+
<h4 class="font-bold mb-3">Follow Us</h4>
|
385 |
+
<div class="flex space-x-4">
|
386 |
+
<a href="#" class="bg-white text-blue-800 w-10 h-10 rounded-full flex items-center justify-center hover:bg-gray-100">
|
387 |
+
<i class="fab fa-facebook-f"></i>
|
388 |
+
</a>
|
389 |
+
<a href="#" class="bg-white text-blue-800 w-10 h-10 rounded-full flex items-center justify-center hover:bg-gray-100">
|
390 |
+
<i class="fab fa-twitter"></i>
|
391 |
+
</a>
|
392 |
+
<a href="#" class="bg-white text-blue-800 w-10 h-10 rounded-full flex items-center justify-center hover:bg-gray-100">
|
393 |
+
<i class="fab fa-instagram"></i>
|
394 |
+
</a>
|
395 |
+
<a href="#" class="bg-white text-blue-800 w-10 h-10 rounded-full flex items-center justify-center hover:bg-gray-100">
|
396 |
+
<i class="fab fa-linkedin-in"></i>
|
397 |
+
</a>
|
398 |
+
</div>
|
399 |
+
</div>
|
400 |
+
</div>
|
401 |
+
</div>
|
402 |
+
</div>
|
403 |
+
</section>
|
404 |
+
|
405 |
+
<!-- Footer -->
|
406 |
+
<footer class="bg-gray-900 text-white py-8">
|
407 |
+
<div class="container mx-auto px-4">
|
408 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
409 |
+
<div>
|
410 |
+
<img src="https://preview--roofing-revamp-houston.lovable.app/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Flogo.7d1360e3.png&w=128&q=75" alt="Houston Roofing Experts" class="h-12 mb-4">
|
411 |
+
<p class="text-gray-400">Quality roofing services for the Houston area since 2003.</p>
|
412 |
+
</div>
|
413 |
+
<div>
|
414 |
+
<h3 class="text-lg font-bold mb-4">Services</h3>
|
415 |
+
<ul class="space-y-2 text-gray-400">
|
416 |
+
<li><a href="#" class="hover:text-white">Roof Replacement</a></li>
|
417 |
+
<li><a href="#" class="hover:text-white">Roof Repair</a></li>
|
418 |
+
<li><a href="#" class="hover:text-white">Roof Inspections</a></li>
|
419 |
+
<li><a href="#" class="hover:text-white">Emergency Services</a></li>
|
420 |
+
</ul>
|
421 |
+
</div>
|
422 |
+
<div>
|
423 |
+
<h3 class="text-lg font-bold mb-4">Quick Links</h3>
|
424 |
+
<ul class="space-y-2 text-gray-400">
|
425 |
+
<li><a href="#" class="hover:text-white">About Us</a></li>
|
426 |
+
<li><a href="#" class="hover:text-white">Testimonials</a></li>
|
427 |
+
<li><a href="#" class="hover:text-white">Contact</a></li>
|
428 |
+
<li><a href="#" class="hover:text-white">Client Portal</a></li>
|
429 |
+
</ul>
|
430 |
+
</div>
|
431 |
+
<div>
|
432 |
+
<h3 class="text-lg font-bold mb-4">Contact</h3>
|
433 |
+
<ul class="space-y-2 text-gray-400">
|
434 |
+
<li class="flex items-start">
|
435 |
+
<i class="fas fa-map-marker-alt mr-2 mt-1"></i>
|
436 |
+
<span>1234 Roofing Lane, Houston, TX 77002</span>
|
437 |
+
</li>
|
438 |
+
<li class="flex items-center">
|
439 |
+
<i class="fas fa-phone mr-2"></i>
|
440 |
+
<span>(281) 234-5678</span>
|
441 |
+
</li>
|
442 |
+
</div>
|
443 |
+
</footer>
|
444 |
+
|
445 |
+
<!-- Dashboard Modal (hidden by default) -->
|
446 |
+
<div id="dashboardModal" class="fixed inset-0 bg-gray-900 bg-opacity-75 z-50 hidden">
|
447 |
+
<div class="absolute inset-0 flex">
|
448 |
+
<!-- Sidebar -->
|
449 |
+
<div class="bg-gray-800 text-white w-64 flex-shrink-0 dashboard-nav">
|
450 |
+
<div class="p-4 border-b border-gray-700">
|
451 |
+
<h2 class="text-xl font-bold">Houston Roofing Experts</h2>
|
452 |
+
<p class="text-gray-400 text-sm">Client Portal</p>
|
453 |
+
</div>
|
454 |
+
<div class="p-4">
|
455 |
+
<div class="flex items-center mb-6">
|
456 |
+
<img src="https://randomuser.me/api/portraits/men/75.jpg" alt="User" class="w-10 h-10 rounded-full mr-3">
|
457 |
+
<div>
|
458 |
+
<h3 class="font-medium">John Smith</h3>
|
459 |
+
<p class="text-gray-400 text-xs">Admin</p>
|
460 |
+
</div>
|
461 |
+
</div>
|
462 |
+
<nav class="space-y-2">
|
463 |
+
<a href="#" onclick="showDashboardSection('dashboard')" class="flex items-center p-2 rounded-md bg-gray-700">
|
464 |
+
<i class="fas fa-tachometer-alt mr-3"></i>
|
465 |
+
Dashboard
|
466 |
+
</a>
|
467 |
+
<a href="#" onclick="showDashboardSection('crm')" class="flex items-center p-2 rounded-md hover:bg-gray-700">
|
468 |
+
<i class="fas fa-users mr-3"></i>
|
469 |
+
CRM
|
470 |
+
</a>
|
471 |
+
<a href="#" onclick="showDashboardSection('projects')" class="flex items-center p-2 rounded-md hover:bg-gray-700">
|
472 |
+
<i class="fas fa-project-diagram mr-3"></i>
|
473 |
+
Projects
|
474 |
+
</a>
|
475 |
+
<a href="#" onclick="showDashboardSection('calendar')" class="flex items-center p-2 rounded-md hover:bg-gray-700">
|
476 |
+
<i class="fas fa-calendar-alt mr-3"></i>
|
477 |
+
Calendar
|
478 |
+
</a>
|
479 |
+
<a href="#" onclick="showDashboardSection('marketing')" class="flex items-center p-2 rounded-md hover:bg-gray-700">
|
480 |
+
<i class="fas fa-envelope mr-3"></i>
|
481 |
+
Marketing
|
482 |
+
</a>
|
483 |
+
<a href="#" onclick="showDashboardSection('measurement')" class="flex items-center p-2 rounded-md hover:bg-gray-700">
|
484 |
+
<i class="fas fa-ruler-combined mr-3"></i>
|
485 |
+
Roof Measurement
|
486 |
+
</a>
|
487 |
+
<a href="#" onclick="showDashboardSection('payments')" class="flex items-center p-2 rounded-md hover:bg-gray-700">
|
488 |
+
<i class="fas fa-credit-card mr-3"></i>
|
489 |
+
Payments
|
490 |
+
</a>
|
491 |
+
<a href="#" onclick="showDashboardSection('clientPortal')" class="flex items-center p-2 rounded-md hover:bg-gray-700">
|
492 |
+
<i class="fas fa-user-shield mr-3"></i>
|
493 |
+
Client Portal
|
494 |
+
</a>
|
495 |
+
<a href="#" onclick="showDashboardSection('settings')" class="flex items-center p-2 rounded-md hover:bg-gray-700">
|
496 |
+
<i class="fas fa-cog mr-3"></i>
|
497 |
+
Settings
|
498 |
+
</a>
|
499 |
+
</nav>
|
500 |
+
</div>
|
501 |
+
<div class="absolute bottom-0 w-full p-4 border-t border-gray-700">
|
502 |
+
<button onclick="hideDashboard()" class="flex items-center text-gray-400 hover:text-white w-full">
|
503 |
+
<i class="fas fa-sign-out-alt mr-3"></i>
|
504 |
+
Logout
|
505 |
+
</button>
|
506 |
+
</div>
|
507 |
+
</div>
|
508 |
+
|
509 |
+
<!-- Main Content -->
|
510 |
+
<div class="bg-gray-100 flex-1 overflow-y-auto">
|
511 |
+
<div class="p-6">
|
512 |
+
<!-- Dashboard Header -->
|
513 |
+
<div class="flex justify-between items-center mb-6">
|
514 |
+
<h2 id="dashboardTitle" class="text-2xl font-bold text-gray-800">Dashboard</h2>
|
515 |
+
<div class="flex items-center space-x-4">
|
516 |
+
<div class="relative">
|
517 |
+
<input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border rounded-md">
|
518 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
519 |
+
</div>
|
520 |
+
<button class="p-2 rounded-full bg-white shadow-md">
|
521 |
+
<i class="fas fa-bell text-gray-600"></i>
|
522 |
+
</button>
|
523 |
+
</div>
|
524 |
+
</div>
|
525 |
+
|
526 |
+
<!-- Dashboard Content Sections -->
|
527 |
+
<div id="dashboardSection" class="space-y-6">
|
528 |
+
<!-- Default Dashboard Content -->
|
529 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
530 |
+
<div class="bg-white p-6 rounded-lg shadow">
|
531 |
+
<div class="flex items-center justify-between">
|
532 |
+
<h3 class="text-lg font-medium text-gray-700">New Leads</h3>
|
533 |
+
<span class="bg-blue-100 text-blue-800 px-3 py-1 rounded-full text-sm font-medium">24</span>
|
534 |
+
</div>
|
535 |
+
<p class="text-gray-500 mt-2">This week</p>
|
536 |
+
<div class="mt-4">
|
537 |
+
<div class="h-2 bg-gray-200 rounded-full">
|
538 |
+
<div class="h-2 bg-blue-500 rounded-full" style="width: 70%"></div>
|
539 |
+
</div>
|
540 |
+
<p class="text-right text-sm text-gray-500 mt-1">+12% from last week</p>
|
541 |
+
</div>
|
542 |
+
</div>
|
543 |
+
|
544 |
+
<div class="bg-white p-6 rounded-lg shadow">
|
545 |
+
<div class="flex items-center justify-between">
|
546 |
+
<h3 class="text-lg font-medium text-gray-700">Active Projects</h3>
|
547 |
+
<span class="bg-green-100 text-green-800 px-3 py-1 rounded-full text-sm font-medium">15</span>
|
548 |
+
</div>
|
549 |
+
<p class="text-gray-500 mt-2">Currently in progress</p>
|
550 |
+
<div class="mt-4">
|
551 |
+
<div class="h-2 bg-gray-200 rounded-full">
|
552 |
+
<div class="h-2 bg-green-500 rounded-full" style="width: 45%"></div>
|
553 |
+
</div>
|
554 |
+
<p class="text-right text-sm text-gray-500 mt-1">+5% from last week</p>
|
555 |
+
</div>
|
556 |
+
</div>
|
557 |
+
|
558 |
+
<div class="bg-white p-6 rounded-lg shadow">
|
559 |
+
<div class="flex items-center justify-between">
|
560 |
+
<h3 class="text-lg font-medium text-gray-700">Revenue</h3>
|
561 |
+
<span class="bg-purple-100 text-purple-800 px-3 py-1 rounded-full text-sm font-medium">$48,250</span>
|
562 |
+
</div>
|
563 |
+
<p class="text-gray-500 mt-2">This month</p>
|
564 |
+
<div class="mt-4">
|
565 |
+
<div class="h-2 bg-gray-200 rounded-full">
|
566 |
+
<div class="h-2 bg-purple-500 rounded-full" style="width: 60%"></div>
|
567 |
+
</div>
|
568 |
+
<p class="text-right text-sm text-gray-500 mt-1">+18% from last month</p>
|
569 |
+
</div>
|
570 |
+
</div>
|
571 |
+
</div>
|
572 |
+
|
573 |
+
<div class="bg-white p-6 rounded-lg shadow">
|
574 |
+
<div class="flex justify-between items-center mb-4">
|
575 |
+
<h3 class="text-lg font-medium text-gray-700">Recent Activity</h3>
|
576 |
+
<a href="#" class="text-blue-600 text-sm font-medium">View All</a>
|
577 |
+
</div>
|
578 |
+
<div class="space-y-4">
|
579 |
+
<div class="flex items-start">
|
580 |
+
<div class="bg-blue-100 text-blue-800 p-2 rounded-full mr-4">
|
581 |
+
<i class="fas fa-phone"></i>
|
582 |
+
</div>
|
583 |
+
<div class="flex-1">
|
584 |
+
<p class="font-medium">New lead from John Doe</p>
|
585 |
+
<p class="text-gray-500 text-sm">Phone call about roof inspection</p>
|
586 |
+
<p class="text-gray-400 text-xs mt-1">10 minutes ago</p>
|
587 |
+
</div>
|
588 |
+
<button class="text-blue-600 hover:text-blue-800">
|
589 |
+
<i class="fas fa-ellipsis-v"></i>
|
590 |
+
</button>
|
591 |
+
</div>
|
592 |
+
|
593 |
+
<div class="flex items-start">
|
594 |
+
<div class="bg-green-100 text-green-800 p-2 rounded-full mr-4">
|
595 |
+
<i class="fas fa-check"></i>
|
596 |
+
</div>
|
597 |
+
<div class="flex-1">
|
598 |
+
<p class="font-medium">Project completed</p>
|
599 |
+
<p class="text-gray-500 text-sm">123 Main St - Roof replacement</p>
|
600 |
+
<p class="text-gray-400 text-xs mt-1">2 hours ago</p>
|
601 |
+
</div>
|
602 |
+
<button class="text-blue-600 hover:text-blue-800">
|
603 |
+
<i class="fas fa-ellipsis-v"></i>
|
604 |
+
</button>
|
605 |
+
</div>
|
606 |
+
|
607 |
+
<div class="flex items-start">
|
608 |
+
<div class="bg-yellow-100 text-yellow-800 p-2 rounded-full mr-4">
|
609 |
+
<i class="fas fa-envelope"></i>
|
610 |
+
</div>
|
611 |
+
<div class="flex-1">
|
612 |
+
<p class="font-medium">Email sent to Sarah Johnson</p>
|
613 |
+
<p class="text-gray-500 text-sm">Estimate for roof repair</p>
|
614 |
+
<p class="text-gray-400 text-xs mt-1">Yesterday</p>
|
615 |
+
</div>
|
616 |
+
<button class="text-blue-600 hover:text-blue-800">
|
617 |
+
<i class="fas fa-ellipsis-v"></i>
|
618 |
+
</button>
|
619 |
+
</div>
|
620 |
+
</div>
|
621 |
+
</div>
|
622 |
+
</div>
|
623 |
+
|
624 |
+
<!-- CRM Section (hidden by default) -->
|
625 |
+
<div id="crmSection" class="hidden">
|
626 |
+
<div class="flex justify-between items-center mb-6">
|
627 |
+
<h2 class="text-xl font-bold text-gray-800">Customer Relationship Management</h2>
|
628 |
+
<button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md" onclick="showAddLeadModal()">
|
629 |
+
<i class="fas fa-plus mr-2"></i> Add New Lead
|
630 |
+
</button>
|
631 |
+
</div>
|
632 |
+
|
633 |
+
<div class="bg-white rounded-lg shadow overflow-hidden mb-6">
|
634 |
+
<div class="p-4 border-b border-gray-200">
|
635 |
+
<div class="flex items-center justify-between">
|
636 |
+
<div class="flex space-x-4">
|
637 |
+
<button class="px-4 py-2 bg-blue-600 text-white rounded-md">All Leads</button>
|
638 |
+
<button class="px-4 py-2 bg-white border border-gray-300 rounded-md hover:bg-gray-50">New</button>
|
639 |
+
<button class="px-4 py-2 bg-white border border-gray-300 rounded-md hover:bg-gray-50">Contacted</button>
|
640 |
+
<button class="px-4 py-2 bg-white border border-gray-300 rounded-md hover:bg-gray-50">Estimate Sent</button>
|
641 |
+
</div>
|
642 |
+
<div class="flex items-center space-x-2">
|
643 |
+
<div class="relative">
|
644 |
+
<input type="text" placeholder="Search leads..." class="pl-10 pr-4 py-2 border rounded-md w-64">
|
645 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
646 |
+
</div>
|
647 |
+
<button class="p-2 border rounded-md hover:bg-gray-50">
|
648 |
+
<i class="fas fa-filter"></i>
|
649 |
+
</button>
|
650 |
+
</div>
|
651 |
+
</div>
|
652 |
+
</div>
|
653 |
+
|
654 |
+
<div class="overflow-x-auto">
|
655 |
+
<div class="flex p-4 space-x-4">
|
656 |
+
<!-- New Leads Column -->
|
657 |
+
<div class="crm-pipeline-stage bg-gray-50 rounded-lg p-4">
|
658 |
+
<div class="flex justify-between items-center mb-4">
|
659 |
+
<h3 class="font-medium">New Leads (8)</h3>
|
660 |
+
<button class="text-blue-600 hover:text-blue-800">
|
661 |
+
<i class="fas fa-ellipsis-v"></i>
|
662 |
+
</button>
|
663 |
+
</div>
|
664 |
+
<div class="space-y-4">
|
665 |
+
<!-- Lead Card -->
|
666 |
+
<div class="bg-white p-4 rounded-lg shadow border border-gray-200">
|
667 |
+
<div class="flex justify-between items-start">
|
668 |
+
<div>
|
669 |
+
<h4 class="font-medium">Michael Brown</h4>
|
670 |
+
<p class="text-gray-500 text-sm">Residential roof inspection</p>
|
671 |
+
</div>
|
672 |
+
<span class="bg-blue-100 text-blue-800 px-2 py-1 rounded-full text-xs">New</span>
|
673 |
+
</div>
|
674 |
+
<div class="mt-3 flex items-center text-sm text-gray-500">
|
675 |
+
<i class="fas fa-phone mr-2"></i>
|
676 |
+
<span>(713) 555-1234</span>
|
677 |
+
</div>
|
678 |
+
<div class="mt-2 flex items-center text-sm text-gray-500">
|
679 |
+
<i class="fas fa-envelope mr-2"></i>
|
680 |
+
<span>[email protected]</span>
|
681 |
+
</div>
|
682 |
+
<div class="mt-3 flex justify-between items-center">
|
683 |
+
<span class="text-xs text-gray-400">Today, 10:30 AM</span>
|
684 |
+
<button class="text-blue-600 text-sm font-medium" onclick="showLeadDetails('lead1')">View</button>
|
685 |
+
</div>
|
686 |
+
</div>
|
687 |
+
|
688 |
+
<!-- Lead Card -->
|
689 |
+
<div class="bg-white p-4 rounded-lg shadow border border-gray-200">
|
690 |
+
<div class="flex justify-between items-start">
|
691 |
+
<div>
|
692 |
+
<h4 class="font-medium">Sarah Wilson</h4>
|
693 |
+
<p class="text-gray-500 text-sm">Commercial roof repair</p>
|
694 |
+
</div>
|
695 |
+
<span class="bg-blue-100 text-blue-800 px-2 py-1 rounded-full text-xs">New</span>
|
696 |
+
</div>
|
697 |
+
<div class="mt-3 flex items-center text-sm text-gray-500">
|
698 |
+
<i class="fas fa-phone mr-2"></i>
|
699 |
+
<span>(281) 555-5678</span>
|
700 |
+
</div>
|
701 |
+
<div class="mt-2 flex items-center text-sm text-gray-500">
|
702 |
+
<i class="fas fa-envelope mr-2"></i>
|
703 |
+
<span>[email protected]</span>
|
704 |
+
</div>
|
705 |
+
<div class="mt-3 flex justify-between items-center">
|
706 |
+
<span class="text-xs text-gray-400">Today, 9:15 AM</span>
|
707 |
+
<button class="text-blue-600 text-sm font-medium" onclick="showLeadDetails('lead2')">View</button>
|
708 |
+
</div>
|
709 |
+
</div>
|
710 |
+
</div>
|
711 |
+
</div>
|
712 |
+
|
713 |
+
<!-- Contacted Column -->
|
714 |
+
<div class="crm-pipeline-stage bg-gray-50 rounded-lg p-4">
|
715 |
+
<div class="flex justify-between items-center mb-4">
|
716 |
+
<h3 class="font-medium">Contacted (5)</h3>
|
717 |
+
<button class="text-blue-600 hover:text-blue-800">
|
718 |
+
<i class="fas fa-ellipsis-v"></i>
|
719 |
+
</button>
|
720 |
+
</div>
|
721 |
+
<div class="space-y-4">
|
722 |
+
<!-- Lead Card -->
|
723 |
+
<div class="bg-white p-4 rounded-lg shadow border border-gray-200">
|
724 |
+
<div class="flex justify-between items-start">
|
725 |
+
<div>
|
726 |
+
<h4 class="font-medium">David Johnson</h4>
|
727 |
+
<p class="text-gray-500 text-sm">Roof replacement</p>
|
728 |
+
</div>
|
729 |
+
<span class="bg-yellow-100 text-yellow-800 px-2 py-1 rounded-full text-xs">Contacted</span>
|
730 |
+
</div>
|
731 |
+
<div class="mt-3 flex items-center text-sm text-gray-500">
|
732 |
+
<i class="fas fa-phone mr-2"></i>
|
733 |
+
<span>(832) 555-9012</span>
|
734 |
+
</div>
|
735 |
+
<div class="mt-2 flex items-center text-sm text-gray-500">
|
736 |
+
<i class="fas fa-envelope mr-2"></i>
|
737 |
+
<span>[email protected]</span>
|
738 |
+
</div>
|
739 |
+
<div class="mt-3 flex justify-between items-center">
|
740 |
+
<span class="text-xs text-gray-400">Yesterday, 2:45 PM</span>
|
741 |
+
<button class="text-blue-600 text-sm font-medium" onclick="showLeadDetails('lead3')">View</button>
|
742 |
+
</div>
|
743 |
+
</div>
|
744 |
+
|
745 |
+
<!-- Lead Card -->
|
746 |
+
<div class="bg-white p-4 rounded-lg shadow border border-gray-200">
|
747 |
+
<div class="flex justify-between items-start">
|
748 |
+
</div>
|
749 |
+
</div>
|
750 |
+
</div>
|
751 |
+
</div>
|
752 |
+
</div>
|
753 |
+
|
754 |
+
<!-- JavaScript for all functionality -->
|
755 |
+
<script>
|
756 |
+
// Mobile menu toggle
|
757 |
+
function toggleMobileMenu() {
|
758 |
+
const mobileMenu = document.getElementById('mobileMenu');
|
759 |
+
mobileMenu.classList.toggle('hidden');
|
760 |
+
}
|
761 |
+
|
762 |
+
// AI Chat functionality
|
763 |
+
function toggleAIChat() {
|
764 |
+
const aiChatContainer = document.getElementById('aiChatContainer');
|
765 |
+
aiChatContainer.classList.toggle('hidden');
|
766 |
+
}
|
767 |
+
|
768 |
+
function sendAIChatMessage() {
|
769 |
+
const input = document.getElementById('aiChatInput');
|
770 |
+
const messagesContainer = document.getElementById('aiChatMessages');
|
771 |
+
const typingIndicator = document.getElementById('aiTypingIndicator');
|
772 |
+
|
773 |
+
if (input.value.trim() === '') return;
|
774 |
+
|
775 |
+
// Add user message
|
776 |
+
const userMessage = document.createElement('div');
|
777 |
+
userMessage.className = 'chat-message bg-gray-200 text-gray-800 rounded-lg p-3 mb-3 ml-auto';
|
778 |
+
userMessage.innerHTML = `<p>${input.value}</p>`;
|
779 |
+
messagesContainer.appendChild(userMessage);
|
780 |
+
|
781 |
+
// Show typing indicator
|
782 |
+
typingIndicator.classList.remove('hidden');
|
783 |
+
|
784 |
+
// Clear input
|
785 |
+
input.value = '';
|
786 |
+
|
787 |
+
// Scroll to bottom
|
788 |
+
messagesContainer.scrollTop = messagesContainer.scrollHeight;
|
789 |
+
|
790 |
+
// Simulate AI response after delay
|
791 |
+
setTimeout(() => {
|
792 |
+
typingIndicator.classList.add('hidden');
|
793 |
+
|
794 |
+
// Add AI response
|
795 |
+
const aiMessage = document.createElement('div');
|
796 |
+
aiMessage.className = 'chat-message bg-blue-100 text-blue-800 rounded-lg p-3 mb-3';
|
797 |
+
|
798 |
+
// Simple response logic
|
799 |
+
const userText = input.value.toLowerCase();
|
800 |
+
let response = "Thank you for your question. Our team will get back to you shortly.";
|
801 |
+
|
802 |
+
if (userText.includes('estimate') || userText.includes('price') || userText.includes('cost')) {
|
803 |
+
response = "For a quick estimate, please provide:<br>1. Roof size (approx. square footage)<br>2. Type of roof (shingle, metal, tile)<br>3. Any specific issues (leaks, storm damage, etc.)<br><br>Or you can <a href='#contact' class='text-blue-600 font-medium'>request a free estimate</a> from our team.";
|
804 |
+
} else if (userText.includes('service') || userText.includes('offer')) {
|
805 |
+
response = "We offer:<br>- Roof replacement<br>- Roof repair<br- Roof inspections<br>- Emergency services<br><br>Learn more on our <a href='#services' class='text-blue-600 font-medium'>services page</a>.";
|
806 |
+
} else if (userText.includes('schedule') || userText.includes('appointment')) {
|
807 |
+
response = "You can schedule an inspection by:<br>1. Calling us at <a href='tel:+12812345678' class='text-blue-600 font-medium'>(281) 234-5678</a><br>2. Using our <a href='#contact' class='text-blue-600 font-medium'>contact form</a><br>3. Logging into your <a href='#' onclick='showDashboard()' class='text-blue-600 font-medium'>client portal</a>";
|
808 |
+
}
|
809 |
+
|
810 |
+
aiMessage.innerHTML = `<p>${response}</p>`;
|
811 |
+
messagesContainer.appendChild(aiMessage);
|
812 |
+
|
813 |
+
// Scroll to bottom
|
814 |
+
messagesContainer.scrollTop = messagesContainer.scrollHeight;
|
815 |
+
}, 1500);
|
816 |
+
}
|
817 |
+
|
818 |
+
// Contact form submission
|
819 |
+
function submitContactForm(event) {
|
820 |
+
event.preventDefault();
|
821 |
+
|
822 |
+
const name = document.getElementById('name').value;
|
823 |
+
const email = document.getElementById('email').value;
|
824 |
+
const phone = document.getElementById('phone').value;
|
825 |
+
const service = document.getElementById('service').value;
|
826 |
+
const message = document.getElementById('message').value;
|
827 |
+
|
828 |
+
// In a real app, you would send this data to your server
|
829 |
+
console.log('Form submitted:', { name, email, phone, service, message });
|
830 |
+
|
831 |
+
// Show success message
|
832 |
+
alert(`Thank you, ${name}! Your request has been submitted. We'll contact you shortly at ${phone} or ${email}.`);
|
833 |
+
|
834 |
+
// Reset form
|
835 |
+
document.getElementById('contactForm').reset();
|
836 |
+
}
|
837 |
+
|
838 |
+
// Dashboard functionality
|
839 |
+
function showDashboard() {
|
840 |
+
document.getElementById('dashboardModal').classList.remove('hidden');
|
841 |
+
document.body.style.overflow = 'hidden';
|
842 |
+
}
|
843 |
+
|
844 |
+
function hideDashboard() {
|
845 |
+
document.getElementById('dashboardModal').classList.add('hidden');
|
846 |
+
document.body.style.overflow = 'auto';
|
847 |
+
}
|
848 |
+
|
849 |
+
function showDashboardSection(sectionId) {
|
850 |
+
// Hide all sections
|
851 |
+
document.getElementById('dashboardSection').classList.add('hidden');
|
852 |
+
document.getElementById('crmSection').classList.add('hidden');
|
853 |
+
document.getElementById('projectsSection').classList.add('hidden');
|
854 |
+
document.getElementById('calendarSection').classList.add('hidden');
|
855 |
+
document.getElementById('marketingSection').classList.add('hidden');
|
856 |
+
document.getElementById('measurementSection').classList.add('hidden');
|
857 |
+
document.getElementById('paymentsSection').classList.add('hidden');
|
858 |
+
document.getElementById('clientPortalSection').classList.add('hidden');
|
859 |
+
document.getElementById('settingsSection').classList.add('hidden');
|
860 |
+
|
861 |
+
// Show selected section
|
862 |
+
document.getElementById(`${sectionId}Section`).classList.remove('hidden');
|
863 |
+
|
864 |
+
// Update title
|
865 |
+
const titles = {
|
866 |
+
'dashboard': 'Dashboard',
|
867 |
+
'crm': 'Customer Relationship Management',
|
868 |
+
'projects': 'Project Management',
|
869 |
+
'calendar': 'Calendar',
|
870 |
+
'marketing': 'Marketing Automation',
|
871 |
+
'measurement': 'Roof Measurement',
|
872 |
+
'payments': 'Payment Processing',
|
873 |
+
'clientPortal': 'Client Portal',
|
874 |
+
'settings': 'Settings'
|
875 |
+
};
|
876 |
+
document.getElementById('dashboardTitle').textContent = titles[sectionId];
|
877 |
+
}
|
878 |
+
|
879 |
+
function showAddLeadModal() {
|
880 |
+
alert('In a real application, this would open a modal to add a new lead with fields for name, contact info, source, etc.');
|
881 |
+
}
|
882 |
+
|
883 |
+
function showLeadDetails(leadId) {
|
884 |
+
alert(`In a real application, this would show detailed information about lead ${leadId} including contact history, notes, and next steps.`);
|
885 |
+
}
|
886 |
+
|
887 |
+
function showAddProjectModal() {
|
888 |
+
alert('In a real application, this would open a modal to create a new project with fields for client, address, scope of work, timeline, etc.');
|
889 |
+
}
|
890 |
+
|
891 |
+
function showProjectDetails(projectId) {
|
892 |
+
alert(`In a real application, this would show detailed information about project ${projectId} including tasks, timeline, team members, and documents.`);
|
893 |
+
}
|
894 |
+
|
895 |
+
// Initialize Stripe payment form
|
896 |
+
document.addEventListener('DOMContentLoaded', function() {
|
897 |
+
// This would be initialized with your Stripe publishable key
|
898 |
+
const stripe = Stripe('pk_test_51N...');
|
899 |
+
|
900 |
+
// In a real app, you would set up payment form handlers here
|
901 |
+
});
|
902 |
+
</script>
|
903 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Cashlambin/gstorm" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
904 |
+
</html>
|