-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (33 loc) · 1.79 KB
/
index.html
File metadata and controls
44 lines (33 loc) · 1.79 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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>Byron's Story Map (Oct 2024 Sales Exercise)</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<!-- Add the Mapbox GL JS CSS and JS files -->
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v3.6.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v3.6.0/mapbox-gl.css' rel='stylesheet' />
<!-- Add the Intersection Observer and Scrollama JS files -->
<script src="https://unpkg.com/intersection-observer@0.12.2/intersection-observer.js"></script>
<script src="https://unpkg.com/scrollama"></script>
<!-- Add the Barlow font from Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<!-- Add my own style.css file -->
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<!-- The HTML body is comprised of two components: map and story -->
<!-- The map div holds the map itself -->
<div id="map"></div>
<!-- While the story div holds everything on top of the map,
such as the title, the individual chapters, and the footer -->
<div id='story'></div>
<!-- The config.js file contains the configuration settings for the story map,
and the text/media content of each chapter -->
<script src='./js/config.js'></script>
<!-- The map.js file contains the code to generate the map and slap the story on top-->
<script src="./js/map.js"></script>
</body>
</html>