-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
284 lines (252 loc) · 9.75 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
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-149375445-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-149375445-1');
</script>
<script>
window.place = 'center';
window.imgLoaded = 0;
function offBlur() {
if (window.imgLoaded == 8) {
const main = document.querySelector('main');
main.classList.remove('blur');
}
}
window.onload = function () {
const figures = document.getElementsByTagName('figure');
const unSelect = () => {
for (let i = 0; i < figures.length; i++) {
figures[i].classList.remove('hover');
}
};
for (let i = 0; i < figures.length; i++) {
figures[i].onclick = function () {
unSelect();
figures[i].classList.add('hover');
window.place = figures[i].getAttribute('id');
}
}
offBlur();
}
</script>
<title>GrodnoVR - Grodno 360 Tour</title>
<meta name="description" content="GrodnoVR - Grodno city of Belarus in Virtual Reality (prototype web app based on ReactVR framework). Author - Artur Basak">
<meta name="keywords" content="гродно,беларусь,виртуальная экскурсия,виртуальный гродно,гродно 360,grodnovr,grodno,belarus,reactvr,ovrui,webvr,vr,vrui,immersive web,immersive,3d,360 tour,3d tour,three.j,webgl,wirtualna rzeczywistość,старая Горадня віртуальна,віртуальная экскурсія,віртуальная рэчаіснасць,Гародня,Гродна">
<meta property="og:title" content="Index | GrodnoVR">
<meta property="og:type" content="website">
<meta property="og:url" content="https://grodno-vr.github.io">
<meta property="og:image" content="https://grodno-vr.github.io/static_assets/images/square.png">
<meta property="og:description" content="GrodnoVR - Grodno city of Belarus in Virtual Reality (prototype web app based on ReactVR framework). Author - Artur Basak">
<meta property="og:locale" content="en_US">
<meta property="og:locale:alternate" content="ru_RU">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="static_assets/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="static_assets/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="static_assets/favicon/favicon-16x16.png">
<link rel="manifest" href="static_assets/favicon/manifest.webmanifest">
<link rel="mask-icon" href="static_assets/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="apple-mobile-web-app-title" content="Grodno VR">
<meta name="application-name" content="Grodno VR">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="static_assets/favicon/browserconfig.xml" />
<meta name="theme-color" content="#000000">
<style>
@import url(https://fonts.googleapis.com/css?family=Lato);
@import url(https://fonts.googleapis.com/css?family=Poppins:400,700;);
body {
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
background: black;
font: 1rem "Lato", "Helvetica";
}
header {
display: flex;
justify-content: center;
align-items: center;
border-bottom: .0625em solid #444444;
}
header img {
transform: rotate(15deg);
height: 80px;
}
footer {
text-align: center;
display: flex;
justify-content: center;
align-items: center;
font-size: 1rem;
margin-top: 1em;
border-top: .0625em solid #444444;
padding: 1em;
width: 100%;
}
.github-link a {
color: white;
text-decoration: none;
padding: 0 1em;
outline: none;
}
.github-link img {
height: 2.5em;
will-change: transform;
transition: transform 0.2s ease-out;
}
.github-link a:focus,
.github-link a:hover {
text-shadow: 0 0 .2em, 0 0 .4em;
cursor: pointer;
}
.github-link a:hover img,
.github-link a:focus img {
transform: rotate(-5deg);
}
.logo {
display: flex;
justify-content: center;
align-items: center;
}
.banner {
color: white;
padding: 0.5em;
max-width: 12em;
}
.banner h1 {
margin: 0 0 0 .2em;
font-size: 2em;
}
.banner small {
border-radius: .3em;
display: block;
padding: 0 1em;
text-align: right;
}
main {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
transition: filter 1s;
}
main > section {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
.text {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
p {
max-width: 555px;
color: white;
padding: 1em 2em 0;
text-align: justify;
}
button {
border: .125em solid white;
outline: none;
color: #fff;
background: #1c1e20;
font-size: 1.5em;
padding: .5em;
margin: 1em .5em 2em;
border-radius: 2em;
min-width: 10em;
max-width: 3em;
transition: all .3s ease-in;
}
button:hover,
button:focus {
color: #1c1e20;
background: #fff;
cursor: pointer;
}
figure {
font-family: 'Poppins:400,700', Arial, sans-serif;
position: relative;
display: inline-block;
overflow: hidden;
margin: 0.5em;
min-width: 250px;
max-width: 555px;
max-height: 300px;
width: 100%;
background-color: #000000;
border-radius: 2em;
color: #ffffff;
text-align: left;
font-size: 1rem;
box-shadow: 0 0 .25em rgba(0, 0, 0, 0.15);
}
figure * {
-webkit-transition: all 0.35s;
transition: all 0.35s;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
figure img {
max-width: 100%;
vertical-align: top;
opacity: 0.4;
}
</style>
</head>
<body>
<header>
<div class="logo">
<div class="banner">
<h1>Grodno <span>VR</span></h1>
<small>Explore in 360°</small>
</div>
<img src="static_assets/images/ico.svg" />
</div>
</header>
<main>
<section>
<div class="text">
<p>
Grodno is a city-museum of the Republic of Belarus, as well as one of the oldest cities in the country. This web application provides a unique opportunity to explore the sights in the virtual reality mode. The ability to trace the history of attractions through the old photos of the city. GrodnoVR - an open source demo based on the ReactVR library.
</p>
</div>
<button onclick="window.location.replace(`/demo.html?locale=en&place=${'center'/*window.place*/}`)">
START DEMO
</button>
</section>
<section>
<figure id="center">
<img src="./static_assets/images/square.png" alt="Площадь Советская"/>
</figure>
</section>
<section>
<div class="text">
<p>
Гродно — город-музей Республики Беларусь, а так же один из старейших городов страны. Данное веб-приложение предоставляет уникальную возможность изучить достопримечательности в режиме виртуальной реальности. Возможность проследить историю достопримечательностей через старые фотографии города. GrodnoVR - демо с открытым исходным кодом на основе ReactVR библиотеки.
</p>
</div>
<button onclick="window.location.replace(`/demo.html?locale=ru&place=${'center'/*window.place*/}`)">
НАЧАТЬ ДЕМО
</button>
</section>
<footer>
<div class="github-link">
<a href="https://github.com/grodno-vr/grodno-vr.github.io">
<img src="static_assets/images/githubico.svg" />
<span>GitHub</span>
</a>
</div>
</footer>
</main>
</body>
</html>