-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·424 lines (396 loc) · 20.4 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
<!DOCTYPE HTML>
<html>
<head>
<title>Bengaluru Plog Run</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="assets/css/style.css">
<link href="https://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet">
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-125977782-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-125977782-1');
</script>
</head>
<body class="is-preload landing">
<div id="page-wrapper">
<!-- Header -->
<header id="header">
<h1 id="logo"><a href=""><img id="header-logo" src="images/logo.svg" /></a></h1>
<nav id="nav" style="font-size:1em; font-weight:bold;">
<ul>
<li><a style="font-size:1.5m;" href="index.html">Home</a></li>
<li><a href="about/" class="scrolly">About Us</a></li>
<!--<li><a href="ambassadors/">Ambassadors</a></li>-->
<li><a href="community/">Partners</a></li>
<!--<li><a href="https://discourse.plog.run/" target="_blank">Forum</a></li>-->
</ul>
</nav>
</header>
<!-- Banner -->
<section id="banner">
<div class="content">
<header>
<center><h2 style="display:inline; font-weight:bold; vertical-align:middle;">#IAmLessPlastic</h2><img id="header-logo" style="vertical-align:middle;" height="256px" width="256px" src="images/go-native-bpr-logo.png" /><h2 style="display:inline; font-weight:bold; vertical-align:middle;"> #GoNative </h2></center>
<center><h2 style="font-size:2.8em; font-family: 'Pacifico', cursive;">October 2<sup>nd</sup> 2018</h2></center>
<center><h2 style="font-size:2em; font-family: 'Pacifico', cursive;">7:30 <span style="font-size:0.7em;">AM</span> onwards</h2></center>
<center><h3>Supported By</h3><img src="images/bbmp-logo.jpg" /></center>
<br />
</header>
</div>
<a href="#one" class="goto-next scrolly">Next</a>
</section>
<!-- One -->
<section id="one" class="spotlight style1 bottom">
<span class="image fit main"><img src="images/header-2.jpg" alt="" /></span>
<div class="content">
<div class="container">
<div class="row">
<div class="col-6 col-12-medium">
<header>
<h2 id="tLoc" style="color:#FF591F; font-weight:bold; font-size:5em; text-align:center;">0</h2>
<p style="text-align:center; font-weight:bold;">Localities</p>
</header>
</div>
<div class="col-6 col-12-medium">
<header>
<h2 id="tPlog" style="color:#FF591F; font-weight:bold; font-size:5em; text-align:center;">0</h2>
<p style="text-align:center; font-weight:bold;">Ploggers</p>
</header>
</div>
<div class="col-4 col-12-medium" style="display:none;">
<header>
<div id="dRemContainer">
<h2 id="dRem" style="color:#FF591F; font-weight:bold; font-size:3em; text-align:center;">0</h2>
<p style="text-align:center; font-weight:bold;">Days remaining</p>
</div>
<div id="dateContainer" style="display:none;">
<h2 style="color:#FF591F; font-weight:bold; font-size:3em; text-align:center;">October 2<sup>nd</sup></h2>
<p style="text-align:center; font-weight:bold;">Mark your calendar</p>
</div>
</header>
</div>
</div>
</div>
</div>
<a href="#two" class="goto-next scrolly">Next</a>
</section>
<!-- One Backup -->
<!-- <section id="one" class="spotlight style1 bottom">
<span class="image fit main"><img src="images/header-2.jpg" alt="" /></span>
<div class="content">
<div class="container">
<div class="row">
<div class="col-4 col-12-medium">
<header>
<h2>What Is It About?</h2>
<p>Bengaluru Plog Run is an initiative by Go Native that calls out to all citizens of Bengaluru.</p>
</header>
</div>
<div class="col-4 col-12-medium">
<p>The increasing amount of plastic use and improper plastic waste disposal has steadily been choking the environment and Bengaluru, as a city, has been making constant efforts to actively bring about a change.</p>
</div>
<div class="col-4 col-12-medium">
<p>But, the <span style="font-weight:bold;">STIGMA</span> attached to the act of picking up garbage has been enforced for centuries and is now fixated heavily within us - making us think twice before we pick up a piece of plastic that has been littered all over, sometimes even by us.</p>
</div>
</div>
</div>
</div>
<a href="#two" class="goto-next scrolly">Next</a>
</section> -->
<!-- Two -->
<section id="two" class="spotlight style1 bottom">
<span class="image fit main"><img src="images/header-3.jpg" alt="" /></span>
<div class="content">
<div class="container">
<center><h2 style="font-weight:bold;">How do you Plog?</h2></center>
<div class="row">
<!--<div class="col-4 col-12-medium">
<header>
<h2>What are we going to do about it? </h2>
<p>Encourage local communities to walk together for change.</p>
</header>
<!--<img src="images/plog-infographic.png" />-->
<!--</div>
<div class="col-4 col-12-medium">
<p>Bengaluru Plog Run will mark localities in the city of Bengaluru and work towards bringing a change from within the local communities. Within a marked out radius of 3-5 km of your neighbourhood, we encourage you to sign up, walk with us on the 2nd of October and</p>
</div>
<div class="col-4 col-12-medium">
<p><span style="font-weight:bold;">BREAK THE STIGMA</span> by picking up dry plastic waste that has been littered. All you need to do is - click a button and fill a form and we will provide you with the rest, from a plog run route in your area all the way to kits that will help you pick the plastic.</p>
</div>-->
<div class="col-3 col-12-medium">
<img src="images/plog-infographic-1.png" />
<center><p style="font-weight:bold;">Equip yourself with the right running gear and a bag to drop waste into.</p></center>
</div>
<div class="col-3 col-12-medium">
<img src="images/plog-infographic-2.png" />
<center><p style="font-weight:bold;">Run along a designate route with peers carrying the bag along.</p></center>
</div>
<div class="col-3 col-12-medium">
<img src="images/plog-infographic-3.png" />
<center><p style="font-weight:bold;">Pick plastic waste along the route and drop into the bag; continue running.</p></center>
</div>
<div class="col-3 col-12-medium">
<img src="images/plog-infographic-4.png" />
<center><p style="font-weight:bold;">At the end of the route, accumulate all collected waste for segregation.</p></center>
</div>
</div>
</div>
</div>
<a href="#three" class="goto-next scrolly">Next</a>
</section>
<!-- Three -->
<section id="three" class="spotlight style1 bottom">
<span class="image fit main"><img src="images/header-4.jpg" alt="" /></span>
<div class="content">
<div class="container">
<div class="row">
<div class="col-6">
<header>
<h2 id="r4" style="color:#FF591F; font-weight:bold; font-size:3em; text-align:center;">Refuse.</h2>
</header>
</div>
<div id="messenger" style="font-size:1.8em;" class="col-2"></div>
</div>
</div>
</div>
<a href="#four" class="goto-next scrolly">Next</a>
</section>
<!-- Four -->
<section id="four" class="wrapper style1 special fade-up">
<div class="container">
<header class="major">
<h2>Meet the creators.</h2>
<p>Bengaluru plog Run is an initiative brought to you by the following organizations.</p>
</header>
<div class="box alt">
<div class="row gtr-uniform">
<section class="col-6 col-6-medium col-12-xsmall off-3">
<a href="http://bbmp.gov.in/" target="_blank"><img src="images/bbmp-logo.jpg"/></a>
<h4><a href="http://bbmp.gov.in/" target="_blank">Bruhat Bengaluru Mahanagara Palike</a></h4>
<p>The Bruhat Bengaluru Mahanagara Palike, is the administrative body responsible for the civic and infrastructural assets of the Greater Bangalore metropolitan area.</p>
</section>
</div>
</div>
<div class="box alt">
<div class="row gtr-uniform">
<section class="col-3 col-6-medium col-12-xsmall">
<a href="https://www.go-native.in/" target="_blank"><img src="images/go-native.png"/></a>
<h4><a href="https://www.go-native.in/" target="_blank">Go Native</a></h4>
<p>Go Native is a concept store and restaurant rooted in sustainable living. It is an initiative seeks to make eating, living, and playing sustainably a practical, hands-on experience that is beautiful, fun and utterly delicious. Go Native sources directly from the grassroots, ensuring that every product, every ingredient, benefits the livelihoods of the farmers and artisans who make them.</p>
</section>
<section class="col-3 col-6-medium col-12-xsmall">
<a href="https://nncf.life/" target="_blank"><img src="images/nncf.png"/></a>
<h4 style="margin-top:12px;"><a href="https://nncf.life/" target="_blank">Namma Nimma Cycle Foundation</a></h4>
<p>A not for profit company focussed on sustainable mobility and bringing the culture of cycling into urban areas.</p>
</section>
<section class="col-3 col-6-medium col-12-xsmall">
<a href="https://uwbengaluru.org/" target="_blank"><img src="images/uwb.png" /></a>
<h4 style="margin-top:5px;"><a href="https://uwbengaluru.org/" target="_blank">United Way Bengaluru</a></h4>
<p>UWBe focuses its efforts on education, livelihood, health and environment. UWBe seeks to engage with and empower local communities.</p>
</section>
<section class="col-3 col-6-medium col-12-xsmall">
<a href="http://letsbethechange.in/" target="_blank"><img src="images/lbtc.png" /></a>
<h4><a href="http://letsbethechange.in/" target="_blank">Let's Be The Change</a></h4>
<p>Let's Be The Change, a youth driven NGO run with a vision for a cleaner country. Over 5 years LBTC has fixed over 300 garbage dumps with over 1000 volunteers. LBTC is a bridge connection between the Municipal Corporation (BBMP) and the Citizens.</p>
</section>
</div>
</br>
</div>
<header class="major">
<h2>Bengaluru Plog Run Partners</h2>
<p>Bengaluru Plog Run is an initiative brought to you with the help of the following partners.</p>
</header>
<div class="row gtr-uniform">
<section class="col-2 col-2-medium col-12-xsmall off-1">
<h3>Running Partner</h3>
<a href="https://www.facebook.com/RunningRoadies/" target="_blank"><img src="images/run-road.png"/></a>
<h4><a href="https://www.facebook.com/RunningRoadies/" target="_blank">Running Roadies</a></h4>
</section>
<section class="col-2 col-2-medium col-12-xsmall">
<h3 style="font-size:90%;">Digital Marketing Partner</h3>
<a href="https://fablesquare.com/" target="_blank"><img src="images/fs-logo.png" /></a>
<h4><a href="https://fablesquare.com/" target="_blank">Fable Square</a></h4>
</section>
<section class="col-2 col-2-medium col-12-xsmall">
<h3>Media Partner</h3>
<a href="https://www.thebetterindia.com/" target="_blank"><img src="images/tbi.jpg" /></a>
<h4><a href="https://www.thebetterindia.com/" target="_blank">The Better India</a></h4>
</section>
<section class="col-2 col-2-medium col-12-xsmall">
<h3>Supported By</h3>
<a href="https://www.swiggy.com/" target="_blank"><img src="images/swiggy.png" /></a>
<h4><a href="https://www.swiggy.com/" target="_blank">Swiggy</a></h4>
</section>
<section class="col-2 col-2-medium col-12-xsmall">
<h3>Celebrating</h3>
<a href="#" target="_blank"><img src="images/danotsava.png" /></a>
<h4><a href="#" target="_blank">Danotsava</a></h4>
</section>
</div>
<br />
<br />
<br />
<header class="major">
<h2>Waste Management Partners</h2>
<p>Bengaluru Plog Run is an initiative brought to you with the help of the following partners.</p>
</header>
<div class="row gtr-uniform">
<section class="col-2 col-2-medium col-12-xsmall off-1">
<a href="http://www.saahaszerowaste.com/" target="_blank"><img src="images/saahas.jpg" /></a>
<h4><a href="http://www.saahaszerowaste.com/" target="_blank">Saahas Zero Waste</a></h4>
</section>
<section class="col-2 col-2-medium col-12-xsmall">
<a href="http://www.trashin.in/" target="_blank"><img src="images/trashin.png" /></a>
<h4><a href="http://www.trashin.in/" target="_blank">Trashin Recycling</a></h4>
</section>
<section class="col-2 col-2-medium col-12-xsmall">
<a href="http://www.hasirudala.in/" target="_blank"><img src="images/hasiru.png" /></a>
<h4><a href="http://www.hasirudala.in/" target="_blank">Hasiru Dala</a></h4>
</section>
<section class="col-2 col-2-medium col-12-xsmall">
<a href="http://www.swachhaecosolutions.com/" target="_blank"><img src="images/swachha.jpg" /></a>
<h4><a href="http://www.swachhaecosolutions.com/" target="_blank">Swachha Eco Solutions</a></h4>
</section>
<section class="col-2 col-2-medium col-12-xsmall">
<a href="https://hasirudalainnovations.com/" target="_blank"><img src="images/hdi.jpg" /></a>
<h4><a href="https://hasirudalainnovations.com/" target="_blank">Hasiru Dala Innovations</a></h4>
</section>
</div>
</div>
</div>
</div>
</section>
<!-- Five -->
<section id="five" class="wrapper style2 special fade">
<div class="container">
<header>
<h2>Can't join the movement?</h2>
<p>Don't worry. We got you covered. Leave us your email and we'll keep you posted.</p>
</header>
<form method="post" action="#" class="cta" id="eform">
<div class="row gtr-uniform gtr-50">
<div class="col-8 col-12-xsmall"><input type="email" name="email" id="email" placeholder="Your Email Address" /></div>
<div class="col-4 col-12-xsmall"><input type="button" id="ebutton" value="Let's do this!" class="fit primary" /></div>
</div>
</form>
</div>
</section>
<!-- Footer -->
<footer id="footer">
<ul class="icons">
<li><a href="https://twitter.com/Plog_Run/" target="_blank" class="icon alt fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="https://www.facebook.com/bengaluruplogrun/" target="_blank" class="icon alt fa-facebook"><span class="label">Facebook</span></a></li>
<li><a href="https://www.instagram.com/bengaluruplogrun/" target="_blank" class="icon alt fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="mailto:help@bengaluruplog.run" class="icon alt fa-envelope"><span class="label">Email</span></a></li>
</ul>
<ul class="copyright">
<li>© <p style="display:inline;" id="year">2018</p> <a href="https://www.gonative.live/" target="_blank">Go Native</a> All rights reserved. | <a href="privacy/">Privacy Policy</a></li>
</ul>
</footer>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/jquery.dropotron.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/js/textanim.js"></script>
<script src="assets/js/countUp.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.2.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.2.0/firebase-firestore.js"></script>
<script type="text/javascript">
window.onload = function(){
// Set flags
var countedUp = false;
var dRemFlag = false;
// Set footer year
document.getElementById("year").innerHTML = new Date().getFullYear();
// Get number of days remaining to event and set the countdown
var plogrundate = new Date(new Date().getFullYear(), 9, 2);
if (new Date().getMonth()==9 && new Date().getDate()>2) plogrundate.setFullYear(plogrundate.getFullYear()+1);
//document.getElementById("dRem").innerHTML = Math.ceil((plogrundate.getTime()-new Date().getTime())/86400000).toString();
document.getElementById("dRem").innerHTML = "0";
// Display counting up animation for numbers on scrolling to the section 'one'
$(document).on('scroll', function(){
if($(this).scrollTop()>=$('#one').position().top){
if(!countedUp){
countedUp = true;
//var numAnim = new CountUp("dRem", 0, Math.ceil((plogrundate.getTime()-new Date().getTime())/86400000), 0, 4);
var numAnim = new CountUp("dRem", 0, 0, 0, 4);
if(!numAnim.error){
numAnim.start();
}
else console.error(numAnim.error);
numAnim = new CountUp("tLoc", 0, 54, 0, 5);
if(!numAnim.error){
numAnim.start(AddPlusToLoc);
}
else console.error(numAnim.error);
numAnim = new CountUp("tPlog", 0, 7000, 0, 6);
if(!numAnim.error){
numAnim.start(AddPlusToPlog);
}
else console.error(numAnim.error);
}
}
});
// Display date of event
/*setInterval(function(){
if(dRemFlag){
document.getElementById("dRemContainer").style.display = "none";
document.getElementById("dateContainer").style.display = "block";
dRemFlag = false;
}
else{
document.getElementById("dRemContainer").style.display = "block";
document.getElementById("dateContainer").style.display = "none";
dRemFlag = true;
}
}, 3000);*/
// Handle mouse over event for header logo
document.getElementById("header-logo").onmouseover = function(){
document.getElementById("header-logo").src = "images/orange-logo.svg";
}
document.getElementById("header-logo").onmouseout = function(){
document.getElementById("header-logo").src = "images/logo.svg";
}
// Initialize Firestore
firebase.initializeApp({
apiKey: 'AIzaSyBgEsyiffCICWGf32cc4SspPa4MvKJf1Hx',
authDomain: 'bengaluru-plog-run.firebaseapp.com',
projectId: 'bengaluru-plog-run'
});
// Initialize Cloud Firestore through Firebase
var db = firebase.firestore();
// Get email element
var email = document.getElementById("ebutton").onclick = function(){
// Push data to Firebase!
db.collection("non-joiner-emails").add({
email: document.getElementById("email").value
})
.then(function(docRef) {
console.log("Document written with ID: ", docRef.id);
})
.catch(function(error) {
console.error("Error adding document: ", error);
});
// Replace form with text
document.getElementById("eform").innerHTML = '<p>Thank you for your interest! We appreciate it.</p>';
}
}
// CountUp Animation End Callbacks
function AddPlusToLoc(){/*document.getElementById("tLoc").innerHTML += " +";*/}
function AddPlusToPlog(){document.getElementById("tPlog").innerHTML += " +";}
</script>
</body>
</html>