-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (41 loc) · 1.85 KB
/
index.html
File metadata and controls
51 lines (41 loc) · 1.85 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
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<title>Thirty Seconds</title>
<link rel="manifest" href="/manifest.json?v=1.2">
<meta name="description" content="30 Seconds">
<meta name="theme-color" content="#2F3BA2" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Thirty Seconds">
<link rel="apple-touch-icon" href="/images/icons/icon-512x512.png">
<link rel="shortcut icon" href="/images/icons/icon-512x512.png">
<link rel='icon' type='image/png' href='/favicon.png'>
<link rel='stylesheet' href='app.css' type="text/css">
<link rel='stylesheet' href='global.css' type="text/css">
<link rel='stylesheet' href='/vendor/bootstrap/css/bootstrap.min.css' type="text/css">
<script type="module" src='/vendor/bootstrap/js/bootstrap.bundle.min.js' defer type="application/javascript"></script>
<script type="module" src='/vendor/fontawesome/js/all.min.js' defer type="application/javascript"></script>
<script type="module" src='/src/main.js' type="application/javascript"></script>
</head>
<body>
<noscript>
<div>
Oops! Javascript required here! Allow it and try again!
</div>
</noscript>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function () {
navigator.serviceWorker.register('/service-worker.js').then(function (registration) {
console.log('[ServiceWorker] successfully registered on scope', registration.scope);
}).catch(function (error) {
console.log('[ServiceWorker] failed to register');
});
});
}
</script>
</body>
</html>