-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (72 loc) · 4.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>3D Nostalgia</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Jersey+15&family=Saira+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet"
/>
<style>
body {
margin: 0;
}
.hidden {
display: none;
visibility: hidden;
}
.flex {
display: flex;
}
.inter {
font-family: "Inter", sans-serif;
}
.jersey {
font-family: "Jersey 15", sans-serif;
}
.saira-condensed-light {
font-family: "Saira Condensed", sans-serif;
font-weight: 400;
font-style: normal;
}
#css{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#webgl {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
</head>
<body class="saira-condensed-light" style="overflow: hidden">
<div id="css"></div>
<canvas id="webgl"></canvas>
<div id="containerButtonWhenOrbitControl" class="hidden" style="transition: opacity 0.5s ease-in-out; opacity: 1; position: absolute; top: 8%; left: 50%; transform: translate(-50%, -50%); z-index: 99; display: flex; justify-content: center; align-items: center;">
<button id="buttonBackToWeb" class="jersey" style="background: linear-gradient(120deg, rgba(0, 201, 255, 0.2), rgba(126, 208, 255, 0.8)); border: 1px solid rgb(0, 0, 0); color: black; padding: 0.4rem 1rem; text-align: center; text-decoration: none; display: inline-block; font-size: 1rem; cursor: pointer; border-radius: 10px; width: 7.5rem;">Interact with The Website</button>
<p style="color: aliceblue;width:8rem;text-align: center;margin-left:1rem;line-height: 1rem;">Hold & scroll/pinch the screen to control the camera!!!</p>
</div>
<div id="containerButtonEndWeb" class="hidden" style="transition: opacity 0.5s ease-in-out; opacity: 0; position: absolute; top: 8%; left: 50%; transform: translate(-50%, -50%); z-index: 99; display: flex; justify-content: center; align-items: center;">
<button id="buttonEndWeb" class="jersey" style="background: linear-gradient(120deg, rgba(0, 201, 255, 0.2), rgba(126, 208, 255, 0.8)); border: 1px solid rgb(0, 0, 0); color: black; padding: 0.4rem 1rem; text-align: center; text-decoration: none; display: inline-block; font-size: 1rem; cursor: pointer; border-radius: 10px; margin-right: 0.5rem; width: 7.5rem;">Turn Off The Website</button>
<button id="buttonControlOrbit" class="jersey" style="background: linear-gradient(120deg, rgba(0, 201, 255, 0.2), rgba(126, 208, 255, 0.8)); border: 1px solid rgb(0, 0, 0); color: black; padding: 0.4rem 1rem; text-align: center; text-decoration: none; display: inline-block; font-size: 1rem; cursor: pointer; border-radius: 10px; margin-left: 0.5rem; width: 7.5rem;">Control Camera</button>
</div>
<div id="container-buttonx" class="hidden" style="transition: opacity 0.5s ease-in-out; opacity: 1; position: absolute; top: 8%; left: 50%; transform: translate(-50%, -50%); z-index: 99; display: flex; justify-content: center; align-items: center;">
<button id="buttonx" class="jersey" style="background: linear-gradient(120deg, rgba(0, 201, 255, 0.2), rgba(126, 208, 255, 0.8)); border: 1px solid rgb(0, 0, 0); color: black; padding: 0.4rem 1rem; text-align: center; text-decoration: none; display: inline-block; font-size: 1rem; cursor: pointer; border-radius: 10px; margin-right: 0.3rem; width: 5.5rem;">Go To the Can</button>
<p style="color: aliceblue;width:5rem;text-align: center;line-height: 1rem;">Interact with the screen!!!</p>
<button id="buttonx2" class="jersey" style="background: linear-gradient(120deg, rgba(0, 201, 255, 0.2), rgba(126, 208, 255, 0.8)); border: 1px solid rgb(0, 0, 0); color: black; padding: 0.4rem 1rem; text-align: center; text-decoration: none; display: inline-block; font-size: 1rem; cursor: pointer; border-radius: 10px; margin-left: 0.3rem; width: 5.5rem;">Go To Nostalgia</button>
</div>
<div id="container-objective" class="hidden inter" style="transition: opacity 0.5s ease-in-out; opacity: 1; position: absolute; top: 5rem; left: 50%; transform: translate(-50%, -50%); z-index: 99; display: flex; justify-content: center; align-items: center;">
<p style="color: white;text-align: center;font-size: 2.7rem;font-weight:300;">Click The Can</p>
</div>
<script type="module" src="main.js"></script>
</body>
</html>