-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
111 lines (97 loc) · 5.76 KB
/
index.html
File metadata and controls
111 lines (97 loc) · 5.76 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
<!DOCTYPE html>
<html lang="en" translate="no">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="./assets/img/main/logo.png" type="image/x-icon">
<title>Brizzle Bash</title>
<link rel="stylesheet" href="./styles/fonts.css">
<link rel="stylesheet" href="./styles/base.css">
<link rel="stylesheet" href="./styles/assets.css">
<link rel="stylesheet" href="./styles/header.css">
<link rel="stylesheet" href="./styles/footer.css">
<link rel="stylesheet" href="./styles/modals.css">
<link rel="stylesheet" href="./styles/intro.css">
<link rel="stylesheet" href="./styles/style.css">
</head>
<body onload="initPageContent()">
<header>
<div class="header-inner">
<a href="./index.html" class="main-logo">
<img class="logo-img" src="./assets/img/main/logo.png" alt="Logo">
<span>Brizzle Bash</span>
</a>
<div class="setting-bar">
<div class="menu-btns">
<button id="btn-volume" class="btn tooltip" aria-label="volume-btn" onclick="toggleSound()">
<svg id="btn-volume-icon" xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none" viewBox="0 0 256 256">
<path
d="M155.51,24.81a8,8,0,0,0-8.42.88L77.25,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H77.25l69.84,54.31A8,8,0,0,0,160,224V32A8,8,0,0,0,155.51,24.81ZM32,96H72v64H32ZM144,207.64,88,164.09V91.91l56-43.55Zm101.66-61.3a8,8,0,0,1-11.32,11.32L216,139.31l-18.34,18.35a8,8,0,0,1-11.32-11.32L204.69,128l-18.35-18.34a8,8,0,0,1,11.32-11.32L216,116.69l18.34-18.35a8,8,0,0,1,11.32,11.32L227.31,128Z">
</path>
</svg>
<span id="btn-volume-tooltip" class="tooltip-text">Sound Off</span>
</button>
<button id="btn-game-guide" class="btn tooltip" aria-label="help-btn" onclick="showInfoGuide()">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none" viewBox="0 0 256 256">
<path
d="M208,144H136V95.19a40,40,0,1,0-16,0V144H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V160A16,16,0,0,0,208,144ZM104,56a24,24,0,1,1,24,24A24,24,0,0,1,104,56ZM208,208H48V160H208v48Zm-40-96h32a8,8,0,0,1,0,16H168a8,8,0,0,1,0-16Z">
</path>
</svg>
<span class="tooltip-text">Guide</span>
</button>
</div>
<button id="btn-popup-menu" class="btn btn-ghost" aria-label="popup-btn" onclick="showPopupMenu()">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none" viewBox="0 0 256 256">
<path
d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z">
</path>
</svg>
</button>
</div>
</div>
</header>
<main>
<div id="intro-container" class="intro-container fade-in">
<div class="glitch-headline">
<p class="invisible-text">Brizzle Bash</p>
<p class="glitch-animation">Brizzle Bash</p>
<p class="glitch-animation">Brizzle Bash</p>
</div>
<div class="story-container">
<img id="story-image" class="story-image" src="./assets/img/carousel/talku-00.png" alt="Brizzly">
<figcaption>FIGHT THE SHADOWS</figcaption>
<div class="story-text">
<div id="story" class="story hidden"></div>
</div>
</div>
<div class="intro-buttons">
<button id="showIntroButton" class="btn" onclick="showIntro()">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none" viewBox="0 0 256 256">
<path
d="M112,116a12,12,0,1,1-12-12A12,12,0,0,1,112,116Zm44-12a12,12,0,1,0,12,12A12,12,0,0,0,156,104Zm68,16v96a8,8,0,0,1-13.07,6.19l-24.26-19.85L162.4,222.19a8,8,0,0,1-10.13,0L128,202.34l-24.27,19.85a8,8,0,0,1-10.13,0L69.33,202.34,45.07,222.19A8,8,0,0,1,32,216V120a96,96,0,0,1,192,0Zm-16,0a80,80,0,0,0-160,0v79.12l16.27-13.31a8,8,0,0,1,10.13,0l24.27,19.85,24.26-19.85a8,8,0,0,1,10.14,0l24.26,19.85,24.27-19.85a8,8,0,0,1,10.13,0L208,199.12Z">
</path>
</svg>
Read Story
</button>
<button class="btn btn-primary" onclick="startGame()">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none" viewBox="0 0 256 256">
<path
d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm48.24-94.78-64-40A8,8,0,0,0,100,88v80a8,8,0,0,0,12.24,6.78l64-40a8,8,0,0,0,0-13.56ZM116,153.57V102.43L156.91,128Z">
</path>
</svg>
Start Game
</button>
</div>
</div>
</main>
<div id="info-guide-modal" class="modal hidden"></div>
<div id="popup-menu" class="modal hidden"></div>
<footer id="footer-content"></footer>
<script src="./js/templates.js"></script>
<script src="./js/rendering.js"></script>
<script src="./js/intro.js"></script>
<script src="./js/carousel.js"></script>
<script src="./js/modals.js"></script>
<script src="./js/audio.js"></script>
</body>
</html>