-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
99 lines (87 loc) · 5.53 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Twin Cities Aid Distribution Locations</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<link rel="icon" href="favicon.ico">
<!-- META TAGS -->
<meta property="og:image" content="https://twin-cities-mutual-aid.org/images/aid2.png">
<meta name="title" content="Twin Cities Aid Distribution Locations">
<meta name="description" content="A map to coordinate aid and care in the Twin Cities.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://twin-cities-mutual-aid.org/">
<meta property="og:title" content="Twin Cities Aid Distribution Locations">
<meta property="og:description" content="A map to coordinate aid and care in the Twin Cities.">
<meta property="og:image" content="https://twin-cities-mutual-aid.org/images/aid2.png">
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://twin-cities-mutual-aid.org/">
<meta property="twitter:title" content="Twin Cities Aid Distribution Locations">
<meta property="twitter:description" content="A map to coordinate aid and care in the Twin Cities.">
<meta property="twitter:image" content="https://twin-cities-mutual-aid.org/images/aid2.png">
<!-- MAPBOX -->
<script src="https://api.mapbox.com/mapbox-gl-js/v1.10.0/mapbox-gl.js"></script>
<link href="https://api.mapbox.com/mapbox-gl-js/v1.10.0/mapbox-gl.css" rel="stylesheet" />
<script src="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v4.5.1/mapbox-gl-geocoder.min.js"></script>
<link rel="stylesheet" href="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v4.5.1/mapbox-gl-geocoder.css" type="text/css" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lodash.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.26.0/moment.min.js"></script>
<!-- CONFIG -->
<script>
mapboxgl.accessToken = 'pk.eyJ1IjoiamFjb2JyZGFsdG9uIiwiYSI6ImNrYXc2anFjbjIxNGwyeG14dWk0MDVycmIifQ.yILWplracVMB4mv1dWwTtg'
const DATA_URL = 'https://spreadsheets.google.com/feeds/list/1CyPozeKhmOuIaVnKDQAUKKsvA9R4F20hEQ3MSGWczP8/1/public/full?alt=json'
const TRANSLATION_URL = 'https://spreadsheets.google.com/feeds/list/1m5QPNP6O8nsQsqJcQbwib_obpXRjmbYYGtwKzzg1l38/1/public/full?alt=json'
</script>
<link rel="stylesheet" href="./normalize.css">
<link rel="stylesheet" href="./styles.css">
<link rel="stylesheet" href="./welcome.css">
<link rel="stylesheet" href="./translator.css">
</head>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-9313001-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-9313001-2', { 'anonymize_ip': true });
</script>
<body class='flex'>
<div class="content">
<div class="title white-and-blue">
<h1 data-translation-id="page_title" class='h1'>Twin Cities Aid Map</h1>
</div>
<div class="filter-pane white-and-blue">
<div class='legend' id="key"></div>
<button data-translation-id="show_list_button" id="locations-toggle-button" class="location-list-toggle toggle-button" onClick="toggleSidePane(this)" aria-label="Toggle list of locations">Show list of locations</button>
<button data-translation-id="help_info" id="help-info-toggle-button" class="toggle-button" onClick="toggleHelpInfo(this)" aria-label="Toggle help info section">Help/info</button>
<div class='counter'>
<script type="text/javascript" src="//counter.websiteout.net/js/7/0/41000/0"></script>
</div>
</div>
<div id="side-pane" class="location-list">
<div id="filter-controls"></div>
<div class="list" id="location-list"></div>
</div>
</div>
<div id="help-info" class='help-info padded spaced-lines'>
<button class='help-info-close-button' onClick="toggleHelpInfo(this)" aria-label="Close help info section">X <span data-translation-id="close">Close</span></button>
<p class='p txt-small'><span data-translation-id="project_description">Twin Cities Aid Map is run by volunteers</span>.</p><br />
<p class='p txt-small bold'><span data-translation-id="project_feedback">Have feedback?</span> <a href="mailto:[email protected]" data-translation-id="project_contact">Email Us</a>.</p>
<p class='p txt-small bold'><span data-translation-id="project_data">See this data in</span> <a href="https://docs.google.com/spreadsheets/d/e/2PACX-1vSfnmh9CmtVoBMy2k_-NMhhvF7ursBs2L5IPF9VZ1J-l9P71vjDFw7y6Y6E98d5lNeOAEo7leisP0Y8/pubhtml" target="_blank">Google Sheets</a>.</p>
<p class='p txt-small bold'><span data-translation-id="project_learn">Learn about this project on</span> <a href="https://github.com/Twin-Cities-Mutual-Aid/twin-cities-aid-distribution-locations/blob/master/README.md" target="_blank">GitHub</a>.</p>
</div>
<div class='map' id="map">
<button class="lang-select-button" id="lang-select-button">
<span class="lang-select-label" data-translation-id="language">Language</span>
<span class="lang-current">
<img data-translation-flag class="lang-flag lang-flag-current" alt="English" src="/images/lang-eng.png">
<span class="lang-name" data-translation-id="lang_name">English</span>
</span>
</button>
</div>
<script src="//cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js"></script>
<script src="./filter.js"></script>
<script src="./translator.js"></script>
<script src="./welcome.js"></script>
<script src="./script.js"></script>
</body>
</html>