-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
449 lines (437 loc) · 12.8 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
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
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bella's Park</title>
<link
rel="icon"
type="image/png"
href="./media/favicon-96x96.png"
sizes="96x96"
/>
<link rel="icon" type="image/svg+xml" href="./media/favicon.svg" />
<link rel="shortcut icon" href="./media/favicon.ico" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="./media/apple-touch-icon.png"
/>
<meta name="language" content="English" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:image" content="/media/og-image.webp" />
<link rel="manifest" href="./media/site.webmanifest" />
<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=Pixelify+Sans:[email protected]&display=swap"
rel="stylesheet"
/>
<meta
property="og:description"
content="Hiii!!!! My name is Bella and this is my super cool folio!! Learn all about me and what I love to do!"
/>
<meta
name="description"
content="Hiii!!!! My name is Bella and this is my super cool folio!! Learn all about me and what I love to do!"
/>
<link rel="stylesheet" href="./style.css" />
</head>
<body class="light-theme">
<div id="experience">
<canvas id="experience-canvas"></canvas>
</div>
<!-- Loading Screen -->
<div class="loading-screen" id="loadingScreen">
<div class="loading-text">Loading...</div>
<button class="enter-button">Enter Park!</button>
<div class="instructions">~ use arrow keys to move ~</div>
</div>
<!-- Theme Toggle -->
<div class="theme-mode-toggle-button">
<svg
width="80"
height="80"
viewBox="0 0 80 80"
class="first-icon"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect x="25" y="25" width="30" height="30" fill="white" />
<rect
width="4"
height="19"
transform="matrix(-1 0 0 1 42 0)"
fill="white"
/>
<rect
width="4"
height="19"
transform="matrix(-1 0 0 1 42 61)"
fill="white"
/>
<rect
width="4"
height="19"
transform="matrix(0 -1 -1 0 80 42)"
fill="white"
/>
<rect
width="4"
height="14"
transform="matrix(0.707107 -0.707107 -0.707107 -0.707107 18.8994 22.728)"
fill="white"
/>
<rect
width="4"
height="14"
transform="matrix(0.719888 0.69409 -0.719888 0.69409 19.0786 59.0491)"
fill="white"
/>
<rect
width="4"
height="14"
transform="matrix(0.707107 0.707107 0.707107 -0.707107 58 19.8994)"
fill="white"
/>
<rect
width="4"
height="14"
transform="matrix(0.719888 -0.69409 0.719888 0.69409 58.1792 61.7764)"
fill="white"
/>
<rect
width="4"
height="19"
transform="matrix(0 -1 -1 0 19 42)"
fill="white"
/>
</svg>
<svg
width="46"
height="46"
viewBox="0 0 46 46"
class="second-icon"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M26.8333 0H46V46H0V26.8333H26.8333V0ZM34 12H41.6667V19.6667H34V12ZM33.2222 26.8333H40.8889V34.5H33.2222V26.8333ZM23 33.2222H15.3333V40.8889H23V33.2222Z"
fill="white"
/>
</svg>
</div>
<div class="audio-toggle-button">
<svg
width="102"
height="69"
viewBox="0 0 102 69"
class="first-icon-two"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect y="17" width="24" height="37" fill="white" />
<rect x="39" width="24" height="69" fill="white" />
<rect x="78" y="12" width="24" height="42" fill="white" />
</svg>
<svg
width="102"
height="24"
viewBox="0 0 102 24"
class="second-icon-two"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect width="24" height="24" fill="white" />
<rect x="39" width="24" height="24" fill="white" />
<rect x="78" width="24" height="24" fill="white" />
</svg>
</div>
<!-- Pop-up Modals -->
<div class="modal-bg-overlay hidden"></div>
<div class="modal hidden">
<div class="modal-wrapper">
<div class="modal-header">
<h1 class="modal-title">Project One</h1>
<button class="modal-exit-button">exit</button>
</div>
<div class="modal-content">
<div class="modal-content-wrapper">
<p class="modal-project-description">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quasi
ipsa pariatur porro ipsam, labore sequi. Facere recusandae
quisquam error corrupti reiciendis officia sunt molestiae
dignissimos, quae doloremque, voluptatem quam voluptates! Nam,
eum, voluptatibus laboriosam nobis illo rem, esse maxime mollitia
voluptate minima in libero cum labore! Pariatur, perferendis enim?
Atque hic in optio dolorem cum, quos sint voluptate quidem
debitis? Iusto quibusdam voluptate nihil architecto laborum
officia suscipit numquam non ea expedita ipsum atque nostrum amet
alias, excepturi vel saepe harum animi nobis, doloribus sint
corporis fugiat ratione! Temporibus, nostrum? Ducimus ipsum
nesciunt quam eum qui minima voluptatibus eaque aspernatur,
laboriosam tenetur nisi inventore labore obcaecati assumenda sed
ipsa autem nostrum est repudiandae. Possimus sunt totam quidem.
Dolorum, aliquid eveniet?
</p>
<a
href="#"
target="_blank"
rel="noopener noreferrer"
class="modal-project-visit-button hidden"
>View Project</a
>
</div>
</div>
</div>
</div>
<!-- Mobile controls -->
<div class="mobile-control up-arrow">
<svg
width="45"
height="34"
viewBox="0 0 45 34"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect
x="11.7988"
y="17.072"
width="5.64259"
height="20.7622"
transform="rotate(-90 11.7988 17.072)"
fill="#FEFEFE"
/>
<rect
x="7.68359"
y="22.7148"
width="5.64259"
height="28.811"
transform="rotate(-90 7.68359 22.7148)"
fill="#FEFEFE"
/>
<rect
x="3.93311"
y="28.3574"
width="5.64259"
height="37.0427"
transform="rotate(-90 3.93311 28.3574)"
fill="#FEFEFE"
/>
<rect
y="34"
width="5.64259"
height="45"
transform="rotate(-90 0 34)"
fill="#FEFEFE"
/>
<rect
x="15.5488"
y="11.4297"
width="5.64259"
height="13.3537"
transform="rotate(-90 15.5488 11.4297)"
fill="#FEFEFE"
/>
<rect
x="19.0244"
y="5.78711"
width="5.64259"
height="6.31098"
transform="rotate(-90 19.0244 5.78711)"
fill="#FEFEFE"
/>
</svg>
</div>
<div class="mobile-control left-arrow">
<svg
width="45"
height="34"
viewBox="0 0 45 34"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect
x="11.7988"
y="17.072"
width="5.64259"
height="20.7622"
transform="rotate(-90 11.7988 17.072)"
fill="#FEFEFE"
/>
<rect
x="7.68359"
y="22.7148"
width="5.64259"
height="28.811"
transform="rotate(-90 7.68359 22.7148)"
fill="#FEFEFE"
/>
<rect
x="3.93311"
y="28.3574"
width="5.64259"
height="37.0427"
transform="rotate(-90 3.93311 28.3574)"
fill="#FEFEFE"
/>
<rect
y="34"
width="5.64259"
height="45"
transform="rotate(-90 0 34)"
fill="#FEFEFE"
/>
<rect
x="15.5488"
y="11.4297"
width="5.64259"
height="13.3537"
transform="rotate(-90 15.5488 11.4297)"
fill="#FEFEFE"
/>
<rect
x="19.0244"
y="5.78711"
width="5.64259"
height="6.31098"
transform="rotate(-90 19.0244 5.78711)"
fill="#FEFEFE"
/>
</svg>
</div>
<div class="mobile-control right-arrow">
<svg
width="45"
height="34"
viewBox="0 0 45 34"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect
x="11.7988"
y="17.072"
width="5.64259"
height="20.7622"
transform="rotate(-90 11.7988 17.072)"
fill="#FEFEFE"
/>
<rect
x="7.68359"
y="22.7148"
width="5.64259"
height="28.811"
transform="rotate(-90 7.68359 22.7148)"
fill="#FEFEFE"
/>
<rect
x="3.93311"
y="28.3574"
width="5.64259"
height="37.0427"
transform="rotate(-90 3.93311 28.3574)"
fill="#FEFEFE"
/>
<rect
y="34"
width="5.64259"
height="45"
transform="rotate(-90 0 34)"
fill="#FEFEFE"
/>
<rect
x="15.5488"
y="11.4297"
width="5.64259"
height="13.3537"
transform="rotate(-90 15.5488 11.4297)"
fill="#FEFEFE"
/>
<rect
x="19.0244"
y="5.78711"
width="5.64259"
height="6.31098"
transform="rotate(-90 19.0244 5.78711)"
fill="#FEFEFE"
/>
</svg>
</div>
<div class="mobile-control down-arrow">
<svg
width="45"
height="34"
viewBox="0 0 45 34"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect
x="11.7988"
y="17.072"
width="5.64259"
height="20.7622"
transform="rotate(-90 11.7988 17.072)"
fill="#FEFEFE"
/>
<rect
x="7.68359"
y="22.7148"
width="5.64259"
height="28.811"
transform="rotate(-90 7.68359 22.7148)"
fill="#FEFEFE"
/>
<rect
x="3.93311"
y="28.3574"
width="5.64259"
height="37.0427"
transform="rotate(-90 3.93311 28.3574)"
fill="#FEFEFE"
/>
<rect
y="34"
width="5.64259"
height="45"
transform="rotate(-90 0 34)"
fill="#FEFEFE"
/>
<rect
x="15.5488"
y="11.4297"
width="5.64259"
height="13.3537"
transform="rotate(-90 15.5488 11.4297)"
fill="#FEFEFE"
/>
<rect
x="19.0244"
y="5.78711"
width="5.64259"
height="6.31098"
transform="rotate(-90 19.0244 5.78711)"
fill="#FEFEFE"
/>
</svg>
</div>
<!-- Added for import map support -->
<script
async
src="https://unpkg.com/[email protected]/dist/es-module-shims.js"
></script>
<script type="importmap">
{
"imports": {
"three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/[email protected]/examples/jsm/"
}
}
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.2.4/howler.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
<script type="module" src="./main.js"></script>
</body>
</html>