-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.html
58 lines (57 loc) · 1.77 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Mantra</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=0.5">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="manifest.json" />
<link rel="shortcut icon" href="img/favicon.ico" />
<link
rel="apple-touch-icon"
href="img/ios-appicon-76-76.png"
/>
<link
rel="apple-touch-icon"
sizes="120x120"
href="img/ios-appicon-120-120.png"
/>
<link
rel="apple-touch-icon"
sizes="152x152"
href="img/ios-appicon-152-152.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="img/ios-appicon-180-180.png"
/>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-05VHJD32P2"></script>
<script>
if (location.host === 'jeremyckahn.github.io') {
window.dataLayer = window.dataLayer || [];
function gtag() {dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-05VHJD32P2');
}
</script>
</head>
<body>
<div id="mantra"></div>
<script src="main.js"></script>
<script>
// Check that service workers are supported
if ('serviceWorker' in navigator) {
// Use the window load event to keep the page load performant
window.addEventListener('load', () => {
navigator.serviceWorker.register('/mantra/service-worker.js');
});
}
</script>
</body>
</html>