-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
61 lines (60 loc) · 2.8 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Apples Crusher</title>
<link rel="manifest" href="manifest.json" />
<link rel="apple-touch-icon" sizes="57x57" href="./icons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="./icons//apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="./icons//apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="./icons//apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="./icons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="./icons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="./icons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="./icons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="./icons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="./icons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="./icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="./icons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="./icons/favicon-16x16.png">
<link href="css/main.css" rel="stylesheet" />
<meta name="msapplication-TileColor" content="#B6B9B7">
<meta name="msapplication-TileImage" content="./icons/ms-icon-144x144.png">
<meta name="theme-color" content="#B6B9B7">
<script src="js/babylon.js"></script>
<script src="js/babylon.glTFFileLoader.js"></script>
<script src="js/babylon.gui.min.js"></script>
<script src="js/pep.min.js"></script>
<script src="js/applecrushervr.js"></script>
</head>
<body class="demo">
<div id="content">
<canvas touch-action="none" id="renderCanvas" class=""></canvas>
</div>
<div id="splashScreen">
<div id="loader-wrapper">
<div id="logoZone">
<div id="loader"></div>
<img id="logo" class="logoFar" />
<div id="percentage"></div>
</div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
</div>
</div>
<script>
if ('serviceWorker' in navigator) {
if (navigator.serviceWorker.controller) {
console.log('[PWA Builder] active service worker found, no need to register')
} else {
//Register the ServiceWorker
navigator.serviceWorker.register('pwabuilder-sw.js', {
scope: './'
}).then(function (reg) {
console.log('Service worker has been registered for scope:' + reg.scope);
});
}
}
</script>
</body>
</html>