-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
506 lines (497 loc) · 19.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
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://api.mapbox.com/mapbox-gl-js/v2.11.0/mapbox-gl.js"></script>
<link
href="https://api.mapbox.com/mapbox-gl-js/v2.11.0/mapbox-gl.css"
rel="stylesheet"
/>
<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" />
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="/dist/output.css" rel="stylesheet" />
<title>Stop Football Plastic</title>
</head>
<body class="font-sans">
<div
id="overlay"
onclick="closeVideoModal()"
class="hidden fixed top-0 bottom-0 left-0 right-0 justify-center content-center z-[60] bg-black opacity-90"
></div>
<div
id="videomodal"
class="fixed w-screen h-screen hidden justify-center content-center z-[70]"
>
<div class="flex flex-col justify-center content-center w-[80%]">
<button onclick="closeVideoModal()">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6 mb-2"
fill="none"
viewBox="0 0 24 24"
stroke="white"
stroke-width="3"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M6 18L18 6M6 6l12 12"
/>
</svg>
</button>
<iframe
class="w-[100%] aspect-video"
src="https://player.vimeo.com/video/771925202?h=fc731dd2f4"
></iframe>
</div>
</div>
<header
class="relative flex items-center justify-center h-screen overflow-hidden"
>
<video
autoplay
loop
muted
class="absolute z-10 w-auto min-w-full min-h-full max-w-none"
poster="./assets/vid-poster.jpg"
>
<source src="./assets/ocean.m4v" type="video/mp4" />
Your browser does not support the video tag.
</video>
<div
style="z-index: 20"
class="mx-4 flex flex-col justify-center items-center text-center"
>
<h1
class="text-4xl font-bold tracking-tight sm:text-center sm:text-6xl text-white"
>
WE ARE KILLING OUR OCEANS.
</h1>
<p class="mt-6 text-lg leading-8 text-white sm:text-center font-bold">
THE WORLD OF FOOTBALL NEEDS TO DO BETTER. IT STARTS HERE.
</p>
<div class="flex">
<button
style="width: fit-content"
class="text-white p-4 mt-6 border-white border-2 flex mr-6 hover:scale-125 duration-200"
onclick="openVideoModal()"
>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-6 h-6"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.348a1.125 1.125 0 010 1.971l-11.54 6.347a1.125 1.125 0 01-1.667-.985V5.653z"
/>
</svg>
SEE WHY
</button>
<button
style="background-color: #44abe0; width: fit-content"
class="text-white p-4 mt-6 border-[#44abe0] hover:scale-125 duration-200"
>
<a href="#individuals">START TODAY</a>
</button>
</div>
</div>
</header>
<div class="max-w-4xl flex align-center justify-center">
<div
class="navbar flex align-center justify-center w-full px-6 py-2 font-bold text-black"
>
<div class="w-full flex justify-between">
<img
class="md:max-w-[200px] max-w-[100px] mr-6"
src="./assets/logo.png"
alt=""
/>
<div class="flex align-center items-center text-[#0a4051]">
<a
href="#individuals"
class="mr-6 border-solid hover:border-b-2 border-white"
>INDIVIDUALS</a
>
<a href="#teams" class="border-solid hover:border-b-2 border-white"
>TEAMS</a
>
</div>
</div>
</div>
</div>
<div
class="w-full border-y-0 border-[#44abe0] border-solid bg-[#0a4051] text-2xl text-[#0a4051] font-bold text-center py-6 flex flex-col items-center"
>
<div class="main-section-container">
<div class="section-container transparent-light-bg">
<h2 class="flex justify-center items-center">
<span class="mr-2">IMPACT</span>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-6 h-6"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M12.75 3.03v.568c0 .334.148.65.405.864l1.068.89c.442.369.535 1.01.216 1.49l-.51.766a2.25 2.25 0 01-1.161.886l-.143.048a1.107 1.107 0 00-.57 1.664c.369.555.169 1.307-.427 1.605L9 13.125l.423 1.059a.956.956 0 01-1.652.928l-.679-.906a1.125 1.125 0 00-1.906.172L4.5 15.75l-.612.153M12.75 3.031a9 9 0 00-8.862 12.872M12.75 3.031a9 9 0 016.69 14.036m0 0l-.177-.529A2.25 2.25 0 0017.128 15H16.5l-.324-.324a1.453 1.453 0 00-2.328.377l-.036.073a1.586 1.586 0 01-.982.816l-.99.282c-.55.157-.894.702-.8 1.267l.073.438c.08.474.49.821.97.821.846 0 1.598.542 1.865 1.345l.215.643m5.276-3.67a9.012 9.012 0 01-5.276 3.67m0 0a9 9 0 01-10.275-4.835M15.75 9c0 .896-.393 1.7-1.016 2.25"
/>
</svg>
</h2>
<div class="flex flex-col items-center justify-center m-4">
<div class="max-w-4xl info-card-container">
<div class="flex text-center info-card dark-bg-texture">
<div class="flex flex-col">
<p class="font-bold mb-4">One Team</p>
<p class="mb-2">25 players</p>
<img
class=""
style="width: 500px"
src="./assets/players.svg"
alt=""
/>
<p class="mb-2">5 coaches</p>
<img
class=""
style="width: 500px"
src="./assets/coaches.svg"
alt=""
/>
</div>
</div>
<div class="flex text-center info-card dark-bg-texture">
<div class="flex flex-col">
<p class="font-bold mb-4">One Session</p>
<p class="mb-2">10 plastic bottles each</p>
<img
class=""
style="width: 500px"
src="./assets/bottles.svg"
alt=""
/>
<p class="mb-2">300 bottles total</p>
<img
class=""
style="width: 500px"
src="./assets/300bottles.svg"
alt=""
/>
</div>
</div>
<div class="flex text-center info-card dark-bg-texture">
<div class="flex flex-col">
<p class="font-bold mb-4">One Year</p>
<p class="">220 sessions</p>
<img
class="my-2"
style="width: 500px"
src="./assets/all-bottles.svg"
alt=""
/>
<p class="">66,000 bottles</p>
</div>
</div>
</div>
</div>
<p class="mb-4">
66,000 single-use plastic bottles per team, every year.
<span class="font-bold">It has to change.</span>
</p>
<p>
The goal for phase 1 is for Stop Football Plastic to have 20 teams
join within 2023. That means a total reduction by 1,340,000
single-use plastic bottles.
<span class="font-bold">Then we accelerate.</span>
</p>
</div>
</div>
</div>
<div
class="w-full border-y-0 border-[#0a4051] border-solid bg-[#44abe0] text-2xl text-[#0a4051] font-bold text-center py-6 flex flex-col items-center"
>
<div id="individuals" class="main-section-container">
<div class="section-container transparent-light-bg">
<h2 class="flex justify-center items-center">
<span class="mr-2">INDIVIDUALS</span>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-6 h-6"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z"
/>
</svg>
</h2>
<div class="flex flex-col items-center justify-center m-4">
<div class="max-w-4xl info-card-container">
<div class="flex text-start info-card dark-bg-texture">
<div class="mr-2 text-base">
<img
style="height: 50px"
src="./assets/stainless-bottle.svg"
alt=""
/>
</div>
<div>
<h3 class="text-base">
Make sure you have a refillable bottle
</h3>
<p class="text-sm">Carry it with you always.</p>
</div>
</div>
<div class="flex text-start info-card dark-bg-texture">
<div class="mr-2 text-base">
<img style="height: 50px" src="./assets/drop.svg" alt="" />
</div>
<div>
<h3 class="text-base">Refill your bottle</h3>
<p class="text-sm">
Please check the refill points in Bangkok below. Help us add
more refill stations by contacting us
<a class="underline" href="mailto:mail@viktorlovgren.com"
>here</a
>.
</p>
</div>
</div>
<div class="flex text-start info-card dark-bg-texture">
<div class="mr-2 text-base">
<img style="height: 50px" src="./assets/logo.png" alt="" />
</div>
<div>
<h3 class="text-base">Inspire others</h3>
<p class="text-sm">
Share your thoughts online. Talk to your club and check if
they're open massively reducing their plastic footprint by
joining Stop Football Plastic!
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<h3 class="mt-4">Bangkok water refill stations:</h3>
<div
id="map"
class="w-full mt-4"
style="height: 900px; max-height: 80vh; max-width: 80vw"
></div>
</div>
<div
id="teams"
class="main-section-container w-full border-b-0 bg-[#0a4051] border-solid border-[#44abe0] text-2xl text-[#44abe0] font-bold text-center py-6 flex flex-col items-center"
>
<div class="transparent-light-bg section-container">
<h2 class="flex justify-center items-center text-[#0a4051]">
<span class="mr-2">TEAMS</span>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-6 h-6"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M18 18.72a9.094 9.094 0 003.741-.479 3 3 0 00-4.682-2.72m.94 3.198l.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0112 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 016 18.719m12 0a5.971 5.971 0 00-.941-3.197m0 0A5.995 5.995 0 0012 12.75a5.995 5.995 0 00-5.058 2.772m0 0a3 3 0 00-4.681 2.72 8.986 8.986 0 003.74.477m.94-3.197a5.971 5.971 0 00-.94 3.197M15 6.75a3 3 0 11-6 0 3 3 0 016 0zm6 3a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0zm-13.5 0a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0z"
/>
</svg>
</h2>
<div class="flex flex-col items-center justify-center m-4">
<div class="max-w-4xl info-card-container">
<div class="flex text-start info-card light-bg-texture">
<div class="mr-2 text-base">
<img
style="height: 50px"
src="./assets/stainless-bottle.svg"
alt=""
/>
</div>
<div>
<h3 class="text-base">
Make sure all players have refillable bottles
</h3>
<p class="text-sm">In training and away game travels.</p>
</div>
</div>
<div class="flex text-start info-card light-bg-texture">
<div class="mr-2 text-base">
<img style="height: 50px" src="./assets/drop.svg" alt="" />
</div>
<div>
<h3 class="text-base">Set up refill stations at the arena</h3>
<p class="text-sm">
For easy refills during training, make sure you have a
solution that works for your club.
</p>
</div>
</div>
<div class="flex text-start info-card light-bg-texture">
<div class="mr-2 text-base">
<img style="height: 50px" src="./assets/logo.png" alt="" />
</div>
<div>
<h3 class="text-base">Inspire other clubs</h3>
<p class="text-sm">
Get in contact to show us your plastic-free setup and we will
calculate your impact and give you the Stop Football Plastic
Badge for use on your website and social media to inspire
others!
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class="w-full border-y-0 border-[#0a4051] border-solid bg-[#44abe0] text-2xl text-[#0a4051] font-bold text-center py-6 flex flex-col items-center"
>
<div id="individuals" class="main-section-container">
<div class="section-container transparent-light-bg">
<h2 class="flex justify-center items-center">
<span class="mr-2">EVENTS</span>
<svg
fill="none"
stroke="currentColor"
stroke-width="1.5"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
aria-hidden="true"
class="w-6 h-6"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M16.5 6v.75m0 3v.75m0 3v.75m0 3V18m-9-5.25h5.25M7.5 15h3M3.375 5.25c-.621 0-1.125.504-1.125 1.125v3.026a2.999 2.999 0 010 5.198v3.026c0 .621.504 1.125 1.125 1.125h17.25c.621 0 1.125-.504 1.125-1.125v-3.026a2.999 2.999 0 010-5.198V6.375c0-.621-.504-1.125-1.125-1.125H3.375z"
></path>
</svg>
</h2>
<div class="flex flex-col items-center justify-center m-4">
<div class="mb-4">
<h3>Hua Hin World Cup</h3>
<p class="text-sm">3,000 single-use plastic bottles spared.</p>
<p class="text-sm">
<span class="font-bold">Partners:</span>
<a
href="https://kat-tech.co.th/"
target="_blank"
style="text-decoration: underline !important"
>Kat-Tech Home Solutions</a
>
(mobile water filter) &
<a
href="https://somwr.com"
target="_blank"
style="text-decoration: underline !important"
>Somwr</a
>
(stainless steel water bottles)
</p>
</div>
<div class="max-w-4xl info-card-container">
<div class="flex text-start">
<div class="">
<img
style="height: 500px; width: auto; object-fit: cover"
src="./assets/images/huahin1.jpg"
alt=""
/>
</div>
</div>
<div class="flex text-start">
<div class="">
<img
style="height: 500px; width: auto; object-fit: cover"
src="./assets/images/huahin2.jpg"
alt=""
/>
</div>
</div>
<div class="flex text-start">
<div class="">
<img
style="height: 500px; width: auto; object-fit: cover"
src="./assets/images/huahin3.jpg"
alt=""
/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class="items-center justify-center flex h-[100px] bg-[#0a4051] text-white"
>
<p>© Stop Football Plastic 2022</p>
</div>
<script>
mapboxgl.accessToken =
"pk.eyJ1Ijoic3RhcmJvYXJkZGV2IiwiYSI6ImNrYTB4c3JjZjA2ZXczbW4ycmc4a3huNDIifQ.GY1Rj4kD_AwiZEM3fM-8TA";
const map = new mapboxgl.Map({
container: "map", // container ID
style: "mapbox://styles/starboarddev/clakmgvb2000315mbc9pqly89", // style URL
center: [100.49, 13.75], // starting position [lng, lat]
zoom: 12, // starting zoom
projection: "globe", // display the map as a 3D globe
});
/*
Add an event listener that runs
when a user clicks on the map element.
*/
map.on("click", (event) => {
// If the user clicked on one of your markers, get its information.
const features = map.queryRenderedFeatures(event.point, {
layers: ["bangkok-water-refill"], // replace with your layer name
});
if (!features.length) {
return;
}
const feature = features[0];
/*
Create a popup, specify its options
and properties, and add it to the map.
*/
const popup = new mapboxgl.Popup({ offset: [0, -15] })
.setLngLat(feature.geometry.coordinates)
.setHTML(
`<h3>${feature.properties.title}</h3><p>${feature.properties.description}</p>`
)
.addTo(map);
});
const videoModal = document.querySelector("#videomodal");
const overlay = document.querySelector("#overlay");
const closeVideoModal = () => {
videoModal.style.display = "none";
overlay.style.display = "none";
};
const openVideoModal = () => {
videoModal.style.display = "flex";
overlay.style.display = "flex";
};
</script>
</body>
</html>