-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
183 lines (154 loc) · 4.92 KB
/
Copy pathindex.html
File metadata and controls
183 lines (154 loc) · 4.92 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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Volumetrics</title>
<script src="https://cdn.jsdelivr.net/gh/volumetrics-io/mrjs@latest/dist/mr.js"></script>
<!-- <script src="./library/mr.js"></script> -->
<style>
@font-face {
font-family: 'Onest';
src: url('./fonts/Onest-Regular.woff') format('woff');
font-weight: 400;
}
@font-face {
font-family: 'Onest';
src: url('./fonts/Onest-Bold.woff') format('woff');
font-weight: 700;
}
* {
padding: 0;
margin: 0;
border: none;
border-collapse: collapse;
}
html {
overflow: hidden;
overscroll-behavior: none;
}
body {
position: fixed;
}
mr-surface {
height: 100vh;
width: 100vw;
}
mr-app * {
display: block;
}
mr-img {
width: 100%;
object-fit: cover;
height: 300px;
}
.mainContainer {
background-color: white;
/* opacity: 1; */
border-radius: 20px;
height: 100vh;
width: 100vw;
}
.mainColumn {
padding-left: 30px;
padding-right: 30px;
}
.h1 {
font-size: 48px;
line-height: 110%;
color: #333333;
font-family: "Onest";
font-weight: 700;
text-align: center;
margin-top: 60px;
}
.h2 {
font-size: 36px;
line-height: 150%;
color: #333333;
font-family: "Onest";
font-weight: 700;
text-align: center;
margin-top: 60px;
}
.subheading {
width: 100%;
font-size: 18px;
line-height: 100%;
color: #333333;
font-family: "Onest";
font-weight: 400;
text-align: left;
margin-top: 30px;
}
.paragraph {
color: #333333;
font-size: 24px;
line-height: 200%;
font-family: "Onest";
font-weight: 400;
/* width: 100%; */
margin-top: 40px;
margin-bottom: 40px;
/* margin-bottom: 20px; */
text-align: left;
}
.paragraph-end {
height: 200px;
}
.toolbar {
background-color: hotpink;
border-radius: 1%;
height: 80px;
width: 150px;
}
.button {
text-align: left;
}
#debug {
font-size: 36px;
color: red;
}
</style>
</head>
<body>
<mr-app debug="true" camera="camera: perspective">
<mr-surface>
<mr-container class="mainContainer">
<mr-column class="mainColumn">
<mr-img src="./images/placeholder.jpg"></mr-img>
<mr-text class="h1">Make your spatial app a reality</mr-text>
<mr-text class="subheading">Create web-based spatial experiences for mixed-reality, in mixed
reality.</mr-text>
<mr-text class="subheading">We just started to build, but you can follow our progress
already!</mr-text>
<mr-row>
<mr-column>
<mr-text class="paragraph">
At dui pharetra adipiscing amet velit gravida in labore lectus.
</mr-text>
</mr-column>
<mr-column>
<mr-text class="paragraph">
Incididunt labore sed amet vulputate est vestibulum gravida pellentesque quis.
</mr-text>
</mr-column>
<mr-column>
<mr-text class="paragraph">
Cras ut sed est pulvinar at pharetra proin sed nibh.
</mr-text>
</mr-column>
</mr-row>
<mr-text class="paragraph">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magnam aliquam quaerat voluptatem. Ut enim aeque doleamus animo, cum corpore
dolemus, fieri tamen.
</mr-text>
<mr-img src="./images/placeholder.jpg"></mr-img>
</mr-column>
</mr-container>
</mr-surface>
</mr-app>
</body>
<!-- <script src="./scripts/AnimationSystem.js"></script> -->
</html>