-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·360 lines (331 loc) · 13.2 KB
/
index.html
File metadata and controls
executable file
·360 lines (331 loc) · 13.2 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
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
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>3D WebMall - Virtual Reality Shopping</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom fonts for this template -->
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="vendor/simple-line-icons/css/simple-line-icons.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
<!-- Custom styles for this template -->
<link href="css/landing-page.min.css" rel="stylesheet">
</head>
<body>
<!-- Navigation -->
<div class="mobile">
<p>3DWebMall is not currently supported on mobile devices. Please try with a laptop or desktop.</p>
</div>
<div class="desktop">
<!-- Masthead -->
<header class="masthead1 background-tint text-white text-center">
<div class="overlay" ></div>
<div class="container">
<div class="row">
<div class="col-xl-9 mx-auto" style="margin-top:-50px;">
<!-- <img src="img/3dwebmall6.png"> -->
<div style="font-size:4em; background-color:rgba(60, 68, 70, 0.3); padding:5px">3DWebMall</div>
<h1 class="mb-5" style="background-color:rgba(60, 68, 70, 0.3); padding:5px">A virtual shopping experience in your browser</h1>
<a href="http://www.3dwebmall.com/play.html"><button class="launch">Launch 3DWebMall</button></a>
<p style="color:rgb(244, 244, 244);">(best viewed with Firefox or Chrome)</p><br><br>
</div>
<div class="col-md-10 col-lg-8 col-xl-7 mx-auto">
<form>
<div class="form-row">
<div class="col-12 col-md-9 mb-2 mb-md-0">
<input class="form-control form-control-lg" id="bogart" placeholder="Enter your email for updates...">
<div style="padding-top:20px; margin: 0 auto;">
<!-- <div style="text-align:center;">Enter your email to get updates</div> -->
</div>
</div>
<div class="col-12 col-md-3">
<a href="#" class="btn btn-block btn-lg btn-primary" onClick='firebase()'>Sign Up!</a>
</div>
</div>
</form>
</div>
</div>
</div>
</header>
<!-- Icons Grid -->
<!-- <section class="features-icons bg-light text-center">
<div class="container">
<div class="row">
<div class="col-lg-4">
<div class="features-icons-item mx-auto mb-5 mb-lg-0 mb-lg-3">
<div class="features-icons-icon d-flex">
<i class="icon-screen-desktop m-auto text-primary"></i>
</div>
<h3>Fully Responsive</h3>
<p class="lead mb-0">This theme will look great on any device, no matter the size!</p>
</div>
</div>
<div class="col-lg-4">
<div class="features-icons-item mx-auto mb-5 mb-lg-0 mb-lg-3">
<div class="features-icons-icon d-flex">
<i class="icon-layers m-auto text-primary"></i>
</div>
<h3>Bootstrap 4 Ready</h3>
<p class="lead mb-0">Featuring the latest build of the new Bootstrap 4 framework!</p>
</div>
</div>
<div class="col-lg-4">
<div class="features-icons-item mx-auto mb-0 mb-lg-3">
<div class="features-icons-icon d-flex">
<i class="icon-check m-auto text-primary"></i>
</div>
<h3>Easy to Use</h3>
<p class="lead mb-0">Ready to use with your own content, or customize the source files!</p>
</div>
</div>
</div>
</div>
</section> -->
<!-- Image Showcases -->
<section class="showcase">
<div class="container-fluid p-0">
<div class="row no-gutters">
<div class="col-lg-6 order-lg-2 text-white showcase-img" style="background-image: url('img/fromstart.png');"></div>
<div class="col-lg-6 order-lg-1 my-auto showcase-text">
<h2>Shop for Amazon Products in Virtual Reality</h2>
<p class="lead mb-0">Browse products in a VR world, just click on products to add to your Amazon cart in a new tab.</p>
</div>
</div>
<div class="row no-gutters">
<div class="col-lg-6 text-white showcase-img" style="background-image: url('https://cdn.freebiesupply.com/logos/large/2x/unity-69-logo-png-transparent.png');" style="border:3px solid black; width:50%;"></div>
<div class="col-lg-6 my-auto showcase-text">
<h2>Nothing to Download</h2>
<p class="lead mb-0">3DWebMall runs in the browser using WebGL, compiled from <a href="https://unity3d.com/">Unity</a>. Just wait about 30 seconds on a high-speed connection to load the environment.</p>
</div>
</div>
<div class="row no-gutters">
<div class="col-lg-6 order-lg-2 text-white showcase-img" style="background-image: url('img/amazonsonyscreenshot.png');"></div>
<div class="col-lg-6 order-lg-1 my-auto showcase-text">
<h2>Curated Items</h2>
<p class="lead mb-0">All items are handpicked by the 3DWebMall team, with categories from electronics, birthday gifts, to household essentials.</p>
</div>
</div>
</div>
</section>
<style>
.box {
/* width: 300px;
height: 300px; */
background-size: cover;
background-image: url("../img/tvs.png") no-repeat center center;
}
/* .background-tint {
background-color: rgba(200,100,0,.3);
background-blend-mode: multiply;
} */
.masthead1 {
background: rgba(0, 0, 0, 0.2); /*can be anything, of course*/
position: relative;
background: black;
background: url("../img/tvs.png") no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
width: 100vw;
height: 100vh;
padding-top: 8rem;
padding-bottom: 8rem;
}</style>
<!-- Testimonials -->
<!-- <section class="testimonials text-center bg-light">
<div class="container">
<h2 class="mb-5">What people are saying...</h2>
<div class="row">
<div class="col-lg-4">
<div class="testimonial-item mx-auto mb-5 mb-lg-0">
<img class="img-fluid rounded-circle mb-3" src="img/testimonials-1.jpg" alt="">
<h5>Margaret E.</h5>
<p class="font-weight-light mb-0">"This is fantastic! Thanks so much guys!"</p>
</div>
</div>
<div class="col-lg-4">
<div class="testimonial-item mx-auto mb-5 mb-lg-0">
<img class="img-fluid rounded-circle mb-3" src="img/testimonials-2.jpg" alt="">
<h5>Fred S.</h5>
<p class="font-weight-light mb-0">"Bootstrap is amazing. I've been using it to create lots of super nice landing pages."</p>
</div>
</div>
<div class="col-lg-4">
<div class="testimonial-item mx-auto mb-5 mb-lg-0">
<img class="img-fluid rounded-circle mb-3" src="img/testimonials-3.jpg" alt="">
<h5>Sarah W.</h5>
<p class="font-weight-light mb-0">"Thanks so much for making these free resources available to us!"</p>
</div>
</div>
</div>
</div>
</section> -->
<!-- Call to Action -->
<section class="call-to-action text-white text-center">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-xl-9 mx-auto">
<h2 class="mb-4">Ready to get started? Sign up now!</h2>
</div>
<!-- <a href="http://www.3dwebmall.com/play.html"> <button style=" background:rgb(255, 255, 255);">Launch 3DWebMall</button></a></div> -->
<div style="text-align:center; margin: 0 auto;"><a class="button" href="http://www.3dwebmall.com/play.html">Launch 3DWebMall</a></div>
<style>
.button {
background: red;
color: white;
padding: 15px 20px;
}
</style>
<!-- <div class="col-md-10 col-lg-8 col-xl-7 mx-auto">
<form>
<div class="form-row">
<div class="col-12 col-md-9 mb-2 mb-md-0">
<input type="email" class="form-control form-control-lg" placeholder="Enter your email...">
</div>
<div class="col-12 col-md-3">
<button type="submit" class="btn btn-block btn-lg btn-primary">Sign up!</button>
</div>
</div>
</form>
</div> -->
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer bg-light">
<div class="container">
<div class="row">
<div class="col-lg-6 h-100 text-center text-lg-left my-auto">
<ul class="list-inline mb-2">
<li class="list-inline-item">
<a href="#">About</a>
</li>
<li class="list-inline-item">⋅</li>
<li class="list-inline-item">
<a href="#">Contact</a>
</li>
<li class="list-inline-item">⋅</li>
<li class="list-inline-item">
<a href="#">Blog</a>
</li>
</ul>
<p class="text-muted small mb-4 mb-lg-0">© 3DWebMall 2018. All Rights Reserved.</p>
</div>
<!-- <div class="col-lg-6 h-100 text-center text-lg-right my-auto">
<ul class="list-inline mb-0">
<li class="list-inline-item mr-3">
<a href="#">
<i class="fa fa-facebook fa-2x fa-fw"></i>
</a>
</li>
<li class="list-inline-item mr-3">
<a href="#">
<i class="fa fa-twitter fa-2x fa-fw"></i>
</a>
</li>
<li class="list-inline-item">
<a href="#">
<i class="fa fa-instagram fa-2x fa-fw"></i>
</a>
</li>
</ul>
</div> -->
</div>
</div>
</footer>
</div>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<style>
.launch {
transition: .3s;
padding:15px 45px;
border: 2px solid black;
}
.launch:hover {
transition: .3s;
background: red;
border: 2px solid black;
}
header.masthead {
padding-top: 6rem;
padding-bottom: 4rem;
}
@media only screen and (max-width: 400px) {
.desktop {
display:none;
}
.mobile {
visibility: visible;
padding:30px;
text-align:center;
}
}
@media only screen and (min-width: 401px) {
.desktop {
visibility: visible;
}
.mobile {
display:none;
}
}
</style>
<script>
// function firebase(e) {
// (async () => {
// let bogart = document.getElementById('bogart').value
// const rawResponse = await fetch('https://dwebmall-41e5c.firebaseio.com/.json', {
// method: 'POST',
// headers: {
// 'Accept': 'application/json',
// 'Content-Type': 'application/json'
// },
// body: JSON.stringify({email: bogart})
// });
// e.preventDefault();
// const content = await rawResponse.json();
// console.log(content);
// })();
// }
function firebase() {
console.log('firebase event!')
let bogart = document.getElementById('bogart').value
// e.preventDefault();
const postData = (url = ``, data = {}) => {
return fetch(url, {
method: "POST",
mode: "cors",
cache: "no-cache",
credentials: "same-origin",
headers: {
"Content-Type": "application/json; charset=utf-8",
},
redirect: "follow",
referrer: "no-referrer",
body: JSON.stringify(bogart),
})
.then(response => response.json())
.catch(error => console.error(`Fetch Error =\n`, error));
};
postData(`https://dwebmall-41e5c.firebaseio.com/.json`, {bogart})
.then(data => data_resp = data.name)
.catch(error => console.error(error));
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-124246076-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-124246076-1');
</script>
</body>
</html>