This repository was archived by the owner on Aug 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
316 lines (295 loc) · 15.6 KB
/
index.html
File metadata and controls
316 lines (295 loc) · 15.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<!DOCTYPE html>
<html lang="en">
<head>
<!--this is a comment line-->
<title>Creative Project</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
<link rel = "icon" href = "images/pedestrian_icon.jpg">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60">
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<img class="navbar-brand" href="#myPage" src="images/pedestrain_transparent.png"></img>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li><a href="#about">ABOUT</a></li>
<li><a href="#stats">STATS</a></li>
<li><a href="#safety">STAY SAFE</a></li>
<!-- <li><a href="#pricing">PRICING</a></li> -->
<li><a href="#organizations">ORGANIZATIONS</a></li>
</ul>
</div>
</div>
</nav>
<div class="jumbotron">
<h1>Pedestrian Safety</h1>
<p>look both ways when crossing streets</p>
<!--
<form>
<div class="input-group">
<input type="email" class="form-control" size="50" placeholder="Email Address" required>
<div class="input-group-btn">
<button type="button" class="btn btn-danger">Subscribe</button>
</div>
</div>
</form>
-->
</div>
<!-- Container (About Section) -->
<div id="about" class="container-fluid">
<div class="row">
<div class="col-sm-8">
<h2>About Pedestrian safety</h2><br>
<h4>Across the country thousands of pedestrians die each year in crashes. Between the years 2009 and 2017, there was an increase of about 20% in the number of crashes involving pedestrians. In the crashes where the pedestrian was at fault, 40% of them were due to the pedestrian not using the crosswalk. In the last 5 years, Arizona has been one of the top ten states for pedestrian fatalities based on population.</h4>
<br><a href="#organizations" class="button">Learn More</a>
</div>
<div class="col-sm-4">
<span class="glyphicon glyphicon-signal logo"></span>
</div>
</div>
</div>
<div class="container-fluid bg-grey">
<div class="row">
<div class="col-sm-4">
<span class="glyphicon glyphicon-globe logo slideanim"></span>
</div>
<div class="col-sm-8">
<h2>Global Values</h2><br>
<h4><strong>MISSION:</strong> The mission is to create a place where everybody is safe when they are walking down the street.</h4><br>
<p><strong>VISION:</strong> The vision is that everyone who walks down the street is aware of how they can protect themselves and others around them from from drivers, the drivers will be aware of how they can help keep pedestrians safe, and that there are no accidents involving cars hitting pedestrians or bicyclists.</p>
</div>
</div>
</div>
<!-- Container (Services Section) -->
<div id="stats" class="container-fluid text-center">
<h2>STATS</h2>
<h4>Crash Statistics</h4>
<br>
<div class="row slideanim">
<div class="col-sm-6">
<span class="glyphicon glyphicon-user logo-small"></span>
<h4>DEATHS</h4>
<p>Pedestrians make up 17% of all deaths</p>
<p>which is about 7,000 deaths</p>
</div>
<div class="col-sm-6">
<span class="glyphicon glyphicon-time logo-small"></span>
<h4>TIME FRAME</h4>
<p>a pedestrian is killed about</p>
<p>every 85 minutes.</p>
</div>
</div>
<br><br>
<div class="row slideanim">
<div class="col-sm-6">
<span class="glyphicon glyphicon-glass logo-small"></span>
<h4>DRINKING</h4>
<p>4% of crashes are because the</p>
<p>the driver was drunk</p>
</div>
<div class="col-sm-6">
<span class="glyphicon glyphicon-road logo-small"></span>
<h4>CROSSWALKS</h4>
<p>40% of crashes are because pedestrians</p>
<p>don't use the crosswalk</p>
</div>
</div>
</div>
<!-- Container (Portfolio Section) -->
<div id="safety" class="container-fluid text-center bg-grey">
<h2>STAY SAFE</h2><br>
<h4>How to protect you and those around you</h4>
<div class="row text-center slideanim">
<div class="col-sm-4">
<div class="thumbnail">
<h4><strong>distractions</strong></h4>
<span class="glyphicon glyphicon-phone logo-large"></span>
<p>stay alert at all times, don't get distracted by devices that take your eyes off the road.</p>
</div>
</div>
<div class="col-sm-4">
<div class="thumbnail">
<h4><strong>Eye Contact</strong></h4>
<span class="glyphicon glyphicon-eye-open logo-large"></span>
<p>Never assume drivers know your there. Make eye contact to make sure you are seen.</p>
</div>
</div>
<div class="col-sm-4">
<div class="thumbnail">
<h4><strong>Use Crosswalks</strong></h4>
<span class="glyphicon glyphicon-road logo-large"></span>
<p>Cross streets at designated crosswalks or intersections whenever possible.</p>
</div>
</div>
</div><br>
<h2>Survivors Stories</h2>
<div id="myCarousel" class="carousel slide text-center" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<h4>Kylie was walking outside a shopping center with her grandmother they were both hit by a car. The Crash left her with brain injury, internal bleeding, and broken bones.<br><span>Kylie Chen, Crash Survivor</span></h4>
</div>
<div class="item">
<h4>"For them to just leave me out there, it breaks my heart. To just leave someone to die like an animal out in the street. I'm a human being."<br><span>Thomas Farias, Hit and Run Survivor</span></h4>
</div>
<div class="item">
<h4>“(Aliyah) just wants to make sure that everyone is aware of the dangers of driving under the influence, whether it be drugs or alcohol,”<br><span>Aliyah Ramirez-Bernard, Crash Survivor</span></h4>
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
<!-- Container (Pricing Section)
<div id="pricing" class="container-fluid">
<div class="text-center">
<h2>Pricing</h2>
<h4>Choose a payment plan that works for you</h4>
</div>
<div class="row slideanim">
<div class="col-sm-4 col-xs-12">
<div class="panel panel-default text-center">
<div class="panel-heading">
<h1>Basic</h1>
</div>
<div class="panel-body">
<p><strong>20</strong> Lorem</p>
<p><strong>15</strong> Ipsum</p>
<p><strong>5</strong> Dolor</p>
<p><strong>2</strong> Sit</p>
<p><strong>Endless</strong> Amet</p>
</div>
<div class="panel-footer">
<h3>$19</h3>
<h4>per month</h4>
<button class="btn btn-lg">Sign Up</button>
</div>
</div>
</div>
<div class="col-sm-4 col-xs-12">
<div class="panel panel-default text-center">
<div class="panel-heading">
<h1>Pro</h1>
</div>
<div class="panel-body">
<p><strong>50</strong> Lorem</p>
<p><strong>25</strong> Ipsum</p>
<p><strong>10</strong> Dolor</p>
<p><strong>5</strong> Sit</p>
<p><strong>Endless</strong> Amet</p>
</div>
<div class="panel-footer">
<h3>$29</h3>
<h4>per month</h4>
<button class="btn btn-lg">Sign Up</button>
</div>
</div>
</div>
<div class="col-sm-4 col-xs-12">
<div class="panel panel-default text-center">
<div class="panel-heading">
<h1>Premium</h1>
</div>
<div class="panel-body">
<p><strong>50</strong> Ipsum</p>
<p><strong>100</strong> Lorem</p>
<p><strong>10</strong> Sit</p>
<p><strong>25</strong> Dolor</p>
<p><strong>Endless</strong> Amet</p>
</div>
<div class="panel-footer">
<h3>$49</h3>
<h4>per month</h4>
<button class="btn btn-lg">Sign Up</button>
</div>
</div>
</div>
</div>
</div>
-->
<!-- Container (Contact Section) -->
<div id="organizations" class="container-fluid bg-grey">
<h2 class="text-center">organizations</h2>
<div class="row">
<div class="col-sm-3">
</div>
<div class="col-sm-3">
<p>These organizations work hard to help keep people safe when walking down the streets. For more information about what you can do to help keep yourself and others around you safe, please check out these organizations.</p>
</div>
<div class="col-sm-3 slideanim">
<p><span class="glyphicon glyphicon-road"></span><a href="http://www.azbikeped.org" title="Visit AZ Bike Ped">AZ Bicycle & Pedestrian Safety</a></p>
<p><span class="glyphicon glyphicon-road"></span><a href="http://www.pedbikesafe.org/pedsafe/countermeasures_detail.cfm?CM_NUM=61" title="Visit Pedsafe">pedsafe</a></p>
<p><span class="glyphicon glyphicon-road"></span><a href="https://www.safestates.org/page/PedInjuryApproaches" title="Visit Safe States">Safe States</a></p>
</div>
</div>
</div>
<!-- Image of location/map -->
<!--
<img src="images/Logos/DIY_Logo_Cropped.png" class="w3-image w3-greyscale-min" style="width:100%">
-->
<footer class="container-fluid text-center">
<a href="#myPage" title="To Top">
<span class="glyphicon glyphicon-chevron-up"></span>
</a>
<p>Bootstrap Theme Made By <a href="https://www.w3schools.com" title="Visit w3schools">www.w3schools.com</a></p>
</footer>
<script>
$(document).ready(function(){
// Add smooth scrolling to all links in navbar + footer link
$(".navbar a, footer a[href='#myPage'], .button").on('click', function(event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Prevent default anchor click behavior
event.preventDefault();
// Store hash
var hash = this.hash;
// Using jQuery's animate() method to add smooth page scroll
// The optional number (900) specifies the number of milliseconds it takes to scroll to the specified area
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 900, function(){
// Add hash (#) to URL when done scrolling (default click behavior)
window.location.hash = hash;
});
} // End if
});
$(window).scroll(function() {
$(".slideanim").each(function(){
var pos = $(this).offset().top;
var winTop = $(window).scrollTop();
if (pos < winTop + 600) {
$(this).addClass("slide");
}
});
});
})
</script>
</body>
</html>