forked from heroku/node-js-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
386 lines (339 loc) · 15.8 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- To ensure proper rendering and touch zooming -->
<title>Parking Maps</title>
<!-- Bootstrap -->
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Ubuntu">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans" >
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css">
<link rel="stylesheet" href="css/social-buttons.css">
<style type="text/css">
body {
padding-top: 60px;
}
body{
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}
.heading, .subheading {
font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
text-align: center;
}
p.lead {
/*Targets only <p> elements whose class attribute has a value of lead*/
font-size: 24px;
line-height: 30px;
}
p {
font-size: 1.2em;
}
.pitch {
}
.thermometer, .order, .social, .statistics {
text-align: center;
}
.statistics {
background-color: #343434;
padding-bottom: 2px;
margin-top: 0;
}
.social {
padding: 2% 0%;
}
.actions, .asset{
margin-top: 1.75%;
margin-bottom: 1.75%;
}
.statistics h3, .statistics p {
color: white;
}
.copy { /* copy = copywrite*/
margin-top: 1.75%;
text-align: justify;
}
.footer {
color: #cccccc;
text-align: center;
}
/* Targets any <p> elements that
sit inside a class=footer, even if
there are other elements nested
between them */
.footer p {
font-size: 11px;
}
.footer a{
color: #ccccff;
}
@media (min-width: 992px) { /* For medium desktops >992px */
.linediv-l {
border-right: 1px white solid;
}
.linediv-r {
border-left: 1px white solid;
}
}
@media (max-width: 768px) { /* For xsmall devices <768px*/
.linediv-l {
border-bottom: 1px white solid;
}
.linediv-r {
border-top: 1px white solid;
}
}
.backers, .raised, .days {
padding-left: 0%;
padding-right: 0%;
}
.statsprogress {
margin: 2% 2% 3%;
}
em {
font-size: 1.2em;
font-weight: normal;
font-style: normal;
font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
}
/* http://support.addthis.com/customer/portal/questions/1136093-share-buttons-in-center-position */
div.addthis_toolbox {
width:180px;
margin: 0 auto;
}
</style>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-47292361-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<!-- Mobile-friendly navbar adapted from example. -->
<!-- http://getbootstrap.com/examples/starter-template/ -->
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<!-- The whole nav bar -->
<div class="container">
<div class="navbar-header"> <!-- in responsive mode you can only see navbar-brand and button -->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<!-- responsive navbar menu button, float right-->
<span class="sr-only">Toggle navigation</span> <!-- hide information used for screen readers -->
<span class="icon-bar"></span> <!-- 3 horizontal button -->
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Bitstarter</a> <!-- Title of the navbar -->
</div>
<div class="collapse navbar-collapse"> <!-- Menu items in normal or brand and button in responsive -->
<ul class="nav navbar-nav"> <!-- navbar menu items, in responsive opens when clicking menu button -->
<li class="active"><a href="#">Home</a></li> <!-- selected menu -->
<li><a href="#about">About</a></li>
<li><a href="/orders">Orders</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div><!-- /.container -->
</div><!-- /.navbar -->
<!-- Rows must be placed within a .container for proper alignment and padding. -->
<!-- blogs.endjin.com/2013/04/tips-for-implementing-responsive-designs-using-bootstrap/ -->
<div class="container">
<!-- Font and paired font of .heading/.subheading and body from Google Fonts -->
<!-- www.google.com/fonts/specimen/Ubuntu -->
<!-- www.google.com/fonts/specimen/Ubuntu#pairings -->
<div class="row heading"> <!-- Row #1 -->
<div class="col-md-12">
<h1>Parking Maps</h1>
</div>
</div>
<div class="row subheading"> <!-- Row #2 -->
<div class="col-md-12">
<!-- Special typography from Bootstrap for lead paragraph. -->
<!-- http://getbootstrap.com/css/#type -->
<p class="lead">Always know where to park.</p>
</div>
</div>
<div class="row pitch"> <!-- Row #3 -->
<div class="col-md-5 col-md-offset-1 asset"> <!-- moves the column one column to the right -->
<!-- 1 offset 5 col 5 col -->
<!-- http://getbootstrap.com/css/#images -->
<!-- <img src="http://placehold.it/440x235" class="img-thumbnail" alt="Video"> -->
<!-- <img src="http://maps.googleapis.com/maps/api/staticmap?center=Benidorm,Spain&zoom=15&size=440x245&maptype=roadmap&sensor=false&" alt="Map"> -->
<img src="img/staticmap1.png" class="img-responsive" alt="Map">
</div>
<!-- We define a new 'actions' div to contain statistics, order, and share buttons.-->
<div class="col-md-5 actions">
<!-- Content should be placed within columns, and only columns may be immediate children of rows. -->
<div class="statistics">
<div class="row"> <!-- #backers, money,days left -->
<div class="col-md-4 backers">
<!-- linediv-l and linediv-r give dividing lines that look
different in horizontal and vertical layouts, illustrating
media queries. -->
<div class="linediv-l">
<h3>1000</h3> <p>backers</p>
</div>
</div>
<div class="col-md-4 raised">
<h3>$6000</h3> <p>of $10,000</p>
</div>
<div class="col-md-4 days">
<div class="linediv-r">
<h3>10</h3> <p>days left</p>
</div>
</div>
</div>
<div class="row"> <!-- progress bar -->
<div class="col-md-10 col-md-offset-1">
<!-- http://getbootstrap.com/components/#progress-stacked -->
<div class="progress statsprogress">
<div class="progress-bar progress-bar-success" style="width: 60%">
<span class="sr-only">60% Complete (success)</span>
</div>
<div class="progress-bar progress-bar-warning" style="width: 40%">
<span class="sr-only">40% Complete (warning)</span>
</div>
</div>
</div>
</div>
<div class="row"> <!-- preorder button -->
<!-- http://getbootstrap.com/css/#buttons-options -->
<div class="col-md-12 order">
<a class="coinbase-button" data-code="33817ef301e8a8db3bbaf6aa954ccdf7" data-button-style="custom_small" href="https://coinbase.com/checkouts/33817ef301e8a8db3bbaf6aa954ccdf7">Donate Bitcoins</a><script src="https://coinbase.com/assets/button.js" type="text/javascript"></script>
</div>
</div>
<div class="row"> <!-- Social buttons -->
<!-- http://noizwaves.github.io/bootstrap-social-buttons/ -->
<div class="col-md-12 social" id="about">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-52dbfe5b65dc1f4f"></script>
<!-- AddThis Button END -->
</div>
</div>
</div> <!-- ./statistics -->
</div> <!-- /col .actions -->
</div> <!-- ./row pitch -->
<!-- Beyond this part the marketing copy begins. -->
<!-- https://developer.mozilla.org/en-US/docs/Web/CSS/text-align -->
<!-- http://getbootstrap.com/css/#images -->
<!-- http://placehold.it -->
<div class="row"> <!-- Row #4 -->
<div class="col-md-5 col-md-offset-1 asset">
<!-- 1 offset 5 col 5 col -->
<!-- <img src="http://placehold.it/440x235" class="img-thumbnail" alt="Image"> -->
<!-- <img src="http://maps.googleapis.com/maps/api/staticmap?center=38.538952,-0.116129&zoom=16&size=440x235&maptype=roadmap&sensor=false&" alt="Map"> -->
<img src="img/staticmap2.png" class="img-responsive" alt="Map2">
</div>
<div class="col-md-5 copy">
<p>Tired of looking for somewhere to park your car? Then <em>Parking Maps</em> is what you need.</p>
<p>Find where you can park: free zone, pay zone or private parking and where you can't.</p>
<p>The main advange of <em>Parking Maps</em> is to save time. Avoid going into streets where you can't park or areas where you have to pay for parking and you don't wan't to.</p>
<p> And with time, you save on petrol and on CO<sub>2</sub> emissions. You help make Earth a greener place. We all win.</p>
</div>
</div>
<div class="row"> <!-- Row #5 -->
<div class="col-md-5 col-md-offset-1 copy">
<p>Access <em>Parking Maps</em> with your computer or mobile device.</p>
<p>Use your mobile to get you position via gps and inmediately see where you can park and what type of parking it is.</p>
<p>With color styles you can see where you can park and what type it is.</p>
</div>
<div class="col-md-5 asset">
<!-- <img src="http://placehold.it/440x235" class="img-thumbnail" alt="Image"> -->
<!-- <img src="http://maps.googleapis.com/maps/api/staticmap?center=38.535889,-0.104756&zoom=17&size=440x235&maptype=roadmap&sensor=false&" alt="Map"> -->
<img src="img/staticmap3.png" class="img-responsive" alt="Map3">
</div>
</div>
<!-- For the FAQ, we introduce a little bit of JS, using the accordion. -->
<!-- This brings in jquery.js and bootstrap.js as dependencies. -->
<!-- http://getbootstrap.com/javascript/#collapse -->
<div class="row"> <!-- Row #6 -->
<div class="col-md-10 col-md-offset-1">
<h3>FAQ</h3>
<div class="panel-group" id="accordion"> <!-- panel-group -->
<div class="panel panel-default"> <!-- #1 accordion -->
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
What is Parking Maps for?
</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse">
<div class="panel-body">
A map layer to know where you can park, free or paying zones.
</div>
</div>
</div> <!-- ./#1 accordion -->
<div class="panel panel-default"> <!-- #2 accordion -->
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
Is it mobile friendly?
</a>
</h4>
</div>
<div id="collapseTwo" class="panel-collapse collapse">
<div class="panel-body">
Yes. It is design to work in the desktop and in mobile devices.
</div>
</div>
</div> <!-- ./#2 accordion -->
<div class="panel panel-default"> <!-- #2 accordion -->
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseThree">
Will I be able to know the different types of parking spaces?
</a>
</h4>
</div>
<div id="collapseThree" class="panel-collapse collapse">
<div class="panel-body">
Yes. Each kind of parking space will have a different color.
</div>
</div>
</div> <!-- ./#2 accordion -->
</div> <!-- ./panel-group -->
</div> <!-- ./col -->
</div> <!-- Row #6 -->
<div class="row footer"> <!-- Row #7 -->
<div class="col-md-12">
<p>
This work is licensed under the <a href="http://creativecommons.org/licenses/by-sa/3.0/">CC By-SA 3.0</a> , without all the cruft that would otherwise be put at the bottom of the page.
</p>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-47292361-1', 'persep-bitstarter-mooc.herokuapp.com');
ga('send', 'pageview');
</script>
</body>
</html>