-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
42 lines (33 loc) · 1.45 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f8f8f8">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#2d2d2d">
<title>SynthFlight</title>
<link rel="shortcut icon" type="image/x-icon" href="img/logo.ico" />
<link rel="apple-touch-icon" href="img/logo-apple.png">
<link rel="manifest" href="manifest.json">
<!-- ALS polyfills -->
<script src="node_modules/leaflet-advanced-layer-system/dist/polyfills.js"></script>
<!-- Leaflet imports -->
<link rel="stylesheet" href="node_modules/leaflet/dist/leaflet.css" />
<!-- Leaflet.Coordinates -->
<link rel="stylesheet" href="node_modules/leaflet.coordinates/dist/Leaflet.Coordinates-0.1.5.css" />
<!-- Leaflet.Draw -->
<link rel="stylesheet" href="node_modules/leaflet-draw/dist/leaflet.draw.css" />
<!-- ALS stylesheet -->
<link rel="stylesheet" href="node_modules/leaflet-advanced-layer-system/dist/css/base.css" />
<!-- SynthFlight stylesheet -->
<link rel="stylesheet" href="css/styles.css" />
<script>
// The first condition is Electron detection
if(navigator.userAgent.indexOf("Electron") === -1 && "serviceWorker" in navigator)
navigator.serviceWorker.register("PWAServiceWorker.js", {scope: "./"});
</script>
</head>
<body>
<div id="map"></div> <!-- Leaflet map -->
<script src="main.js"></script> <!-- Main script -->
</body>
</html>