forked from JethroGibbsN/Explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (63 loc) · 1.9 KB
/
index.html
File metadata and controls
66 lines (63 loc) · 1.9 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="styles.css" />
<link rel="stylesheet" href="https://use.typekit.net/swm5clh.css" />
<title>3D Class</title>
<!-- Import the component -->
<script
type="module"
src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"
></script>
<script type="stylesheet" href="styles.css"></script>
<meta
name="description"
content="An infinite circular gallery using WebGL with OGL and GLSL Shaders."
/>
<meta
name="keywords"
content="javascript, webgl, gallery, shaders, glsl, inspiration, web design"
/>
<meta name="author" content="Codrops" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" href="https://use.typekit.net/zvj1jsw.css" />
</head>
<body>
<nav>
<a><button class="title">About</button></a>
<a><img class="logo" src="img/logo.png" /></a>
<a href="./webGL/room.html"><button class="title">Rooms</button></a>
</nav>
<!-- Use it like any other HTML element -->
<div class="hero">
<div>
<img class="nav-title" src="img/Explorer.png" />
<p class="title">A new apporach to virtual learning</p>
</div>
<model-viewer
src="model1.gltf"
camera-orbit="100deg 55deg 5m"
alt="A 3D model"
auto-rotate
camera-controls
></model-viewer>
</div>
<img class="about" src="img/about.png" />
<p class="title">
Educate yourself on new topics <br />
by visiting those places
</p>
<model-viewer
class="dessert"
src="scene1.gltf"
alt="A 3D model"
camera-controls
></model-viewer>
<main>
<div class="frame">
<div class="frame__title-wrap"></div>
</div>
</main>
</body>
</html>