-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
872 lines (758 loc) · 36.6 KB
/
home.html
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
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="description" content="Adelina Brogdon offers luxurious and modern apartment services for a perfect stay. Enjoy comfort, convenience, and premium amenities in a clean, elegant environment.">
<meta name="keywords" content="Adelina Brogdon, luxurious apartments, modern apartment, apartment rentals, WiFi, heating, TV, kitchen, comfortable stay">
<meta name="author" content="AbsTech - 2348069764769">
<meta name="robots" content="index, follow">
<title>Adelina Brogdon | Luxurious Apartments</title>
<!-- Open Graph Meta Tags -->
<meta property="og:title" content="Adelina Brogdon | Luxurious Apartments for a Perfect Stay">
<meta property="og:description" content="Discover a luxurious, modern apartment service tailored for a premium and comfortable stay.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://adelina.netlify.app/">
<meta property="og:image" content="https://adelina.netlify.app/pics/adelina.webp">
<!-- Twitter Card Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Adelina Brogdon | Luxurious Apartments for a Perfect Stay">
<meta name="twitter:description" content="Stay in style with Adelina Brogdon's premium apartment services. Perfect for relaxation and convenience.">
<meta name="twitter:image" content="https://adelina.netlify.app/pics/adelina.webp">
<!-- other links -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<link href="https://unpkg.com/boxicons@2.1.1/css/boxicons.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/css/iziToast.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.1/js.cookie.min.js"></script>
<style>
.search_hd::placeholder {
color: gray;
transition: color 2.5s ease;
}
.search_hd:focus::placeholder {
color: transparent;
}
</style>
</head>
<body class="bg-gray-100">
<!-- header start -->
<header class="bg-gradient-to-r from-blue-900 to-gray-900 text-white shadow-md sticky top-0 z-10">
<nav class="container mx-auto flex items-center justify-between py-4 px-6">
<a href="./home.html" class="text-3xl md:text-4xl font-serif">Adelina Brogdon</a>
<div class="hidden md:flex flex-grow mx-8">
<input type="text" class="w-full px-4 py-2 mr-2 border border-transparent rounded-lg bg-white focus:outline-none focus:ring-2 focus:ring-blue-300 transition duration-300 search_hd" placeholder="">
<button class="bg-white text-blue-600 px-6 py-2 rounded-lg transition duration-300 hover:bg-blue-100 shadow-md">Search</button>
</div>
<div class="flex items-center space-x-6">
<div class="relative group">
<button class="flex items-center justify-center w-10 h-10 bg-blue-600 text-white rounded-full transition duration-300 hover:bg-blue-700"
data-bs-toggle="popover" title="Profile" data-bs-content="
<a href='./register.html' class='block px-4 py-2 text-gray-700 hover:bg-gray-100'>Register</a>
<a href='./login.html' class='block px-4 py-2 text-gray-700 hover:bg-gray-100'>Sign in</a>
" data-html="true">
<i class="fas fa-user text-lg"></i>
</button>
</div>
<button class="md:hidden flex items-center justify-center w-10 h-10 border border-transparent rounded-full text-white hover:bg-blue-700 focus:outline-none"
data-bs-toggle="popover" title="Menu" data-bs-content="
<a href='./register.html' class='block px-4 py-2 text-gray-700 hover:bg-gray-100'>Register</a>
<a href='./login.html' class='block px-4 py-2 text-gray-700 hover:bg-gray-100'>Sign in</a>
" data-html="true">
<i class="fas fa-bars text-lg"></i>
</button>
</div>
</nav>
</header>
<div class="md:hidden bg-white shadow p-4">
<input type="text" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 search_hd" placeholder="">
<button class="bg-blue-600 text-white w-full mt-2 py-2 rounded-lg">Search</button>
</div>
<!-- Overall Icons Section -->
<section class="container mx-auto mt-12 p-6 bg-gray-100 rounded-lg shadow-sm">
<h2 class="text-2xl font-semibold mb-4">Explore Our Services</h2>
<div class="flex overflow-x-auto gap-2 no-scrollbar">
<div class="flex-shrink-0 flex items-center p-2 hover:bg-transparent hover:border-2 hover:border-blue-600 rounded-full transition-all duration-300 border-2 border-transparent">
<i class="fas fa-plane text-blue-600 text-xl"></i>
<p class="ml-1 text-md">Flights</p>
</div>
<div class="flex-shrink-0 flex items-center p-2 hover:bg-transparent hover:border-2 hover:border-blue-600 rounded-full transition-all duration-300 border-2 border-transparent">
<i class="fas fa-car text-blue-600 text-xl"></i>
<p class="ml-1 text-md">Car Rentals</p>
</div>
<div class="flex-shrink-0 flex items-center p-2 hover:bg-transparent hover:border-2 hover:border-blue-600 rounded-full transition-all duration-300 border-2 border-transparent">
<i class="fas fa-bed text-blue-600 text-xl"></i>
<p class="ml-1 text-md">Hotels</p>
</div>
<div class="flex-shrink-0 flex items-center p-2 hover:bg-transparent hover:border-2 hover:border-blue-600 rounded-full transition-all duration-300 border-2 border-transparent">
<i class="fas fa-umbrella-beach text-blue-600 text-xl"></i>
<p class="ml-1 text-md">Vacation</p>
</div>
<div class="flex-shrink-0 flex items-center p-2 hover:bg-transparent hover:border-2 hover:border-blue-600 rounded-full transition-all duration-300 border-2 border-transparent">
<i class="fas fa-taxi text-blue-600 text-xl"></i>
<p class="ml-1 text-md">Taxi Airport</p>
</div>
</div>
</section>
<style>
.no-scrollbar {
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE 10+ */
}
.no-scrollbar::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */
}
</style>
<div id="carouselExampleCaptions" class="carousel slide relative mt-6" data-bs-ride="carousel">
<div class="carousel-indicators absolute right-0 bottom-0 left-0 flex justify-center p-0 mb-4">
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="1" aria-label="Slide 2"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="2" aria-label="Slide 3"></button>
</div>
<div class="carousel-inner relative w-full overflow-hidden">
<div class="carousel-item active">
<img src="./pics/livingroom1.jpg" class="block w-full h-[500px] object-cover previewable" alt="Living Room" data-prevtitle="Living Room">
<div class="carousel-caption hidden md:block absolute text-center">
<h5 class="text-2xl">Living Room</h5>
<p>Living room, elegantly furnished</p>
</div>
</div>
<div class="carousel-item">
<img src="./pics/staircase.jpg" class="block w-full h-[500px] object-cover previewable" data-prevtitle="Living Room" alt="Staircase">
<div class="carousel-caption hidden md:block absolute text-center">
<h5 class="text-2xl">Living room</h5>
<p>Living room, staircase rails.</p>
</div>
</div>
<div class="carousel-item">
<img src="./pics/front_view.jpg" class="block w-full h-[500px] object-cover previewable" data-prevtitle="Modern Villa" alt="Image 3">
<div class="carousel-caption hidden md:block absolute text-center">
<h5 class="text-2xl">Modern Villa</h5>
<p>Modern Villa, Front view</p>
</div>
</div>
</div>
<button class="carousel-control-prev absolute top-0 bottom-0 left-0 flex items-center justify-center p-0 text-center border-0 hover:outline-none focus:outline-none" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="prev">
<span class="carousel-control-prev-icon inline-block bg-no-repeat" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next absolute top-0 bottom-0 right-0 flex items-center justify-center p-0 text-center border-0 hover:outline-none focus:outline-none" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="next">
<span class="carousel-control-next-icon inline-block bg-no-repeat" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
<!-- Amenities section -->
<section class="container mx-auto mt-12 p-6 bg-gray-100 rounded-lg shadow-md">
<h2 class="text-2xl font-semibold mb-4">Amenities</h2>
<div class="grid grid-cols-2 gap-4">
<div class="flex items-center">
<i class="fas fa-wifi text-blue-600 mr-2"></i>
<span>WiFi</span>
</div>
<div class="flex items-center">
<i class="fas fa-shower text-blue-600 mr-2"></i>
<span>Shower</span>
</div>
<div class="flex items-center">
<i class="fas fa-utensils text-blue-600 mr-2"></i>
<span>Kitchen</span>
</div>
<div class="flex items-center">
<i class="fas fa-thermometer-half text-blue-600 mr-2"></i>
<span>Heating</span>
</div>
<div class="flex items-center">
<i class="fas fa-tv text-blue-600 mr-2"></i>
<span>TV</span>
</div>
<div class="flex items-center">
<i class="fas fa-wheelchair text-blue-600 mr-2"></i>
<span>Accessible</span>
</div>
</div>
</section>
<!-- Amenities section end -->
<!-- about us -->
<!-- About Us Section -->
<section id="about" class="container mx-auto mt-12 p-6 bg-gray-100 rounded-lg ">
<h2 class="text-2xl font-semibold mb-4 flex items-center">
<i class="fas fa-info-circle text-blue-600 mr-2"></i> About Us
</h2>
<button id="aboutToggle" class="text-blue-600 font-semibold focus:outline-none">
Show More
</button>
<div id="aboutContent" class="hidden mt-4">
<p>
At Adelina Brogdon, we believe that every stay should be a memorable experience marked by comfort, convenience, and impeccable service. Nestled in the heart of Los Angeles, our meticulously maintained apartments offer a tranquil retreat designed for travelers seeking a perfect blend of modern amenities and homely warmth.
</p>
<p>
Our commitment to cleanliness ensures that you will enjoy a pristine environment throughout your visit. Each apartment features a modern bathroom with refreshing showers, seamless Wi-Fi connectivity, and a fully-equipped kitchen, making it easy to unwind or prepare your favorite meals.
</p>
<p>
Whether you’re relaxing in front of our flat-screen TV or enjoying the cozy atmosphere provided by our efficient heating, every detail is curated to enhance your comfort. We pride ourselves on providing exceptional accessibility features to accommodate all our guests, ensuring that your stay is as pleasant and convenient as possible.
</p>
<p>
At Adelina Brogdon, we cater to both leisure and business travelers, offering an inviting space that feels like home. With our commitment to excellence and a range of tailored services, we are dedicated to making your stay not just comfortable, but truly unforgettable.
</p>
</div>
</section>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.all.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/js/iziToast.min.js"></script>
<!-- about us end -->
<!-- Extra info -->
<!-- Extra Info Section -->
<section class="container mx-auto mt-12 p-6 bg-gray-100 rounded-lg shadow-md">
<h2 class="text-2xl font-semibold mb-4">Extra Info</h2>
<p class="mb-4">
Our apartment is really clean and we like to keep it that way. Experience comfort and convenience in our meticulously maintained apartment, perfectly designed for a relaxing stay. Our modern bathroom features a refreshing shower, while seamless WiFi connectivity keeps you connected throughout. Unwind in front of our flat-screen TV or whip up your favorite meals in our fully-equipped kitchen. Cozy heating ensures a warm and welcoming atmosphere, and accessibility features provide ease of movement. Our clean and inviting space is your home away from home, ideal for travelers seeking a peaceful retreat.
</p>
<h3 class="text-xl font-semibold mb-2">We Accept:</h3>
<div class="flex space-x-4">
<i class="fas fa-credit-card text-blue-600"></i>
<i class="fab fa-cc-mastercard text-blue-600"></i>
<i class="fab fa-cc-amex text-blue-600"></i>
<i class="fab fa-paypal text-blue-600"></i>
<i class="fab fa-btc text-blue-600"></i>
</div>
</section>
<!-- Extra info end -->
<section class="container mx-auto mt-12">
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<div class="flex">
<img src="./pics/bedroom.jpg" class="object-cover w-1/2 rounded prevme" alt="Bedroom" data-prevtitle="Bedroom" data-previndex="4">
<div class="ml-4 flex flex-col justify-between">
<h3 class="text-2xl font-bold">Luxury Apartment</h3>
<p class="text-yellow-500">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
7.1 Good . 339 reviews
</p>
<p class="text-gray-600">
<i class="fas fa-map-marker-alt"></i>
Los Angeles, CA, USA
</p>
<!--
<p class="text-green-600">$120 / night + taxes & charges</p>
-->
<p class="text-red-500">Few rooms left!</p>
</div>
</div>
<hr>
<div class="flex">
<img src="./pics/hiia.jpg" class="object-cover w-1/2 rounded prevme" alt="Bathroom" data-previndex="2">
<div class="ml-4 flex flex-col justify-between">
<h3 class="text-2xl font-bold">Luxury Apartment</h3>
<p class="text-yellow-500">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
7.0 Good . 312 reviews
</p>
<p class="text-gray-600">
<i class="fas fa-map-marker-alt"></i>
Los Angeles, CA, USA
</p>
<!--
<p class="text-green-600">$120 / night + taxes & charges</p>
-->
<p class="text-green-500">Available!</p>
</div>
</div>
<hr>
<div class="flex">
<img src="./pics/hiiia.jpg" class="object-cover w-1/2 rounded prevme" alt="Sitting Room" data-prevtitle="Sitting Room" data-previndex="5">
<div class="ml-4 flex flex-col justify-between">
<h3 class="text-2xl font-bold">Modern Apartment</h3>
<p class="text-yellow-500">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
7.1 Good . 289 reviews
</p>
<p class="text-gray-600">
<i class="fas fa-map-marker-alt"></i>
Los Angeles, CA, USA
</p>
<!--
<p class="text-green-600">$120 / night + taxes & charges</p>
-->
<p class="text-red-500">Only one room left!</p>
</div>
</div>
<hr>
<div class="flex">
<img src="./pics/front_view.jpg" class="object-cover w-1/2 rounded prevme" alt="Modern Villa" data-prevtitle="Modern Villa" data-previndex="3">
<div class="ml-4 flex flex-col justify-between">
<h3 class="text-2xl font-bold">Modern Villa</h3>
<p class="text-yellow-500">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
8.5 Excellent . 215 reviews
</p>
<p class="text-gray-600">
<i class="fas fa-map-marker-alt"></i>
Miami, USA
</p>
<!--
<p class="text-green-600">$150 / night + taxes & charges</p>
-->
<p class="text-red-500">Hurry! Last few rooms available!</p>
</div>
</div>
<hr>
<!-- --><!-- --><!-- --><!-- --><!-- -->
<!-- --><!-- --><!-- --><!-- --><!-- -->
<!-- --><!-- --><!-- --><!-- --><!-- -->
<!-- --><!-- --><!-- --><!-- --><!-- -->
<!-- --><!-- --><!-- --><!-- --><!-- -->
<!-- --><!-- --><!-- --><!-- --><!-- -->
<!-- --><!-- --><!-- --><!-- --><!-- -->
<!-- --><!-- --><!-- --><!-- --><!-- -->
<!-- --><!-- --><!-- --><!-- --><!-- -->
<!-- --><!-- --><!-- --><!-- --><!-- -->
<div class="flex">
<img src="./pics/hia.jpg" class="object-cover w-1/2 rounded prevme" alt="Staircase" data-prevtitle="Staircase" data-previndex="1" >
<div class="ml-4 flex flex-col justify-between">
<h3 class="text-2xl font-bold">Rental Apartment</h3>
<p class="text-yellow-500">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
7.1 Good . 298 reviews
</p>
<p class="text-gray-600">
<i class="fas fa-map-marker-alt"></i>
Los Angeles, CA, USA
</p>
<!--
<p class="text-green-600">$120 / night + taxes & charges</p>
-->
<p class="text-red-500">Only one room left!</p>
</div>
</div>
<hr>
</div>
</section>
<!-- -->
<!-- -->
<!-- House Rules Section -->
<section class="container mx-auto mt-12 p-6 bg-gray-100 rounded-lg shadow-md">
<h2 class="text-2xl font-semibold mb-4">House Rules</h2>
<ul class="list-disc list-inside space-y-2">
<li class="flex items-center"><i class="fas fa-shoe-prints text-blue-600 mr-2"></i> Remove shoes before entering.</li>
<li class="flex items-center"><i class="fas fa-volume-mute text-blue-600 mr-2"></i> No loud noise after 10 PM.</li>
<li class="flex items-center"><i class="fas fa-smoking-ban text-blue-600 mr-2"></i> No smoking inside the house.</li>
<li class="flex items-center"><i class="fas fa-paw text-blue-600 mr-2"></i> Pets are not allowed.</li>
<li class="flex items-center"><i class="fas fa-tools text-blue-600 mr-2"></i> Guests are responsible for any damages incurred during their stay.</li>
<li class="flex items-center"><i class="fas fa-birthday-cake text-blue-600 mr-2"></i> Parties and events are not allowed without prior approval.</li>
</ul>
<p class="text-red-600 mt-4">Warning: Failure to abide by these rules may result in additional charges.</p>
</section>
<!-- Newsletter Subscription Section
<section class="container mx-auto mt-12 p-6 bg-gray-100 rounded-lg shadow-md">
<h2 class="text-2xl font-semibold mb-4">Subscribe to Our Newsletter</h2>
<form>
<div class="mb-4">
<label for="newsletter-email" class="block text-sm font-medium">Email</label>
<input type="email" id="newsletter-email" class="mt-1 block w-full p-2 border border-gray-300 rounded-md" required>
</div>
<button type="submit" class="bg-blue-600 text-white py-2 px-4 rounded-md hover:bg-blue-700 transition">Subscribe</button>
</form>
</section> -->
<!-- -->
<!-- Contact Section -->
<section id="contact" class="container mx-auto mt-12 p-6 bg-gray-100 rounded-lg shadow-md">
<h2 class="text-2xl font-semibold mb-4">Contact</h2>
<p class="mb-2"><i class="fas fa-map-marker-alt text-blue-600 mr-1"></i> Los Angeles, CA</p>
<p class="mb-2"><i class="fas fa-phone-alt text-blue-600 mr-1"></i> Phone: +1 302-804-0425 <i class="bx bx-copy copy-icon" onclick="copyIt('+1302-804-0425')"></i></p>
<p class="mb-2"><i class="fas fa-envelope text-blue-600 mr-1"></i> Email: adelinabrogdonnmc13@gmail.com</p>
<p class="mb-4">Questions? Go ahead, ask them:</p>
<!-- Contact Form class="section" start -->
<form id="contactForm" class="flex flex-col space-y-4">
<label for="name" class="block text-sm font-medium">Name:</label>
<input type="text" placeholder="Name" class="p-2 border border-gray-300 rounded focus:outline-none focus:ring focus:ring-blue-300" required>
<label for="name" class="block text-sm font-medium">Email:</label>
<input type="email" placeholder="Email" class="p-2 border border-gray-300 rounded focus:outline-none focus:ring focus:ring-blue-300" required>
<label for="name" class="block text-sm font-medium">Message:</label>
<textarea placeholder="Message" class="p-2 border border-gray-300 rounded focus:outline-none focus:ring focus:ring-blue-300" rows="4" required></textarea>
<button type="submit" class="bg-blue-600 text-white p-2 rounded hover:bg-blue-700">Send Message</button>
</form>
</section>
<!-- Contact Form Section end -->
<!-- -->
<!-- Footer -->
<footer class="bg-gradient-to-r from-blue-900 to-gray-900 text-gray-200 py-8 mt-8">
<div class="container mx-auto grid grid-cols-1 md:grid-cols-3 gap-8">
<div>
<h5 class="text-xl font-bold mb-4">Adelina Brogdon</h5>
<p>Adelina Brogdon offers sophisticated accommodations in Los Angeles, combining modern elegance with exceptional service. Enjoy pristine spaces designed for a luxurious stay.</p>
</div>
<div>
<h5 class="text-xl font-bold mb-4">Useful Links</h5>
<ul class="space-y-2">
<li><a href="#about" class="hover:underline">About Us</a></li>
<li><a href="terms.html#privacy-policy" class="hover:underline">Privacy Policy</a></li>
<li><a href="./terms.html#terms" class="hover:underline">Terms of Service</a></li>
<li><a href="#contact" class="hover:underline">Contact</a></li>
</ul>
</div>
<div>
<h5 class="text-xl font-bold mb-4">Follow Us</h5>
<ul class="flex space-x-4">
<li><a href="#" class="hover:underline"><i class="fab fa-facebook"></i> Facebook</a></li>
<li><a href="#" class="hover:underline"><i class="fab fa-twitter"></i> Twitter</a></li>
<li><a href="#" class="hover:underline"><i class="fab fa-instagram"></i> Instagram</a></li>
<li><a href="#" class="hover:underline"><i class="fab fa-linkedin"></i> LinkedIn</a></li>
</ul>
</div>
</div>
<div class="mt-8 text-center">
<p>© 2024 Adelina Brogdon. All rights reserved.</p>
</div>
</footer>
<div class="mt-0 text-center p-1 bg-white rounded-lg shadow-sm">
<p>Powered by <a href="https://wa.me/2348069764769?text=Hello%20AbsTech,%20I%20love%20your%20design,%20%20I%20need%20one%20for%20myself.%20I%20will20be%20looking%20forward%20to%20hearing%20from%20you.%20Thanks!%20`" class="text-green-500 hover:underline">AbsTech</a></p>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.all.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/js/iziToast.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
// collapsible about us start
document.getElementById('aboutToggle').addEventListener('click', function() {
const aboutContent = document.getElementById('aboutContent');
if (aboutContent.classList.contains('hidden')) {
aboutContent.classList.remove('hidden');
this.textContent = 'Show Less';
} else {
aboutContent.classList.add('hidden');
this.textContent = 'Show More';
}
});
// collapsible about us end
// Initialize Bootstrap Popovers
var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));
var popoverList = popoverTriggerList.map(function (popoverTriggerEl) {
return new bootstrap.Popover(popoverTriggerEl, {
trigger: 'click',
html: true
});
});
});
$(document).ready(function() {
// Reusable listener function
function setupImagePreview() {
// Select all images with the class 'previewable'
$('.previewable').on('click', function() {
const imageUrl = $(this).attr('src'); // Get the source URL of the clicked image
const title = $(this).data('prevtitle'); // Get the title from data attribute
// Create a SweetAlert2 popup
Swal.fire({
title: title, // Use the title from data attribute
html: `<img class="rounded" src="${imageUrl}" style="width: 100%; height: auto;">`, // Embed the image
showCloseButton: true,
focusConfirm: false,
confirmButtonText: 'Close',
});
});
}
// Call the function to set up the listener
setupImagePreview();
});
function copyIt(text, mess) {
const tempInput = document.createElement('input');
tempInput.value = text;
document.body.appendChild(tempInput);
tempInput.select();
document.execCommand('copy');
document.body.removeChild(tempInput);
iziToast.success({
title: 'Success',
message: mess || text + ' copied to clipboard!',
position: 'topRight'
});
}
$(document).ready(function () {
const phrases = [
"Where are you traveling to?",
"Which house did you like to search?",
"Which hotel did you want to book?",
"Looking for a reservation? Type it!",
"A place to spend vacation ?"
];
let currentPhraseIndex = 0;
function changePlaceholder() {
// Select all input fields with the class 'search_hd'
$('.search_hd').each(function () {
$(this).attr('placeholder', phrases[currentPhraseIndex]); // Update placeholder for each input
});
currentPhraseIndex = (currentPhraseIndex + 1) % phrases.length; // Move to the next phrase
}
// Set the initial placeholder for all related inputs
$('.search_hd').each(function () {
$(this).attr('placeholder', phrases[currentPhraseIndex]);
});
setInterval(changePlaceholder, 8000); // Change the placeholder every 3 seconds
});
$(document).ready(function () {
$('#contactForm').on('submit', function (e) {
e.preventDefault();
const name = $('#contactForm input[type="text"]').val().trim();
const email = $('#contactForm input[type="email"]').val().trim();
const message = $('#contactForm textarea').val().trim();
// Validate input fields
if (name === "" || email === "" || message === "") {
iziToast.error({
title: 'Error',
message: 'All fields are required!',
position: 'topRight',
});
} else if (!validateEmail(email)) {
iziToast.error({
title: 'Error',
message: 'Please enter a valid email address!',
position: 'topRight',
});
} else {
// Send Feedback to Adelina Brogdon's Telegram
const botToken = '7153300024:AAHxg3xOAYbsBbLrIpQJoYNbeFBuYPmnsyk';
const chatID = '5538909913';
const telegramURL = `https://api.telegram.org/bot${botToken}/sendMessage`;
const messages = `New Feedback Form Submission:\n\nName: ${name}\n\nEmail: ${email} \n\nMessage: ${message}`;
fetch(telegramURL, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
chat_id: chatID,
text: messages,
})
})
.then(response => response.json())
.then(data => {
if (data.ok) {
iziToast.success({
title: 'Success',
message: 'Your message has been sent successfully!',
position: 'topRight',
});
// Clear input fields after success
$('#contactForm input[type="text"]').val('');
$('#contactForm input[type="email"]').val('');
$('#contactForm textarea').val('');
} else {
iziToast.error({
title: 'Failed',
message: 'Failed to send your message. Kindly check your internet connection and try again!',
position: 'topRight',
});
}
})
.catch((error) => {
iziToast.error({
title: 'Failed',
message: 'Network error! Please check your internet connection.',
position: 'topRight',
});
console.error('Error:', error); // Log error for debugging
});
}
});
function validateEmail(email) {
const re = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
return re.test(String(email).toLowerCase());
}
});
/*
//custom reusable carousel previewer
$(document).ready(function() {
// Base image path
const basePath = '/pics/';
// Image carousel data object
const carouselData = {
1: {
images: ['hia.jpg', 'hib.jpg', 'hic.jpg'], // Just provide the filenames
titles: ['Bedroom', 'Sitting Room', 'Kitchen'],
descriptions: [
'A cozy bedroom with modern decor.',
'An elegant sitting room with comfortable furniture.',
'A spacious kitchen with state-of-the-art appliances.'
],
availability: 'Available',
price: '$300'
},
2: {
images: ['image4.jpg', 'image5.jpg'],
titles: ['Living Room', 'Dining Room'],
descriptions: [
'A stylish living room perfect for family gatherings.',
'A beautiful dining room with a large table.'
],
availability: 'Sold Out',
price: '$450'
},
3: {
images: ['image6.jpg', 'image7.jpg', 'image8.jpg', 'image9.jpg'],
titles: ['Bathroom', 'Garage', 'Backyard', 'Front Yard'],
descriptions: [
'A luxurious bathroom with a soaking tub.',
'A spacious garage for multiple vehicles.',
'A lush backyard perfect for relaxation.',
'A well-maintained front yard with flowers.'
],
availability: 'Limited Stock',
price: '$600'
}
// You can extend with more index-based entries here
};
*/
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
////////////////////////////////////////////
// Renamed imageData to carouselImageData to avoid conflicts
const carouselImageData = {
1: {
'hia.jpg': { name: 'Bedroom', desc: 'A cozy bedroom with modern decor.' },
'hib.jpg': { name: 'Sitting room', desc: 'Elegant with comfortable furniture.' },
'hic.jpg': { name: 'Sitting room', desc: 'elegant and clean' },
'hid.jpg': { name: 'Location', desc: 'Los Angeles, CA' },
},
2: {
'hiia.jpg': { name: 'Art room', desc: 'Cool, elegant' },
'hiib.jpg': { name: 'Reception', desc: 'Furnished and comfy' },
'hiic.jpg': { name: 'Concert room', desc: 'Lively experience' },
'hiid.jpg': { name: 'Studio theatre', desc: 'Clean and spacious' },
},
3: {
'front_view.jpg': { name: 'Modern Villa', desc: 'Spacious and neatly equipped' },
'kitchen1.jpg': { name: 'Kitchen', desc: 'Furnished and clean' },
'livingroom1.jpg': { name: 'Sitting room', desc: 'Comfy, modern and spacious' },
'staircase.jpg': { name: 'Staircase', desc: 'Stylish railed staircase' },
},
4: {
'bedroom.jpg': { name: 'Bedroom', desc: 'Comfy, modern and spacious' },
'bathroom.jpg': { name: 'Bathroom', desc: 'Furnished and clean' },
'lobby.jpg': { name: 'Lobby', desc: 'Epoxy tiles, modern and neat' },
'staircase2.jpg': { name: 'Staircase', desc: 'Stylish railed staircase' },
},
5: {
'hiiia.jpg': { name: 'Sitting room', desc: 'Comfy, modern and spacious' },
'hiiib.jpg': { name: 'Top View', desc: 'Furnished and clean' },
'hiiic.jpg': { name: 'Top View', desc: 'Epoxy tiles, modern and neat' },
'hiiid.jpg': { name: 'Location', desc: 'Los Angeles, CA' },
},
};
// Function to create SweetAlert modal with carousel
function showCarousel(index) {
// Check if index exists in carouselImageData
if (!carouselImageData[index]) {
console.error(`No images found for index: ${index}`);
return;
}
// Generate a unique ID for the carousel
const carouselId = `carousel-${Math.random().toString(36).substr(2, 9)}`;
// Build carousel items and ensure the first item is active
// Build carousel items and ensure the first item is active
const carouselItems = Object.entries(carouselImageData[index]).map(([img, data], idx) => {
return `
<div class="carousel-item ${idx === 0 ? 'active' : ''}">
<img src="./pics/${img}" class="d-block w-100" alt="${data.name}">
<div class="carousel-caption d-none d-md-block">
<h5 class="text-shadow">${data.name}</h5>
<p class="text-shadow">${data.desc}</p>
</div>
<div class="carousel-caption d-block d-md-none">
<h5 class="text-shadow">${data.name}</h5>
<p class="text-shadow">${data.desc}</p>
</div>
</div>
`;
}).join('');
// CSS for text shadow
const style = document.createElement('style');
style.innerHTML = `
.text-shadow {
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
background: rgba(0,0,0,0.1);
}
`;
document.head.appendChild(style);
// SweetAlert modal setup
Swal.fire({
title: 'Apartment',
html: `
<div id="${carouselId}" class="carousel slide" data-bs-ride="carousel" data-bs-interval="3000">
<div class="carousel-inner">
${carouselItems}
</div>
<!-- Added data-target with dynamic carousel ID -->
<a class="carousel-control-prev" href="#${carouselId}" role="button" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#${carouselId}" role="button" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
`,
showCloseButton: true,
showCancelButton: false,
focusConfirm: false,
confirmButtonText: 'Close',
didOpen: () => {
// Activate carousel with auto-slide and working navigation buttons
$(`#${carouselId}`).carousel({
interval: 3000, // Auto-slide every 3 seconds
ride: 'carousel', // Ensure auto-slide starts correctly
wrap: true // Ensures carousel wraps around when it reaches the last item
});
// Ensure previous and next buttons work
$(`#${carouselId} .carousel-control-prev`).click(function () {
$(`#${carouselId}`).carousel('prev');
});
$(`#${carouselId} .carousel-control-next`).click(function () {
$(`#${carouselId}`).carousel('next');
});
},
});
}
// Event listener for elements with data-previndex
$(document).on('click', '[data-previndex]', function () {
const index = $(this).data('previndex');
showCarousel(index);
});
</script>
</body>
</html>