-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontact.html
More file actions
502 lines (456 loc) · 29.1 KB
/
contact.html
File metadata and controls
502 lines (456 loc) · 29.1 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us - Love Care</title>
<meta name="description" content="Discover Love Care's premium skincare products crafted to enhance your natural beauty. Shop moisturizers, serums, and cleansers for radiant, healthy skin.">
<meta name="keywords" content="skincare, beauty products, moisturizers, serums, cleansers, Love Care, natural skincare, premium skincare">
<meta name="author" content="Love Care">
<meta name="robots" content="index, follow">
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<script>
tailwind.config = {
darkMode: 'class', // or 'media'
}
</script>
<style>
.fade-in {
animation: fadeInUp 0.6s ease-out;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.hero-gradient {
background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}
.contact-card {
transition: all 0.3s ease;
}
.contact-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.form-input {
transition: all 0.3s ease;
}
.form-input:focus {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(236, 72, 153, 0.1);
}
.btn-primary {
background: linear-gradient(45deg, #ec4899, #db2777);
transition: all 0.3s ease;
}
.btn-primary:hover {
background: linear-gradient(45deg, #db2777, #be185d);
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}
.mobile-menu {
display: none;
}
@media (max-width: 768px) {
.desktop-nav {
display: none;
}
}
</style>
</head>
<body class="bg-white text-light-text dark:bg-gray-900 dark:text-gray-200">
<!-- Header -->
<header class="bg-pink-100 dark:bg-gray-900 border-b border-pink-200 dark:border-gray-900 sticky top-0 z-50">
<div class="container mx-auto px-4 py-4">
<div class="flex items-center justify-between">
<!-- Logo (left side) -->
<a href="index.html" class="flex items-center space-x-3">
<div class="w-12 h-12">
<img src="https://images.scalebranding.com/heart-care-logo-c5a5346c-b932-4532-92c0-bb692dd6b976.jpg"
alt="Love care Logo" class="w-full h-full object-cover rounded-full">
</div>
<span class="text-2xl font-bold text-gray-800 dark:text-white"
style="font-family: 'Caveat', cursive; font-size: 30px;">
Lσʋҽ <span class="text-pink-500">Cαɾҽ</span>
</span>
</a>
<!-- Navigation Centered -->
<nav class="desktop-nav hidden md:flex space-x-20 justify-center flex-1">
<a href="index.html"
class="text-gray-700 dark:text-white hover:text-pink-600 dark:hover:text-pink-600 transition-colors flex items-center justify-center">Home</a>
<a href="shop.html"
class="text-gray-700 dark:text-white dark:hover:text-pink-600 font-semibold flex items-center justify-center">Shop</a>
<a href="about.html"
class="text-gray-700 dark:text-white dark:hover:text-pink-500 hover:text-pink-600 transition-colors flex items-center justify-center">About</a>
<a href="contact.html"
class="text-pink-700 dark:text-pink-500 dark:hover:text-pink-500 hover:text-pink-600 transition-colors flex items-center justify-center">Contact</a>
</nav>
<!-- Icons (right side) -->
<div class="flex items-center space-x-10">
<button id="theme-toggle" class="text-gray-600 dark:text-white dark:hover:text-pink-500 text-xl">
<i id="theme-icon" class="fas fa-moon"></i>
</button>
<a href="./profile.html"><i
class="fas fa-user text-gray-600 dark:text-white cursor-pointer hover:text-pink-600 dark:hover:text-pink-500 transition-colors"></i></a>
<div class="relative">
<a href="./cart.html" class="block">
<i
class="fas fa-shopping-cart text-gray-600 dark:text-white cursor-pointer hover:text-pink-600 dark:hover:text-pink-500 transition-colors"></i>
<span
class="absolute -top-2 -right-2 bg-red-500 text-white text-xs rounded-full w-5 h-5 flex items-center justify-center">3</span>
</a>
</div>
<i
class="fas fa-bars text-gray-600 dark:text-white cursor-pointer hover:text-pink-600 dark:hover:text-pink-500 transition-colors md:hidden"></i>
</div>
</div>
</div>
</header>
<!-- Contact Hero Section -->
<!-- <section class=" py-16 bg-white text-light-text dark:bg-gray-900 dark:text-white hero-gradient">
<div class="container mx-auto px-4">
<div class="text-center fade-in">
<h1 class="text-4xl md:text-6xl font-bold text-gray-800 mb-4 dark:text-gray-500">Get In Touch</h1>
<p class="text-lg text-gray-600 max-w-3xl mx-auto">
We'd love to hear from you! Whether you have questions about our products, need skincare advice, or
want to share your Love Care experience, we're here to help.
</p>
</div>
</div>
</section> -->
<!-- Contact Information -->
<section class="py-16 bg-white text-light-text dark:bg-gray-900 dark:text-white ">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-16">
<div class="contact-card bg-white dark:bg-gray-700 p-6 rounded-lg shadow-md text-center fade-in ">
<div class="bg-pink-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
<i class="fas fa-map-marker-alt text-pink-600 text-2xl"></i>
</div>
<h3 class="font-semibold text-gray-800 dark:text-white mb-2">Visit Our Store</h3>
<p class="text-gray-600 dark:text-white text-sm mb-2">123 Beauty Street</p>
<p class="text-gray-600 dark:text-white text-sm mb-2">SenSok, Phnom Penh</p>
<p class="text-gray-600 dark:text-white text-sm">Cambodia</p>
<div class="mt-4">
<p class="text-sm text-gray-600 dark:text-white">Store Hours:</p>
<p class="text-sm text-gray-600 dark:text-white">Mon-Fri: 9AM-7PM</p>
<p class="text-sm text-gray-600 dark:text-white">Sat-Sun: 10AM-6PM</p>
</div>
</div>
<div class="contact-card bg-white dark:bg-gray-700 p-6 rounded-lg shadow-md text-center fade-in">
<div class="bg-green-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
<i class="fas fa-phone text-green-600 text-2xl"></i>
</div>
<h3 class="font-semibold text-gray-800 dark:text-white mb-2">Call Us</h3>
<p class="text-gray-600 dark:text-white text-sm mb-2">Customer Service:</p>
<p class="text-lg font-semibold text-gray-800 dark:text-white mb-2">(+855) 962-682-908</p>
<p class="text-gray-600 dark:text-white text-sm mb-2">Sales Inquiries:</p>
<p class="text-lg font-semibold text-gray-800 dark:text-white">(+855) 972-682-908</p>
<div class="mt-4">
<p class="text-sm text-gray-600 dark:text-white">Available:</p>
<p class="text-sm text-gray-600 dark:text-white">Mon-Fri: 8AM-8PM EST</p>
<p class="text-sm text-gray-600 dark:text-white">Sat-Sun: 9AM-5PM EST</p>
</div>
</div>
<div class="contact-card bg-white dark:bg-gray-700 p-6 rounded-lg shadow-md text-center fade-in">
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
<i class="fas fa-envelope text-blue-600 text-2xl"></i>
</div>
<h3 class="font-semibold text-gray-800 dark:text-white mb-2">Email Us</h3>
<p class="text-gray-600 dark:text-white text-sm mb-2">General Inquiries:</p>
<p class="text-lg font-semibold text-gray-800 dark:text-white mb-2">info@lovecare.com</p>
<p class="text-gray-600 dark:text-white text-sm mb-2">Customer Support:</p>
<p class="text-lg font-semibold text-gray-800 dark:text-white">support@lovecare.com</p>
<div class="mt-4">
<p class="text-sm text-gray-600 dark:text-white">Response Time:</p>
<p class="text-sm text-gray-600 dark:text-white">Within 24 hours</p>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Form -->
<section class="py-16 bg-white dark:bg-gray-900">
<div class="container mx-auto px-4">
<div class="max-w-4xl mx-auto">
<div class="text-center mb-12 fade-in">
<h2 class="text-3xl font-bold text-gray-800 dark:text-white mb-4">Send Us a Message</h2>
<p class="text-gray-600 dark:text-white max-w-2xl mx-auto">Have a question or feedback? Fill out the form below and
we'll get back to you as soon as possible.</p>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12">
<!-- Contact Form -->
<div class="fade-in">
<form class="space-y-6">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label for="firstName" class="block text-sm font-medium text-gray-700 dark:text-white mb-2">First
Name *</label>
<input type="text" id="firstName" name="firstName" required
class="form-input w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-pink-500 focus:border-transparent">
</div>
<div>
<label for="lastName" class="block text-sm font-medium text-gray-700 dark:text-white mb-2">Last Name
*</label>
<input type="text" id="lastName" name="lastName" required
class="form-input w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-pink-500 focus:border-transparent">
</div>
</div>
<div>
<label for="email" class="block text-sm font-medium text-gray-700 dark:text-white mb-2">Email Address
*</label>
<input type="email" id="email" name="email" required
class="form-input w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-pink-500 focus:border-transparent">
</div>
<div>
<label for="phone" class="block text-sm font-medium text-gray-700 dark:text-white mb-2">Phone
Number</label>
<input type="tel" id="phone" name="phone"
class="form-input w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-pink-500 focus:border-transparent">
</div>
<div>
<label for="subject" class="block text-sm font-medium text-gray-700 dark:text-white mb-2">Subject
*</label>
<select id="subject" name="subject" required
class="form-input w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-pink-500 focus:border-transparent text-gray-900">
<option value="">Select a subject</option>
<option value="product-inquiry">Product Inquiry</option>
<option value="order-support">Order Support</option>
<option value="skincare-advice">Skincare Advice</option>
<option value="partnership">Partnership Opportunity</option>
<option value="feedback">Feedback</option>
<option value="other">Other</option>
</select>
</div>
<div>
<label for="message" class="block text-sm font-medium text-gray-700 dark:text-white mb-2">Message
*</label>
<textarea id="message" name="message" rows="6" required
placeholder="Tell us how we can help you..."
class="form-input w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-pink-500 focus:border-transparent dark:text-gray-900 resize-none"></textarea>
</div>
<div class="flex items-start">
<input type="checkbox" id="newsletter" name="newsletter" class="mt-1 mr-3">
<label for="newsletter" class="text-sm text-gray-600 dark:text-white">
I'd like to receive updates about new products and special offers via email.
</label>
</div>
<button type="submit" class="btn-primary w-full text-white py-3 rounded-lg font-semibold">
<i class="fas fa-paper-plane mr-2 "></i>
Send Message
</button>
<p class="text-sm text-gray-500 text-center dark:text-white">
* Required fields. We respect your privacy and will never share your information.
</p>
</form>
</div>
<!-- Additional Information -->
<div class="fade-in">
<div class="bg-pink-50 p-8 rounded-lg">
<h3 class="font-semibold text-gray-800 mb-6">Frequently Asked Questions</h3>
<div class="space-y-6">
<div>
<h4 class="font-medium text-gray-800 mb-2">How long does shipping take?</h4>
<p class="text-gray-600 text-sm">Standard shipping takes 3-5 business days. Express
shipping is available for 1-2 business days.</p>
</div>
<div>
<h4 class="font-medium text-gray-800 mb-2">What is your return policy?</h4>
<p class="text-gray-600 text-sm">We offer a 30-day return policy for unopened
products. Opened products can be returned within 14 days.</p>
</div>
<div>
<h4 class="font-medium text-gray-800 mb-2">Are your products cruelty-free?</h4>
<p class="text-gray-600 text-sm">Yes! All Love Care products are 100% cruelty-free
and we never test on animals.</p>
</div>
<div>
<h4 class="font-medium text-gray-800 mb-2">Do you offer skincare consultations?</h4>
<p class="text-gray-600 text-sm">Yes, we offer free virtual skincare consultations.
Book an appointment through our website or call us.</p>
</div>
</div>
<div class="mt-8 pt-6 border-t border-pink-200">
<h4 class="font-medium text-gray-800 mb-4">Follow Us</h4>
<div class="flex space-x-4">
<a href="#"
class="bg-white p-3 rounded-full text-gray-600 hover:text-pink-600 hover:bg-pink-100 transition-colors">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#"
class="bg-white p-3 rounded-full text-gray-600 hover:text-pink-600 hover:bg-pink-100 transition-colors">
<i class="fab fa-instagram"></i>
</a>
<a href="#"
class="bg-white p-3 rounded-full text-gray-600 hover:text-pink-600 hover:bg-pink-100 transition-colors">
<i class="fab fa-twitter"></i>
</a>
<a href="#"
class="bg-white p-3 rounded-full text-gray-600 hover:text-pink-600 hover:bg-pink-100 transition-colors">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
</div>
<!-- Business Hours -->
<div class="bg-white p-6 rounded-lg shadow-md mt-6">
<h3 class="font-semibold text-gray-800 mb-4">Business Hours</h3>
<div class="space-y-2 text-sm">
<div class="flex justify-between">
<span class="text-gray-600">Monday - Friday</span>
<span class="text-gray-800">9:00 AM - 7:00 PM</span>
</div>
<div class="flex justify-between">
<span class="text-gray-600">Saturday</span>
<span class="text-gray-800">10:00 AM - 6:00 PM</span>
</div>
<div class="flex justify-between">
<span class="text-gray-600">Sunday</span>
<span class="text-gray-800">10:00 AM - 6:00 PM</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Map Section -->
<section class="py-16 bg-white dark:bg-gray-900">
<div class="container mx-auto px-4">
<div class="text-center mb-8 fade-in">
<h2 class="text-3xl font-bold text-gray-800 dark:text-white mb-4">Find Our Store</h2>
<p class="text-gray-600 dark:text-white">Visit us in person for personalized skincare consultations and product testing
</p>
</div>
<div class="bg-white rounded-lg shadow-md overflow-hidden fade-in">
<div class="aspect-video bg-gray-200 flex items-center justify-center">
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3919.123456789012!2d104.91234567890123!3d11.567890123456789!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x31095123456789ab%3A0x1234567890abcdef!2sLove%20Care%20Store!5e0!3m2!1sen!2skh!4v1612345678901"
width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
<div class="text-center">
<i class="fas fa-map-marker-alt text-4xl text-pink-600 mb-4"></i>
<h3 class="text-xl font-semibold text-gray-800 mb-2">Love Care Store</h3>
<p class="text-gray-600">123 Beauty Street, SenSok, Phnom Penh</p>
<a href="#"
class="inline-block mt-4 bg-pink-500 text-white px-6 py-2 rounded-full hover:bg-pink-600 transition-colors">
Get Directions
</a>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-pink-100 dark:bg-gray-900 dark:text white border-t border-pink-200 py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<a href="index.html" class="flex items-center space-x-3">
<div class="w-12 h-12">
<img src="https://images.scalebranding.com/heart-care-logo-c5a5346c-b932-4532-92c0-bb692dd6b976.jpg"
alt="Love care Logo" class="w-full h-full object-cover rounded-full">
</div>
<span class="text-2xl font-bold text-gray-800 hover:text-pink-600 dark:text-white transition-colors"
style="font-family: 'Caveat', cursive; font-size: 30px;">
Lσʋҽ <span class="text-pink-500 hover:text-blue-600">Cαɾҽ</span>
</span>
</a>
<p class="text-gray-600 dark:text-white text-sm mb-4">Premium beauty and skincare products for your daily
routine.
</p>
<div class="flex space-x-4 ">
<a href="#" class="text-gray-600 hover:text-pink-600 dark:text-white dark:hover:text-pink-600 transition-colors">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="text-gray-600 hover:text-pink-600 dark:text-white dark:hover:text-pink-600 transition-colors">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="text-gray-600 hover:text-pink-600 dark:text-white dark:hover:text-pink-600 transition-colors">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-600 hover:text-pink-600 dark:text-white dark:hover:text-pink-600 transition-colors">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
<div>
<h4 class="font-semibold text-gray-800 dark:text-white mb-4">Quick Links</h4>
<ul class="space-y-2 text-sm text-gray-600">
<li><a href="index.html" class="hover:text-pink-600 dark:text-white dark:hover:text-pink-600 dark:text-white dark:hover:text-pink-600 transition-colors">Home</a></li>
<li><a href="shop.html" class="hover:text-pink-600 dark:text-white dark:hover:text-pink-600 transition-colors">Shop</a></li>
<li><a href="about.html" class="hover:text-pink-600 dark:text-white dark:hover:text-pink-600 transition-colors">About</a></li>
<li><a href="contact.html" class="hover:text-pink-600 dark:text-white dark:hover:text-pink-600 transition-colors">Contact</a></li>
<li><a href="cart.html" class="hover:text-pink-600 dark:text-white dark:hover:text-pink-600 transition-colors">Cart</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold text-gray-800 dark:text-white mb-4">Customer Service</h4>
<ul class="space-y-2 text-sm text-gray-600">
<li><a href="#" class="hover:text-pink-600 dark:text-white dark:hover:text-pink-600 transition-colors">FAQ</a></li>
<li><a href="#" class="hover:text-pink-600 dark:text-white dark:hover:text-pink-600 transition-colors">Shipping</a></li>
<li><a href="#" class="hover:text-pink-600 dark:text-white dark:hover:text-pink-600 transition-colors">Returns</a></li>
<li><a href="#" class="hover:text-pink-600 dark:text-white dark:hover:text-pink-600 transition-colors">Support</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold text-gray-800 dark:text-white mb-4">Contact Info</h4>
<ul class="space-y-2 text-sm text-gray-600">
<li><i class="fas fa-envelope mr-2 dark:text-white dark:hover:text-pink-600">
</i>info@lovecare.com</li>
<li><i class="fas fa-phone mr-2 dark:text-white dark:hover:text-pink-600">
</i>(855) 962-682-908</li>
<li><i class="fas fa-map-marker-alt mr-2 dark:text-white dark:hover:text-pink-600">
</i class="text-gray-300 dark:text-white ">123 Beauty St, Phnom Penh City</li>
<!-- School Logo -->
<div class="mb-6 py-3">
<div class="flex items-center space-x-4 mb-4">
<div>
<h4 class="font-semibold text-gray-800 dark:text-white">Organized by</h4>
</div>
<img src="./img/istad-logo-2024.png" alt="School Logo" class="h-16 w-auto rounded-lg">
</div>
<p class="text-gray-400 dark:text-white text-sm leading-relaxed">
Institute of Science and Technology Advanced Development - Premier educational
institution
shaping future innovators.
</p>
</div>
</ul>
</div>
</div>
<div class="border-t border-pink-200 mt-8 pt-8 text-center text-sm text-gray-600 dark:text-white dark:hover:text-pink-600">
<p>© 2025 Lσʋҽ <span class="text-pink-500">Cαɾҽ</span>. All rights reserved. | <a href="#"
class="hover:text-pink-600">Privacy Policy</a> | <a href="#"
class="hover:text-pink-600">Terms
of Service</a></p>
</div>
</div>
</footer>
</body>
<script>
document.addEventListener('DOMContentLoaded', function () {
const toggleBtn = document.getElementById('theme-toggle');
const icon = document.getElementById('theme-icon');
const html = document.documentElement;
// Load saved theme
if (localStorage.getItem('theme') === 'dark') {
html.classList.add('dark');
icon?.classList.replace('fa-moon', 'fa-sun');
}
toggleBtn?.addEventListener('click', () => {
html.classList.toggle('dark');
const isDark = html.classList.contains('dark');
icon?.classList.toggle('fa-moon', !isDark);
icon?.classList.toggle('fa-sun', isDark);
localStorage.setItem('theme', isDark ? 'dark' : 'light');
});
});
</script>
</html>