-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
74 lines (72 loc) · 1.99 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
---
---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset='utf-8' />
<title>The Changing Shoreline of New York City</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<script src='https://api.mapbox.com/mapbox-gl-js/v0.41.0/mapbox-gl.js'></script>
<link href='https://api.mapbox.com/mapbox-gl-js/v0.41.0/mapbox-gl.css' rel='stylesheet' />
<link href="https://fonts.googleapis.com/css?family=Neuton" rel="stylesheet">
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div id="map-container">
<div id="map"></div>
</div>
<article>
<header>
<div class="page trigger-overview">
<div id="title" class="sticky">
<h1 class="wavy pointer-events">
The Changing<br />
Shoreline<br />
of New York City
</h1>
</div>
</div>
<section class="box">
<div class="box-contents">
{% include header.html %}
</div>
</section>
<div class="page">
</div>
</header>
<main>
<script type="text/javascript">
var areaTitles = {}
</script>
<ol id="areas">
{% for area_id in site.data.areas %}
{% include area.html area_id=area_id %}
{% endfor %}
</ol>
</main>
<footer>
<div class="page trigger-overview">
</div>
<section class="box">
<div class="box-contents">
{% include footer.html %}
</div>
</section>
</footer>
</article>
<script type="text/javascript">
var areas = {{ site.data.areas | jsonify }}
var allGeojson = {% include areas.geojson %}
var geojson = {
type: 'FeatureCollection',
features: allGeojson.features.filter(function (feature) {
return areas.indexOf(feature.properties.id) >= 0
})
}
allGeojson = undefined
</script>
<script src="js/scrollMonitor.js"></script>
<script src="js/shorelines.js"></script>
</body>
</html>