forked from avernois/devfriendlyplaces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (31 loc) · 1.19 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
<!DOCTYPE html>
<html>
<head>
<title>Dev Friendly Places</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.2/leaflet.css">
<link rel="stylesheet" href="/css/map.css">
<link rel="stylesheet" href="/css/gh-fork-ribbon.css">
</head>
<body>
<div class="github-fork-ribbon-wrapper right">
<div class="github-fork-ribbon">
<a href="https://github.com/avernois/devfriendlyplaces">Contribute</a>
</div>
</div>
<div id="home"><a href="/locations.html">CITIES</a></div>
<div id="map"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.2/leaflet.js"></script>
<script src="/js/map.js"></script>
<script type="text/javascript">
try {
"use strict";
var city = extractLocationFromUrl(window.location.hostname);
buildMapFor(city);
} catch (e) {
window.location = "/locations.html";
}
</script>
</body>
</html>