forked from akshitagupta15june/PetMe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
donate.html
290 lines (277 loc) · 15.6 KB
/
donate.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
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<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="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<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="/Assets/Images/logo.ico">
<script defer src="https://unpkg.com/alpinejs@3.2.4/dist/cdn.min.js"></script>
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
<title>Donate animals: PetMe</title>
<style>
.donate-section form .relative:has(input:required) label::after {
content: '*';
color: red;
margin-left: 0.2rem;
}
#submit_button{
display: flex;
margin-left: auto;
margin-right: auto;
color: white;
background-color: #4F46E5;
border: none;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 2rem;
padding-right: 2rem;
outline: none;
border-radius: 0.25rem;
font-size: 1.125rem;
}
#submit_button:hover {
background-color: #4338C6;
}
</style>
</head>
<body>
<header id="header"
class=" text-gray-400 bg-header-offwhite body-font flex flex-row items-center justify-center lg:justify-around">
<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 lg:text-lg space-y-4 lg:space-y-0 lg:space-x-5 lg:static lg:w-auto flex flex-col rounded-lg items-start lg:items-center lg:bg-transparent lg:border-0 lg:flex-row justify-between">
<li>
<a href="./index.html" class="text-custom-heading font-bold hover:underline underline-offset-4 turn-red-hover navbar-item">Home</a>
</li>
<li>
<a href="#adopt" class="p-3 text-custom-heading font-bold hover:underline underline-offset-4 turn-red-hover navbar-item">Meet Pets</a>
</li>
<li>
<a href="#About" class="text-custom-heading font-bold hover:underline underline-offset-4 turn-red-hover navbar-item">About Us</a>
</li>
<li>
<a href="./news.html" class="text-custom-heading font-bold hover:underline underline-offset-4 turn-red-hover navbar-item">Pet News</a>
</li>
<li>
<a href="./blog.html" class="text-custom-heading font-bold hover:underline underline-offset-4 turn-red-hover navbar-item">Blogs</a>
</li>
<li>
<a href="./donate.html" class="text-custom-heading font-bold hover:underline 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 hover:underline 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-base px-2 focus:outline-none text_4 font-bold rounded text-base mt-4 md:mt-0">
Contact Us
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-4 h-4 ml-1" viewBox="0 0 24 24">
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</button>
</a>
</li>
<li>
<a id="theme-toggle">
<img src="Assets/Images/sun.svg" width="50px" id="switch"/>
</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>
</ul>
</div>
</nav>
</header>
<section class="text-gray-600 body-font relative bg-[url('Assets/Images/pet-don.jpg')] bg-center bg-no-repeat
bg-cover donate-section">
<div class="container px-5 py-24 mx-auto card backdrop-blur-sm">
<div class="flex flex-col text-center w-full mb-12">
<h1 class="sm:text-3xl text-2xl font-medium title-font mb-4 text-gray-900">
Donate Animals
</h1>
<p class="sm:text-3xl text-2xl font-medium title-font mb-4 text-gray-90">
Fill up the form below and donate your pets.
</p>
</div>
<form id="survey-form" action="https://formspree.io/f/xayaokzl" method="POST">
<div class="lg:w-1/2 md:w-2/3 mx-auto">
<div class="flex flex-wrap -m-2">
<div class="p-2 w-1/2">
<div class="relative">
<label for="name" class="leading-7 text-sm text-gray-900">Full Name</label>
<input type="text" id="name" name="name" placeholder="John Doe"
class="w-full bg-gray-100 bg-opacity-50 rounded border border-gray-300 focus:border-indigo-500 focus:bg-white focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out"
required />
</div>
</div>
<div class="p-2 w-1/2">
<div class="relative">
<label for="email" class="leading-7 text-sm text-gray-900">Email</label>
<input type="email" id="email" name="email" placeholder="youremail@gmail.com"
class="w-full bg-gray-100 bg-opacity-50 rounded border border-gray-300 focus:border-indigo-500 focus:bg-white focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out"
required />
</div>
</div>
<div class="p-2 w-full">
<div class="relative">
<label for="address" class="leading-7 text-sm text-gray-900">Address</label>
<input type="text" id="address" name="address" placeholder="Your Address"
class="w-full bg-gray-100 bg-opacity-50 rounded border border-gray-300 focus:border-indigo-500 focus:bg-white focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out"
required />
</div>
</div>
<div class="p-2 w-1/2">
<div class="relative">
<label for="city" class="leading-7 text-sm text-gray-900">City</label>
<input type="text" id="city" name="city" placeholder="Agra"
class="w-full bg-gray-100 bg-opacity-50 rounded border border-gray-300 focus:border-indigo-500 focus:bg-white focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out"
required />
</div>
</div>
<div class="p-2 w-1/2">
<div class="relative">
<label for="state" class="leading-7 text-sm text-gray-900">State</label>
<input type="text" id="state" name="state" placeholder="Uttar Pradesh"
class="w-full bg-gray-100 bg-opacity-50 rounded border border-gray-300 focus:border-indigo-500 focus:bg-white focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out"
required />
</div>
</div>
<div class="p-2 w-1/2">
<div class="relative">
<label for="country" class="leading-7 text-sm text-gray-900">Country</label>
<input type="text" id="country" name="country" placeholder="India"
class="w-full bg-gray-100 bg-opacity-50 rounded border border-gray-300 focus:border-indigo-500 focus:bg-white focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out"
required />
</div>
</div>
<div class="p-2 w-1/2">
<div class="relative">
<label for="number" class="leading-7 text-sm text-gray-900">Contact Number</label>
<input type="text" id="number" name="number" placeholder="+91 0123456789"
class="w-full bg-gray-100 bg-opacity-50 rounded border border-gray-300 focus:border-indigo-500 focus:bg-white focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out"
oninput="this.value = this.value.replace(/[^0-9\+\.]/g, '').replace(/(\..*)\./g, '$1');" required />
</div>
</div>
<div class="p-2 w-1/2">
<div class="relative">
<label for="pet-type" class="leading-7 text-sm text-gray-900">Pet Type</label>
<input type="text" id="pet-type" name="pet-type" placeholder="Dog"
class="w-full bg-gray-100 bg-opacity-50 rounded border border-gray-300 focus:border-indigo-500 focus:bg-white focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out"
required />
</div>
</div>
<div class="p-2 w-1/2">
<div class="relative">
<label for="name" class="leading-7 text-sm text-gray-900">Pet Name</label>
<input type="text" id="name" name="name" placeholder="Charlie"
class="w-full bg-gray-100 bg-opacity-50 rounded border border-gray-300 focus:border-indigo-500 focus:bg-white focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out" />
</div>
</div>
<div class="p-2 w-1/2">
<div class="relative">
<label for="pet-color" class="leading-7 text-sm text-gray-900">Pet Color</label>
<input type="text" id="pet-color" name="pet-color" placeholder="Yellow"
class="w-full bg-gray-100 bg-opacity-50 rounded border border-gray-300 focus:border-indigo-500 focus:bg-white focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out"
required />
</div>
</div>
<div class="p-2 w-1/2">
<div class="relative">
<label for="color" class="leading-7 text-sm text-gray-900">Pet Breed</label>
<input type="text" id="breed" name="color" placeholder="German Shepherd"
class="w-full bg-gray-100 bg-opacity-50 rounded border border-gray-300 focus:border-indigo-500 focus:bg-white focus:ring-2 focus:ring-indigo-200 text-base outline-none text-gray-700 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out"
required />
</div>
</div>
<div class="p-2 w-full">
<div class="relative">
<label for="message" class="leading-7 text-sm text-gray-900">Your Pet's Image</label>
<div class="max-w-3xl">
<label
class="flex justify-center w-full h-32 px-4 transition bg-white border-2 border-gray-300 border-dashed rounded-md appearance-none cursor-pointer hover:border-gray-400 focus:outline-none">
<span class="flex items-center space-x-2">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 text-gray-900" fill="none"
viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" />
</svg>
<span class="font-medium text-gray-600">
Drop files to Attach, or
<span class="text-blue-600 underline">Browse</span>
</span>
</span>
<input type="file" name="file_upload" class="hidden" />
</label>
</div>
</div>
</div>
<div class="p-2 w-full">
<input type="checkbox" name="check" id="check" required>
<span class="p-1 font-medium text-gray-900">
I've read and agree to the Terms and Conditions of PetMe.
</span>
</div>
<div class="p-4 w-full">
<button type="submit"
id="submit_button">
Submit
</button>
</div>
</div>
</div>
</div>
</form>
</section>
<script src="navbar.js"></script>
<script src="light-dark-theme.js"></script>
</body>
</html>