-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
299 lines (299 loc) · 10.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./css/common.css" />
<link rel="stylesheet" href="./css/home.css" />
<link rel="shortcut icon" href="./assets/favicon.ico" type="image/x-icon" />
<title>AstroMath | home</title>
</head>
<body class="blur">
<!--Loading Gif-->
<div class="loader">
<img src="./assets/gifs/loading.gif" alt="loading..." />
</div>
<!-- theme music -->
<audio class="audio__theme" src="./assets/music/themeMusic.mp3"></audio>
<!-- header -->
<header class="header">
<div class="header__icon">
<i class="fas fa-cog header__settings-icon"></i>
</div>
<div class="header__text">
<h1 class="header__title">AstroMath</h1>
</div>
<div class="header__icon">
<i class="fas fa-question-circle header__info-icon"></i>
</div>
</header>
<!-- main -->
<main class="main">
<div class="main__options">
<!-- sounds -->
<audio
class="audio__hover"
src="./assets/music/selection/hover2.mp3"
></audio>
<audio
class="audio__click"
src="./assets/music/selection/click.mp3"
></audio>
<!-- options -->
<div class="main__options__cnt">
<img
src="./assets/images/Fire.svg"
class="none main__fire"
data-tag="resume"
alt="fire"
/>
<h2 data-value="resume" class="main__option main__resume">
<a href="./astro-math.html" class="main__resume--link">Resume</a>
</h2>
</div>
<div class="main__options__cnt">
<img
src="./assets/images/Fire.svg"
class="none main__fire"
data-tag="newgame"
alt="fire"
/>
<h2 data-value="newgame" class="main__option main__newgame">
<a href="./astro-math.html" class="main__newgame--link">New Game</a>
</h2>
</div>
</div>
</main>
<!-- footer -->
<footer class="footer">
<a href="#" class="footer__modes">Modes</a>
<a href="./astro-math-levels.html" class="footer__level">
Current Level: <span class="footer__currentlevel">10</span>
</a>
<a href="#" class="footer__credit">Credits</a>
</footer>
<!-- init pop up -->
<section class="popup popup__active">
<h2 class="popup__title">
Welcome <span class="popup__username"></span>
</h2>
<p class="popup__description">
Destroy <span class="primary-color">Asteroids</span> by Solving
<span class="primary-color">Math</span> and Save
<span class="primary-color">The Earth</span>
</p>
<div class="popup__buttons">
<button class="popup__button">Play</button>
<button class="popup__button popup__button--change-user">
Change User
</button>
</div>
</section>
<!-- video -->
<section class="video none">
<button class="skip">Skip</button>
<video>
<source src="./assets/intro-video.mp4" type="video/mp4" />
</video>
</section>
<!-- settings -->
<section class="settings none">
<div class="settings__item">
<h2 class="settings__title settings__sound">Sound:</h2>
<img
class="settings__sound--icon settings__action"
src="./assets/images/soundon.svg"
alt="sound-toggle"
/>
</div>
<div class="settings__item">
<h2 class="settings__title">Username:</h2>
<div class="settings__name-holder">
<img
src="./assets/images/edit.svg"
alt="edit-username"
class="settings__edit--icon"
/>
<input
class="settings__input settings__input--username"
value=""
readonly
/>
<p class="settings__input--length-cnt none">
<span class="settings__input--length">15</span> Characters left
</p>
</div>
</div>
<p class="info__ls">
<span class="primary-color">*</span>Sound gets Loaded in your speaker
once you click <span class="primary-color">Play Button</span>.
</p>
<p class="orange info__ls">
<span class="primary-color">*</span>For best experience use chrome
related browsers.
</p>
<!-- <p class="info__ls primary-color">
*<a href="https://astromath.netlify.app" class="secondary-color"
>Click Here!</a
>
If this site doesn't work very well.
</p> -->
</section>
<!-- info -->
<section class="info none">
<div class="info__stars">
<h2 class="info__star-heading">Star Calculation</h2>
<div class="info__star-details">
<div class="info__star-item-100">
<img src="./assets/images/3.png" alt="three-golden-stars" />
<p>-> 100%</p>
</div>
<div class="info__star-item-75">
<img src="./assets/images/2.png" alt="two-golden-stars" />
<p>-> 76% - 99%</p>
</div>
<div class="info__star-item-50">
<img src="./assets/images/1.png" alt="one-golden-star" />
<p>-> 50% - 75%</p>
</div>
</div>
</div>
<p class="info__levels">
Click <span class="info__level-text">Current Level</span> to see all
levels
</p>
<p class="info__ls">
We use <span class="primary-color"> local storage</span>, so please
ensure it works correctly
</p>
<a href="./howto.html"><p class="info__howto">How To Play?</p></a>
<a href="https://github.com/Maheshkumar-novice/top-jam-1"
><p class="info__howto secondary-color">GitHub</p></a
>
</section>
<!-- modes -->
<section class="modes none">
<div class="main__options">
<audio
class="audio__hover"
src="./assets/music/selection/hover2.mp3"
></audio>
<audio
class="audio__click"
src="./assets/music/selection/click.mp3"
></audio>
<div class="main__options__cnt">
<img
src="./assets/images/Fire.svg"
class="none main__fire"
data-tag="survival"
alt="fire"
/>
<h2
data-value="survival"
data-cnt="Requires Level 5"
class="main__option main__survival"
>
<a href="./survival.html" class="main__survival--link">Survival</a>
</h2>
</div>
<div class="main__options__cnt">
<img
src="./assets/images/Fire.svg"
class="none main__fire"
data-tag="bonus"
alt="fire"
/>
<h2
data-value="bonus"
data-cnt="Requires Level 10"
class="main__option main__bonus"
>
<a href="./bonus.html" class="main__bonus--link">Bonus</a>
</h2>
</div>
</div>
</section>
<!-- credits -->
<section class="credits none">
<div class="credits__wrapper">
<a
href="https://www.flaticon.com/authors/smashicons"
title="Smashicons"
class="credits__item"
><span class="primary-color">Asteroids</span> - Smashicons -
Flaticon</a
>
<a href="http://www.freepik.com" class="credits__item"
><span class="primary-color">Main Bg</span> - brgfx - Freepik</a
>
<a href="http://www.freepik.com" class="credits__item"
><span class="primary-color">Video - DevilHead</span> - Ajipebriana -
Freepik</a
>
<a href="http://www.freepik.com" class="credits__item"
><span class="primary-color"
>Video - Asteroid Bg/ Devil Asteroid/ Asteroid Earth</span
>
- brgfx - Freepik</a
>
<a href="http://www.freepik.com" class="credits__item"
><span class="primary-color">Video - Devil Text</span> - NACreative -
Freepik</a
>
<a href="http://www.freepik.com" class="credits__item"
><span class="primary-color">Video - Devil Home</span> - upklyak -
Freepik</a
>
<a href="http://www.freepik.com" class="credits__item"
><span class="primary-color">Video - Explosion</span> - macrovector -
Freepik</a
>
<a
href="https://www.newgrounds.com/audio/listen/72878"
class="credits__item"
><span class="primary-color">Theme Music</span> - green-phoenix
</a>
<a
href="https://www.youtube.com/watch?v=f0gB369NYFA"
class="credits__item"
><span class="primary-color">SFX</span> - Explosions
</a>
<a
href="https://www.dreamstime.com/stock-music-sound-effect/wrong-answer.html"
class="credits__item"
><span class="primary-color">SFX</span> - Wrong Answer
</a>
<a
href="http://soundfxcenter.com/download-sound/sm64-high-score-sound-effect/"
class="credits__item"
><span class="primary-color">SFX</span> - High Score
</a>
<a
href="https://mixkit.co/free-sound-effects/lose/"
class="credits__item"
><span class="primary-color">SFX</span> - Lose
</a>
<a
href="https://www.premiumbeat.com/blog/download-28-free-firework-sound-effects/?utm_source=YouTube&utm_medium=Video&utm_content=Fireworks-Freebie&utm_campaign=06-2021-YouTube-Video"
class="credits__item"
><span class="primary-color">SFX</span> - Fireworks
</a>
<a href="https://fontawesome.com" class="credits__item"
><span class="primary-color">Icons</span> - fontawesome
</a>
<a href="https://jsfiddle.net/elin/7m3bL/" class="credits__item"
><span class="primary-color">Pyro(Fireworks CSS)</span> - Eddie Lin
</a>
</div>
</section>
<!--font awesome-->
<script
src="https://kit.fontawesome.com/a6cc4a65f2.js"
crossorigin="anonymous"
></script>
<!--js-link-->
<script type="module" src="./js/home.js"></script>
</body>
</html>