-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
948 lines (886 loc) · 39.3 KB
/
index.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
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://cdn.tailwindcss.com"></script>
<!-- <link rel="apple-touch-icon" sizes="180x180" href="/Assets/Images/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/Assets/Images/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/Assets/Images/favicon-16x16.png" /> -->
<link rel="manifest" href="/site.webmanifest" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/remixicon/3.4.0/remixicon.css" crossorigin="">
<link rel="stylesheet" href="./output.css" />
<link rel="stylesheet" href="./style.css" />
<link rel="stylesheet" href="./introSection.css" />
<link rel="stylesheet" href="./navbar.css" />
<link rel="stylesheet" href="./mobileView.css" />
<link rel="icon" type="image/x-icon" href="logo.png" />
<script defer src="https://unpkg.com/[email protected]/dist/cdn.min.js"></script>
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet" />
<title>PetMe</title>
</head>
<body>
<header
class="header text-gray-400 bg-header-offwhite body-font flex flex-row items-center justify-center lg:justify-around"
id="header">
<div class="flex flex-row items-center md:flex-row md:items-center p-2" id="logo">
<span class="mission-1 mission-dark"> Saving Lives </span>
<a class="logo-border" href="index.html">
<img class="rounded-full logo-size" src="./Assets/Images/logo.jpg" alt="logo" />
</a>
<span class="mission-2 mission-dark"> Saving Animals </span>
<!--
<div class="w-full mt-8 md:mt-0">
<h1 class="text-4xl text_2 text-center md:text-left md:ml-12 uppercase font-serif font-bold " id = "heading-adopt-me">Adopt
today!</h1>
<p class="text-lg text-gray-400 text-center md:text-left md:ml-12 mt-2">Give life to a needed animal</p>
</div> -->
</div>
<button
data-collapse-toggle="navbar-default"
type="button"
class="absolute top-4 right-4 sm:inline-flex sm:items-center p-2 lg:hidden focus:outline-none text_4"
aria-controls="navbar-default"
aria-expanded="false"
id="nav-button"
>
<span class="sr-only">Open main menu</span>
<svg
class="w-6 h-6"
aria-hidden="true"
fill="currentColor"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
clip-rule="evenodd"
></path>
</svg>
</button>
<nav class="">
<div class="hidden w-full lg:block z-2" id="navbar">
<ul class="w-[100vw] h-1/2 top-0 right-0 p-8 lg:p-4 mt-12 lg:mt-0 text-center text-base md:text-md space-y-4 lg:space-y-0 lg:space-x-5 lg:static lg:w-auto flex flex-col rounded-lg items-center lg:items-center lg:bg-transparent lg:border-0 lg:flex-row justify-between">
<div class="nav-item">
<li>
<a
href="#meet"
class="lg:p-3 text-custom-heading font-bold underline-offset-4 turn-red-hover navbar-item"
>Meet Pets</a
>
</li>
</div>
<li>
<a
href="#About"
class="text-custom-heading font-bold underline-offset-4 turn-red-hover navbar-item"
>About Us</a
>
</li>
<li>
<a
href="./news.html"
class="text-custom-heading font-bold underline-offset-4 turn-red-hover navbar-item"
>Pet News</a
>
</li>
<li>
<a
href="./blog.html"
class="text-custom-heading font-bold underline-offset-4 turn-red-hover navbar-item"
>Blogs</a
>
</li>
<li>
<a
href="./donate.html"
class="text-custom-heading font-bold underline-offset-4 turn-red-hover navbar-item"
>Donate</a
>
</li>
<li>
<div x-data="{ open: false }" @mouseleave="open = false" class="relative">
<a @mouseover="open = true" class="text-custom-heading flex font-bold hover:underline underline-offset-4 turn-red-hover navbar-item w-full">
Support Us
<svg xmlns="http://www.w3.org/2000/svg" width="14px" height="14px" fill="none" viewBox="0 0 24 24" stroke="currentColor" class="mt-1">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
</svg>
</a>
<div x-show="open" class="z-20 absolute -left-1 w-[7.5rem] py-2 bg-gray-100 rounded-md shadow-xl">
<a href="volunteer.html" class="block px-4 py-2 text-base text-gray-300 text-gray-700 hover:bg-gray-400 hover:text-white">Become a Volunteer</a>
</div>
</div>
</li>
<li>
<a
href="./reportstary.html"
class="text-custom-heading font-bold underline-offset-4 turn-red-hover navbar-item"
>SOS Report</a
>
</li>
<li>
<a href="#contact">
<button
class="inline-flex items-center bg-header-orange-light border-0 py-2 lg:py-2 text-choco text-base px-2 focus:outline-none text_4 font-bold rounded mt-4 md:mt-0 hover:translate-x-2 transition-transform"
>
Contact Us
<svg
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
class="w-4 h-4 ml-1 transform translate-x-0 transition-transform"
viewBox="0 0 24 24"
>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</button>
</a>
</li>
<li>
<a id="theme-toggle">
<i class="ri-sun-line turn-yellow-hover light-theme" id="switch"></i>
</a>
</li>
<!-- google translate -->
<div id="google_translate_element">
<script
type="text/javascript"
src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"
></script>
</div>
<!-- google translate -->
</ul>
</div>
</nav>
</header>
<section class="main-body-section">
<div class="main-body-section-div relative">
<div class="absolute inset-0 bg-gradient-to-b from-transparent to-black opacity-43"></div>
<div class="heading-main-body">
<div class="main-body-heading-text z-10">
<h1 class="heading-main-body-h1"><span>Adopt</span> Me</h1>
<p>Give life to an animal in need.</p>
</div>
</div>
</div>
<!-- Scroll to top -->
<!-- <div class="md:pr-8">
<a href="#top">
<button id="bttbutton" title="backtotop">
<img alt="scroll-to-top-feature" src="./Assets/Images/uparrow.png"/>
</button>
</a>
</div> -->
<!-- Scroll to top -->
<!-- SOS button
<div>
<form action="./reportstary.html" method="get" target="_blank">
<button id="mySBtn" title="SOS">SOS</button>
</form>
</div>
end of SOS button -->
</section>
<!-- About session html starts from here -->
<section class="bg-white dark:bg-gray-900 b_1 shadow-2xl">
<div class="py-8 lg:py-16 px-4 mx-auto max-w-screen-md">
<p id="About"></p>
<h2
class="mb-8 text-7xl tracking-tight underline-offset-4 turn-yellow-hover antialiased font-extrabold text-center text-gray-900 dark:text-white text_3"
style="padding-top: 120px; padding-bottom: 25px">
About Us
</h2>
<p class="mb-8 lg:mb-16 font-light text-center text-gray-900 dark:text-white text_3 sm:text-2xl text_6">
Our mission is to provide a platform that connects animal lovers with
pets in need of a forever home, while also providing emergency medical
care for stray animals in distress. We strive to make a difference in
the lives of these innocent creatures by offering options to
<a class="hover-underline-animation" href="#meet"><b>Adopt</b></a>,
<a class="hover-underline-animation" href="./donate.html"><b>Donate</b></a>
and through our SOS feature
<a class="hover-underline-animation" href="./reportstary.html"><b>Report</b></a>
stray animals in need of immediate assistance. Together, we can create
a better world for all animals.
</p>
<a href="./volunteer.html" class="block mx-auto w-fit ">
<button
class="inline-flex items-center hover:bg-amber-800 border-0 py-2 lg:py-2 px-2 focus:outline-none text-white font-bold rounded text-base mt-4 md:mt-0 hover:translate-x-2 transition-transform bg-transparent ">
Become Volunteer
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
class="w-4 h-4 ml-1 transform translate-x-0 transition-transform" viewBox="0 0 24 24">
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</button>
</a>
</div>
</section>
<!-- About Us section html ends here -->
<section class="pet-card-flex">
<br />
<br />
<div>
<h1 class="m-heading text-3xl lg:text-6xl hover:shadow-2xl antialiased hover:subpixel-antialiased">
Meet Our Friends Here
</h1>
</div>
<br />
<div class="one-line-card" id="meet">
<div class="main-card card-height shadow-2xl">
<div class="main-img">
<div class="hv rounded-lg shadow-lg max-w-xs card-img-div">
<a href="#">
<img class="card-img-size" src="Assets/Images/goldern-ret.jpg" alt="" />
</a>
</div>
</div>
<div class="main-text">
<div class="p-4 flex flex-col gap-2">
<h5 class="text_3 md:text-[40px] font-bold mb-2 text-center">
Bongo
</h5>
<ul class="grid grid-cols-2 gap-5 text_4">
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/dog-icon.svg" alt="" />
<span>Dog</span>
</li>
<li class="flex text-xl justify-self-center">
<span>8 years</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Male</span>
</li>
<li class="flex text-xl justify-self-center">
<span>G-Retriever</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Brown</span>
</li>
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/loation-icon.svg" alt="" />
<span>Delhi</span>
</li>
</ul>
<a class="self-center pt-2" href="adopt.html">
<button type="button" class="hover-button">Adopt me</button></a>
</div>
</div>
</div>
<div class="main-card card-height shadow-2xl">
<div class="main-img">
<div class="hv rounded-lg shadow-lg max-w-xs card-img-div">
<a href="#">
<img class="card-img-size" src="Assets/Images/pug.jpg" alt="" />
</a>
</div>
</div>
<div class="main-text">
<div class="p-4 flex flex-col gap-2">
<h5 class="text_3 md:text-[40px] font-bold mb-2 text-center">
Roblet
</h5>
<ul class="grid grid-cols-2 gap-5 text_4">
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/dog-icon.svg" alt="" />
<span>Dog</span>
</li>
<li class="flex text-xl justify-self-center">
<span>8 years</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Male</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Pug</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Brown</span>
</li>
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/loation-icon.svg" alt="" />
<span>Lucknow</span>
</li>
</ul>
<a class="self-center" href="adopt.html">
<button type="button" class="hover-button">Adopt me</button></a>
</div>
</div>
</div>
</div>
<div class="one-line-card">
<div class="main-card card-height shadow-2xl">
<div class="main-img">
<div class="hv rounded-lg shadow-lg max-w-xs card-img-div">
<a href="#">
<img class="card-img-size" src="Assets/Images/husky.jpg" alt="" />
</a>
</div>
</div>
<div class="main-text">
<div class="p-4 flex flex-col gap-2">
<h5 class="text_3 md:text-[40px] font-bold mb-2 text-center">
Sipper
</h5>
<ul class="grid grid-cols-2 gap-5 text_4">
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/dog-icon.svg" alt="" />
<span>Dog</span>
</li>
<li class="flex text-xl justify-self-center">
<span>7 years</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Male</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Husky</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Brown</span>
</li>
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/loation-icon.svg" alt="" />
<span>Kashmir</span>
</li>
</ul>
<a class="self-center" href="adopt.html">
<button type="button" class="hover-button">Adopt me</button></a>
</div>
</div>
</div>
<div class="main-card card-height shadow-2xl">
<div class="main-img">
<div class="hv rounded-lg shadow-lg max-w-xs card-img-div">
<a href="#">
<img class="card-img-size" src="Assets/Images/ragdo.jpg" alt="" />
</a>
</div>
</div>
<div class="main-text">
<div class="p-4 flex flex-col gap-2">
<h5 class="text_3 md:text-[40px] font-bold mb-2 text-center">
Russia
</h5>
<ul class="grid grid-cols-2 gap-5 text_4">
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/cat.png" alt="" />
<span>Cat</span>
</li>
<li class="flex text-xl justify-self-center">
<span>2.5 years</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Female</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Ragdoll</span>
</li>
<li class="flex text-xl justify-self-center">
<span>White</span>
</li>
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/loation-icon.svg" alt="" />
<span>Karnataka</span>
</li>
</ul>
<a class="self-center" href="adopt.html">
<button type="button" class="hover-button">Adopt me</button></a>
</div>
</div>
</div>
</div>
<div class="one-line-card">
<div class="main-card card-height">
<div class="main-img">
<div class="hv rounded-lg shadow-lg max-w-xs card-img-div">
<a href="#">
<img class="card-img-size" src="Assets/Images/persian.webp" alt="" />
</a>
</div>
</div>
<div class="main-text">
<div class="p-4 flex flex-col gap-2">
<h5 class="text_3 md:text-[40px] font-bold mb-2 text-center">
Zombo
</h5>
<ul class="grid grid-cols-2 gap-5 text_4">
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/cat.png" alt="" />
<span>Cat</span>
</li>
<li class="flex text-xl justify-self-center">
<span>1.5 years</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Female</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Persian</span>
</li>
<li class="flex text-xl justify-self-center">
<span>White</span>
</li>
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/loation-icon.svg" alt="" />
<span>Kanpur</span>
</li>
</ul>
<a class="self-center" href="adopt.html">
<button type="button" class="hover-button">Adopt me</button></a>
</div>
</div>
</div>
<div class="main-card card-height shadow-2xl">
<div class="main-img">
<div class="hv rounded-lg shadow-lg max-w-xs card-img-div">
<a href="#">
<img class="card-img-size" src="Assets/Images/angora.jpg" alt="" />
</a>
</div>
</div>
<div class="main-text">
<div class="p-4 flex flex-col gap-2">
<h5 class="text_3 md:text-[40px] font-bold mb-2 text-center">
Riksy
</h5>
<ul class="grid grid-cols-2 gap-5 text_4">
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/rabbit.png" alt="" />
<span>Rabbit</span>
</li>
<li class="flex text-xl justify-self-center">
<span>0.5 years</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Female</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Angora</span>
</li>
<li class="flex text-xl justify-self-center">
<span>White</span>
</li>
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/loation-icon.svg" alt="" />
<span>Kashmir</span>
</li>
</ul>
<a class="self-center" href="adopt.html">
<button type="button" class="hover-button">Adopt me</button></a>
</div>
</div>
</div>
</div>
<div class="one-line-card">
<div class="main-card card-height">
<div class="main-img">
<div class="hv rounded-lg shadow-lg max-w-xs card-img-div">
<a href="#">
<img class="card-img-size" src="Assets/Images/german.jpg" alt="" />
</a>
</div>
</div>
<div class="main-text">
<div class="p-4 flex flex-col gap-2">
<h5 class="text_3 md:text-[40px] font-bold mb-2 text-center">
Sheru
</h5>
<ul class="grid grid-cols-2 gap-5 text_4">
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/dog-icon.svg" alt="" />
<span>Dog</span>
</li>
<li class="flex text-xl justify-self-center">
<span>5 years</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Male</span>
</li>
<li class="flex text-xl justify-self-center">
<span>G-Shepherd</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Black</span>
</li>
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/loation-icon.svg" alt="" />
<span>Kolkata</span>
</li>
</ul>
<a class="self-center" href="adopt.html">
<button type="button" class="hover-button">Adopt me</button>
</a>
</div>
</div>
</div>
<div class="main-card card-height shadow-2xl">
<div class="main-img">
<div class="hv rounded-lg shadow-lg card-img-div">
<a href="#">
<img class="card-img-size" src="Assets/Images/porme.jpg" alt="" />
</a>
</div>
</div>
<div class="main-text">
<div class="p-4 flex flex-col gap-2">
<h5 class="text_3 md:text-[40px] font-bold mb-2 text-center">
Swaggy
</h5>
<ul class="grid grid-cols-2 gap-5 text_4">
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/dog-icon.svg" alt="" />
<span>Dog</span>
</li>
<li class="flex text-xl justify-self-center">
<span>2 years</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Female</span>
</li>
<li class="flex text-xl justify-self-center">
<span>Pomeranian</span>
</li>
<li class="flex text-xl justify-self-center">
<span>White</span>
</li>
<li class="flex gap-2 text-xl justify-self-center">
<img class="w-5 icon h-auto" src="Assets/Images/loation-icon.svg" alt="" />
<span>Kashmir</span>
</li>
</ul>
<a class="self-center" href="adopt.html">
<button type="button" class="hover-button">Adopt me</button>
</a>
</div>
</div>
</div>
</div>
</section>
<!-- style="opacity: 0; transform: translateX(50px); transition: opacity 1s ease, transform 1s ease;" -->
<!-- Contact us section html starts from here -->
<section id="contact" class="dark:bg-gray-900 b_1 pt-40 pb-20">
<div class="w-full contact-form-container mx-auto max-w-screen-md" id="contactFormContainer">
<form action="https://formspree.io/f/xayaokzl" method="POST"
class="bg-black rounded-md main-bg-clip-padding backdrop-filter backdrop-blur-sm bg-opacity-20 border border-gray-100 px-8 pt-8 pb-10">
<p id="contact"></p>
<h2 class="text-3xl mt-1 mb-2 text-center bold-500 text_3 contact-form-text" style="color: white;">
CONTACT US
</h2>
<p class="text-base text-center text_3 contact-form-text" style="color: white;">
Any issues! Fill the form below and our team will contact you
shortly.
</p>
<br />
<div class="mb-4">
<label class="block text_3 text-sm font-bold mb-2 contact-form-text" for="contact_nom" style="color: white;">
Name
</label>
<!-- <input
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:shadow-outline"
id="contact_nom"
name="contact_nom"
type="text"
placeholder="Name"
/> -->
<input
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:shadow-outline"
id="contact_nom" name="contact_nom" type="text" placeholder="Name" oninput="validateName(this)" />
<span id="nameError" class="text-red-500"></span>
<script>
function validateName(input) {
var nameRegex = /^[A-Za-z\- ]+$/; // Allow letters, hyphens, and spaces
if (input.value.trim() === '') {
document.getElementById('nameError').textContent = '';
input.classList.remove('border-red-500');
} else if (!input.value.match(nameRegex)) {
document.getElementById('nameError').textContent =
'Please enter a valid name with only letters, spaces, and hyphens.';
input.classList.add('border-red-500');
} else {
document.getElementById('nameError').textContent = '';
input.classList.remove('border-red-500');
}
}
</script>
</div>
<div class="mb-6">
<label class="block text_3 text-sm font-bold mb-2 contact-form-text" for="contact_email" style="color: white;">
Email
</label>
<input
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:shadow-outline"
id="contact_email" name="contact_email" type="email" required placeholder="hello@petme"
oninput="validateEmail(this)" />
<span id="emailError" class="text-red-500"></span>
<script>
function validateEmail(input) {
const emailRegex = /^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/;
if (input.value.trim() === '') {
document.getElementById('emailError').textContent = '';
input.classList.remove('border-red-500');
} else if (!input.value.match(emailRegex)) {
document.getElementById('emailError').textContent =
'Please enter a valid email including @.';
input.classList.add('border-red-500');
} else {
document.getElementById('emailError').textContent = '';
input.classList.remove('border-red-500');
}
}
</script>
</div>
<div class="mb-6">
<label for="contact_message" class="block text_3 text-sm font-bold mb-2 contact-form-text" style="color: white;">Message</label>
<textarea
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:shadow-outline"
id="contact_message" name="contact_message" required rows="6" placeholder="Your message"></textarea>
</div>
<div class="flex justify-center">
<button
class="bg-amber-800 hover-button hover:bg-amber-700 text-center text_3 font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline"
type="submit">
Submit
</button>
</div>
</form>
</div>
</section>
<script>
window.addEventListener("scroll", function () {
var contactFormContainer = document.getElementById(
"contactFormContainer"
);
var scrollPosition = window.scrollY + window.innerHeight;
var contactFormOffset = contactFormContainer.offsetTop;
if (scrollPosition > contactFormOffset) {
contactFormContainer.style.opacity = "1";
contactFormContainer.style.transform = "translateX(0)";
}
});
</script>
<!-- <section class="dark:bg-gray-900 b_1 pt-20 pb-20">
<div class="w-full contact-form-container mx-auto max-w-screen-md">
<form
action="https://formspree.io/f/xayaokzl"
method="POST"
class="bg-gray-100 rounded-md bg-clip-padding backdrop-filter backdrop-blur-sm bg-opacity-20 border border-gray-100 px-8 pt-6 pb-8"
>
<p id="contact"></p>
<h2 class="text-3xl mt-1 mb-2 text-center bold-500 text_3">
CONTACT US
</h2>
<p class="text-base text-center text_3">
Any issues! Fill the form below and our team will contact you
shortly.
</p>
<br />
<div class="mb-4">
<label
class="block text-white text-sm font-bold mb-2"
for="contact_nom"
>
Name
</label>
<input
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:shadow-outline"
id="contact_nom"
name="contact_nom"
type="text"
placeholder="Name"
/>
</div>
<div class="mb-6">
<label
class="block text-white text-sm font-bold mb-2"
for="contact_email"
>
Email
</label>
<input
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:shadow-outline"
id="contact_email"
name="contact_email"
type="email"
required
placeholder="hello@petme"
/>
</div>
<div class="mb-6">
<label
for="contact_message"
class="block text-white text-sm font-bold mb-2"
>Message</label
>
<textarea
class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:shadow-outline"
id="contact_message"
name="contact_message"
required
rows="6"
placeholder="Your message"
></textarea>
</div>
<div class="flex justify-center">
<button
class="bg-gray-800 hover:bg-gray-900 text-center text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline"
type="submit"
>
Contact Us
</button>
</div>
</form>
</div>
</section> -->
<!-- Contact us section html ends here -->
<!-- Footer section -->
<footer class="bg-black text-white shadow-inner pt-4 pb-8">
<div class="flex p-5 justify-between">
<div class="flex flex-1 flex-col text-center sm:flex-row items-center justify-center space-x-3">
<div>
<a href="#top">
<img class="rounded-full w-24 cursor-pointer hover:scale-110" src="./Assets/Images/logo.jpg" alt="logo" />
</a>
</div>
<div>
<div class="space-y-2 " style="color:#f1f5f9;">
<h3 class="text-2xl font-medium">Adopt a pet</h3>
<div>Give life to an animal in need</div>
</div>
</div>
</div>
<!-- Subscribe column -->
<div class="md:flex flex-col hidden text-center items-center flex-1">
<form id="subscription-form">
<div class="space-y-2" style="color:#f1f4f9">
<h3 class="text-2xl text-center" style="color:#f1f5f9">Subscribe to our newsletter</h3>
<div class="text-md">
Get the latest news and updates delivered straight to your inbox.
</div>
<div class="text-center">
<input class="my-1 mr-2 p-2 rounded-md text-black" type="email" id="email" name="email"
placeholder="Enter your email address" />
<div id="error-message" class="text-red-500 hidden">Email address is required.</div>
<button class="bg-red-500 hover:bg-red-600 text-white py-2 px-4 rounded-md" type="submit"
id="subscribe-button">
Subscribe
</button>
</div>
</div>
</form>
</div>
<!-- Subscribe column end -->
<!-- Social icons -->
<div class="flex-1 flex flex-col items-center justify-center">
<div class="text-2xl font-medium">Follow us on</div>
<div class="flex mt-2 flex-row space-x-3 my-0">
<div class="hover:scale-110 transition-all">
<a href="#" class="w-5 ml-3">
<!-- Facebook icon -->
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" class="fill-white" viewBox="0 0 20 20">
<path
d="M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z" />
</svg>
</a>
</div>
<div class="hover:scale-110 transition-all">
<a href="#" class="w-10 ml-3 mr-3">
<!-- Instagram icon -->
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" class="fill-white" viewBox="0 0 20 20">
<path
d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z" />
</svg>
</a>
</div>
<div class="hover:scale-110 transition-all">
<a href="https://github.com/akshitagupta15june/PetMe" target="_blank" class="w-10 ml-3 mr-3">
<!-- Github icon -->
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" class="fill-white" viewBox="0 0 20 20">
<path
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z" />
</svg>
</a>
</div>
</div>
</div>
<!-- Social icons end -->
<!-- Scroll to top -->
<div class="md:pr-8 hover-effect">
<a href="#top">
<button id="bttbutton" title="backtotop">
<img src="./image.svg" class="w-6 md:w-10 md:object-left sm:w-10" />
</button>
</a>
</div>
<!-- Scroll to top -->
</div>
<div class="pt-5 pb-8 flex flex-col text-center md:hidden mt-8 items-center flex-1">
<div class="space-y-2">
<h3 class="text-2xl text-center">Subscribe to our newsletter</h3>
<div class="text-md">
Get the latest news and updates delivered straight to your inbox.
</div>
<div class="text-center">
<input class="my-1 mr-2 p-2 rounded-md" type="email" id="email" name="email"
placeholder="Enter your email address" style="color: black" />
<button class="bg-red-500 hover:bg-red-600 text-white py-2 px-4 rounded-md" type="submit">
Subscribe
</button>
</div>
</div>
</div>
<div id="copyright">
<p>
Copyright © <span id="date"></span> [PetMe] All Rights Reserved.
</p>
</div>
</footer>
<script>
const date = new Date();
const year = date.getFullYear();
document.getElementById("date").innerHTML = year;
</script>
<script>
// Add this JavaScript code to trigger the animation when meet cards come into view
window.addEventListener("scroll", function () {
const meetCards = document.querySelectorAll(".main-card");
const scrollPosition = window.scrollY + window.innerHeight;
meetCards.forEach((card) => {
const cardOffset = card.offsetTop;
if (scrollPosition > cardOffset) {
card.style.opacity = "1";
card.style.transform = "translateY(0)";
}
});
});
</script>
<script>
// close the menu when a nav link is clicked
const menu_btn = document.querySelector('#nav-button')
const nav_links = document.querySelectorAll('nav ul li')
nav_links.forEach((link) => {
link.addEventListener('click', () => {
const currentWidth = window.innerWidth;
console.log(currentWidth);
if (currentWidth <= 1024) {
menu_btn.click();
}
})
})
// Add this JavaScript code to trigger the animation when About content comes into view
window.addEventListener("scroll", function () {
const aboutSection = document.querySelector("#about");
const aboutContent = aboutSection.querySelector(".fade-in");
const scrollPosition = window.scrollY + window.innerHeight;
const contentOffset = aboutContent.offsetTop;
if (scrollPosition > contentOffset) {
aboutContent.style.opacity = "1";
aboutContent.style.transform = "translateY(0)";
}
});
</script>
<script src="index.js"></script>
<script src="navbar.js"></script>
<script src="light-dark-theme.js"></script>
</body>
</html>