This repository has been archived by the owner on Jan 1, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
313 lines (268 loc) · 12.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta property="title" content="Helter-Shelter"/>
<meta name="author" content="soundwanders"/>
<meta name="description" content=
"Helter-Shelter is a site focusing on raising awareness and supporting
animal shelters and rescue organizations throughout the state of New Hampshire." />
<meta name="keywords" content="animal, shelter, NH, new-hampshire, animals, pets, adoption, animal rescue, dogs, cats"/>
<meta name="theme-color" content="#d2d2ff">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=swap" rel="stylesheet">
<link rel="icon" type="image/png" href="media/icons/favicon.png"/>
<link rel="icon" type="image/ico" href="media/icons/android-chrome-192x192.png"/>
<link rel="icon" type="image/ico" href="media/icons/apple-touch-icon.png"/>
<link rel="icon" type="image/ico" href="media/icons/favicon.ico"/>
<link rel="stylesheet" href="index.css" type="text/css"/>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin=""/>
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin="">
</script>
</head>
<header>
<div class="top-nav">
<ul class="navbar">
<li class="navItem" id="navLogo">
<img id="logoIcon" src="media/icons/navLogo.svg" draggable="false" alt="Helter-Shelter Logo" aria-hidden="true"/>
</li>
<li class="navItem" id="contactNav"><a href="#contact">Contact</a></li>
<li class="navItem" id="shelterNav"><a href="#shelterMap">Shelter Map</a></li>
<li class="navItem" id="aboutNav"><a href="#about">About</a></li>
<li class="navItem" id="homeNav"><a href="#navLogo">Home</a></li>
</ul>
</div>
</header>
<body>
<div class="bannerContainer">
<img class="bannerImage" src="media/banner.png" alt="Banner Image" />
</div>
<div class="cardWrapper" id="about">
<div class="cardContainer">
<div class="contentCard">
<div class="cards-front" id="adopt">
<img class="cardIcons"
src="media/cards/baby.svg"
draggable="false"
alt="Baby Pet Image"
aria-hidden="true"
/>
</div>
<div class="cards-back">
<h2 class="cardTitle" id="furballs">Plenty of Furballs</h2>
<p class="cardText" id="friends">
About 6 million companion animals enter animal shelters nationwide every year.
Of those, approximately 3 million are dogs and 3 million are cats. <br/><br/>
Please reconsider purchasing your pets from a retail store or breeder.
</p>
</div>
</div>
<div class="contentCard">
<div class="cards-front" id="medicine">
<img class="cardIcons"
src="media/cards/medicine.svg"
draggable="false"
alt="Medicine Image"
aria-hidden="true"
/>
</div>
<div class="cards-back">
<h2 class="cardTitle" id="happy">Happy & Healthy</h2>
<p class="cardText" id="vax">
Many shelters provide a full health screen that includes vaccinations, parasite treatment,
and spay/neuter surgery, all covered in the adoption fee. <br/><br/>
If services are not provided, a free veterinary visit often is included in the adoption fee.
</p>
</div>
</div>
<div class="contentCard">
<div class="cards-front" id="home">
<img class="cardIcons"
src="media/cards/home.svg"
draggable="false"
alt="Dog House Image"
aria-hidden="true"
/>
</div>
<div class="cards-back">
<h2 class="cardTitle" id="leftBehind">No Pet Left Behind</h2>
<p class="cardText" id="shelters">
Organizations like animal shelters, humane societies, and rescue leagues will
house and care for owner-surrendered, abandoned, stray and injured animals. <br/><br/>
Many organizations also rehabilitate abused animals to help them recover and find a loving home.
</p>
</div>
</div>
<div class="contentCard">
<div class="cards-front" id="map">
<img class="cardIcons"
src="media/cards/map.svg"
draggable="false"
alt="Map Image"
aria-hidden="true"
/>
</div>
<div class="cards-back">
<h2 class="cardTitle" id="helterCard">Helter Shelter</h2>
<p class="cardText" id="helterMap">
The Helter-Shelter Map below contains pinned locations throughout New Hampshire.
You can click on each pin to find the name and location of each organization. <br/><br/>
Can you find your local animal shelter on the map?
</p>
</div>
</div>
</div>
</div>
<div class="mapTitleContainer">
<h2 class="mapTitle" id="shelterMap">Helter-Shelter Map</h2>
</div>
<div class="mapContainer">
<div id="map-display"></div>
</div>
<div class="resetView">
<button id="resetButton" title="Click to reset map to initial view" aria-label="Click to reset the map to the initial state">
Reset Map View
</button>
</div>
<button class="collapseTableButton" title="Click to expand data table" aria-label="Click to expand the shelter map data table"></button>
<div class="dataTable">
<table>
<!-- shelter data table populated with JavaScript -->
</table>
</div>
<div class="contactContainer">
<img src="media/paws-left.png" class="paws left" draggable="false" alt="Paws Decorative Image" style="float: left;" aria-hidden="true">
<img src="media/paws-right.png" class="paws right" draggable="false" alt="Paws Decorative Image" style="float: right;" aria-hidden="true">
<div class="contactHeader" id="contact">
<h2>Contact Us!</h2>
</div>
<form id="contactForm">
<label for="name">Name</label>
<input type="text" class="contactInput" id="name" name="name" placeholder="Name..."/>
<label for="email">E-Mail</label>
<input type="text" class="contactInput" id="email" name="email" placeholder="E-Mail..."/>
<label for="Subject">Subject</label>
<textarea class="contactInput" id="subject" name="subject" placeholder="Subject..."></textarea>
<label for="Message">Message</label>
<textarea class="contactInput" id="message" name="message" placeholder="Message..."></textarea>
<label for="Submit">Submit</label>
<input type="submit" id="submit" value="Submit"/>
</form>
</div>
<div class="carouselContainer">
<ul class="gallery">
<li class="carousel">
<img class="carouselImage" draggable="false" aria-hidden="true" src="media/carousel/pink-dog.png" alt="Pet with Owner Photo 1" />
</li>
<li class="carousel">
<img class="carouselImage" draggable="false" aria-hidden="true" src="media/carousel/blue-dog.png" alt="Pet with Owner Photo 2" />
</li>
<li class="carousel">
<img class="carouselImage" draggable="false" aria-hidden="true" src="media/carousel/white-dog.png" alt="Pet with Owner Photo 3" />
</li>
<li class="carousel">
<img class="carouselImage" draggable="false" aria-hidden="true" src="media/carousel/yellow-dog.png" alt="Pet with Owner Photo 4" />
</li>
<li class="carousel">
<img class="carouselImage" draggable="false" aria-hidden="true" src="media/carousel/pink-dog-2.png" alt="Pet with Owner Photo 5" />
</li>
<li class="carousel">
<img class="carouselImage" draggable="false" aria-hidden="true" src="media/carousel/blue-dog-2.png" alt="Pet with Owner Photo 6" />
</li>
<li class="carousel">
<img class="carouselImage" draggable="false" aria-hidden="true" src="media/carousel/white-dog-2.png"/>
</li>
<li class="carousel">
<img class="carouselImage" draggable="false" aria-hidden="true" src="media/carousel/yellow-dog-2.png"/>
</li>
</ul>
</div>
<!-- Client side data validation for contact form -->
<script src="//cdnjs.cloudflare.com/ajax/libs/validate.js/0.13.1/validate.min.js"></script>
<script src="dataValidation.js" type="text/javascript"></script>
<!-- Load Leaflet map and data table -->
<script src="map.js" type="text/javascript"></script>
<script src="main.js" type="text/javascript"></script>
</body>
<footer>
<div class="helter-footer">
<ul class="foot">
<li class="footerLink" id="shelter"><a href="#navLogo" aria-label="Return to top of Home page Anchor Link">Home</a></li>
<li class="footerLink" id="about"><a href="#about" aria-label="About section Anchor Link">About</a></li>
<li class="footerLink" id="contact"><a href="#contact" aria-label="Contact section Anchor Link">Contact</a></li>
<li class="footerLink" id="resources"><a href="#resources" aria-label="Resources demo link, inactive!">Resources</a></li>
<li class="footerLink" id="store"><a href="#sitemap" aria-label="Sitemap demo link, inactive!">Sitemap</a></li>
</ul>
</div>
<div class="helter-footer row2">
<ul class="foot">
<li class="footerLink" id="faq">
<a href="#faq" aria-label="FAQ demo link, inactive!">FAQ</a>
</li>
<li class="footerLink" id="sponsors">
<a href="#sponsors" aria-label="Sponsors demo link, inactive!">Partners</a>
</li>
<li class="footerLink" id="terms">
<a href="#user-terms" aria-label="User Terms demo link, inactive!">User Terms</a>
</li>
<li class="footerLink" id="privacy">
<a href="#privacy-policy" aria-label="Privacy Policy demo link, inactive!">Privacy Policy</a>
</li>
</ul>
</div>
<ul class="footerLogos">
<li class="footerLink">
<a href="https://www.facebook.com" link="noopener noreferral">
<img class="icons"
src="media/icons/facebook.svg"
draggable="false"
alt="Facebook Logo Link"
aria-label="Link to Facebook"
/>
</a>
</li>
<li class="footerLink">
<a href="https://github.com" link="noopener noreferral">
<img class="icons"
src="media/icons/github.svg"
id="github"
style="background-color: #fff; border-radius: 8px;"
alt="Github Logo Link"
aria-label="Link to Github"
/>
</a>
</li>
<li class="footerLink">
<a href="https://www.instagram.com" link="noopener noreferral">
<img class="icons"
src="media/icons/instagram.svg"
draggable="false"
alt="Instagram Logo Link"
aria-label="Link to Instagram"
/>
</a>
</li>
<li class="footerLink">
<a href="https://twitter.com" link="noopener noreferral">
<img class="icons"
src="media/icons/twitter.svg"
draggable="false"
alt="Twitter Logo Link"
aria-label="Link to Twitter"
/>
</a>
</li>
</ul>
<ul>
<li class="copyright">
© <script> ; document.write(new Date().getFullYear()) </script> All Rights Reserved
</li>
</ul>
</footer>
<noscript>Please enable JavaScript to view the full Helter-Shelter website. Thank you!</noscript>
</html>