-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
197 lines (193 loc) · 4.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Cache-control" content="public" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="UTF-8" />
<title>Welcome Augnex</title>
<link rel="stylesheet" href="./canvas.css" />
<link rel="icon" href="favicon.png" type="image/gif" sizes="16x16" />
<style>
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background: #000;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
width: 100%;
position: fixed;
display: flex;
background-color: #ffffff;
justify-content: space-between;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a img {
width: 30%;
}
@media only screen and (max-width: 600px) {
li a img {
width: 50%;
}
}
.get {
position: absolute;
top: 50%;
left: 50%;
text-align: center;
transform: translate(-50%, -50%);
color: #fff;
}
.heading {
text-shadow: 0px 0px 10px white;
}
.show {
display: block !important;
opacity: 1 !important;
-webkit-transition: all 0.5s;
transition: all 0.5s;
}
.hide {
opacity: 0;
-webkit-transition: all 0.5s;
transition: all 0.5s;
}
.button {
position: relative;
cursor: pointer;
display: inline-block;
font-family: "brandon-grotesque", sans-serif;
text-transform: uppercase;
min-width: 200px;
margin-top: 30px;
}
.button:hover .border {
box-shadow: 0px 0px 10px 0px white;
}
.button:hover .border .left-plane,
.button:hover .border .right-plane {
transform: translateX(0%);
}
.button:hover .text {
color: #121212;
}
.button .border {
border: 1px solid white;
transform: skewX(-20deg);
height: 32px;
border-radius: 3px;
overflow: hidden;
position: relative;
transition: 0.1s ease-out;
}
.button .border .left-plane,
.button .border .right-plane {
position: absolute;
background: white;
height: 32px;
width: 100px;
transition: 0.15s ease-out;
}
.button .border .left-plane {
left: 0;
transform: translateX(-100%);
}
.button .border .right-plane {
right: 0;
transform: translateX(100%);
}
.button .text {
position: absolute;
left: 0;
right: 0;
top: 50%;
transform: translateY(-50%);
transition: 0.15s ease-out;
}
.text-right {
text-align: right;
}
.text-left {
text-align: left;
}
#getin {
display: none;
opacity: 0;
}
</style>
</head>
<body>
<ul>
<li>
<a href="#"><img src="./SVG/csi.svg" alt=""/></a>
</li>
<li>
<a href="#"><img src="./SVG/augnex.svg" alt=""/></a>
</li>
<li>
<a href="#"><img src="./SVG/Technex.svg" alt=""/></a>
</li>
</ul>
<div class="get">
<h1 class="heading" id="heading">
Welcome Back to Future
</h1>
<div class="button shift-camera-button" id="sengine">
<div class="border">
<div class="left-plane"></div>
<div class="right-plane"></div>
</div>
<div class="text" id="button">Start Engine</div>
<div class="text" id="getin">Dive into reality</div>
</div>
</div>
<canvas></canvas>
<div
style="
position: fixed;
bottom: 0;
width: 100%;
background: #fff;
padding: 20px 0;
display: flex;
justify-content: center;
"
>
<a
href="#"
style="display: block;
color: black;
text-align: center;
padding: 5px 0px;
text-decoration: none;"
>Contributors</a
>
</div>
<script src="./canvas.js"></script>
<script>
if ("serviceWorker" in navigator) {
window.addEventListener("load", () => {
navigator.serviceWorker
.register("./sw.js")
.then(reg => console.log("Service Worker: Registered (Pages)"))
.catch(err => console.log(`Service Worker: Error: ${err}`));
});
}
</script>
</body>
</html>