-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
94 lines (86 loc) · 2.68 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" href="/workspace/games/project/assets/favicon.ico">
<title>vrum.js engine</title>
<style type="text/css" media="all">
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
font-family: 'luckiest-guy', sans-serif;
}
.flex-item {
cursor: pointer;
padding: 10px;
margin: 10px;
line-height: 20px;
font-size: 2em;
text-align: center;
}
.flex-container {
height: 100%;
padding: 0;
margin: 0;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
align-items: center;
justify-content: center;
}
.row {
width: auto;
}
</style>
</head>
<body>
<div class="flex-container">
<div class="row">
<div class="flex-item" onclick="goTo('https://github.com/mess110/vrum')" style="padding-bottom: 50px;">
<img src="/workspace/games/project/assets/favicon.ico" />
<br />
vrum.js engine
</div>
<div class="flex-item" onclick="goTo('https://github.com/mess110/vrum/blob/master/README.md')">
tutorials
</div>
<div class="flex-item" onclick="goTo('https://github.com/mess110/vrum/blob/master/tutorials/CHEATSHEET.md')">
cheatsheet
</div>
<div class="flex-item" onclick="goTo('/workspace/games/test')" style="padding-bottom: 50px;">
tests
</div>
<div class="flex-item" onclick="goTo('/workspace/games/model-viewer')">
model-viewer
</div>
<div class="flex-item" onclick="goTo('/workspace/games/json-editor')">
json-editor
</div>
<div class="flex-item" onclick="goTo('/workspace/games/scene-editor')" style="padding-bottom: 50px;">
scene-editor
</div>
<div class="flex-item" onclick="goTo('/workspace/games/')">
workspace/games
</div>
</div>
</div>
<!-- <script src="/src/tools/dependencies.dev.js"></script> -->
<script src="/vrum.min.js"></script>
<script>
const goTo = (url) => {
window.location.href = url
}
loadVrumScripts([], () => {
AssetManager.loadAssets([
{ type: 'font', path: '/workspace/assets/fonts/luckiest-guy' },
])
})
</script>
</body>
</html>