-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (43 loc) · 1.13 KB
/
Copy pathindex.html
File metadata and controls
45 lines (43 loc) · 1.13 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no">
<title>Dino Runner VR</title>
<style>
body, html {
margin: 0;
position: relative;
overflow: hidden;
width: 100%;
height: 100vh;
}
canvas {
margin: 0;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.splash {
margin: 20px auto;
width: 300px;
display: block;
}
</style>
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#f7f7f7">
</head>
<body>
<div style="display: none;">
<img id="sprites" src="resources/sprite.png">
<audio id="offline-sound-press" src="resources/button-press.mp3"></audio>
<audio id="offline-sound-hit" src="resources/hit.mp3"></audio>
<audio id="offline-sound-reached" src="resources/score-reached.mp3"></audio>
</div>
<script src="dist/app.min.js"></script>
<img class="splash" src="resources/dino.png" alt="Offline Dino"/>
</body>
</html>