generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
235 lines (220 loc) · 10.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- meta data -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="Description" content="Blank! - Interactive web-based game"/>
<meta name="author" content="Rebecca Tracey-Timoney">
<!-- favicon -->
<link rel="shortcut icon" href="assets/images/icon.png" title="Blank! Thumbnail Image">
<!-- Stylesheets -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"/> <!-- Bootstrap Import-->
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/sweetalert2@10.10.1/dist/sweetalert2.min.css'> <!-- Sweet Alert Import -->
<link rel="stylesheet" href="assets/css/style.css"/> <!-- style.css import-->
<!-- Page title -->
<title>Blank!</title>
<!-- EmailJS Link -->
<script src="https://cdn.jsdelivr.net/npm/emailjs-com@2/dist/email.min.js"></script>
<script>
(function() {
emailjs.init("user_TMxBrvw73ZySzIBKjJ8E8");
})();
</script>
<!-- Font Awesome Import-->
<script src="https://kit.fontawesome.com/bc68bd906d.js" crossorigin="anonymous"></script>
</head>
<body class="light-bg">
<!-- ================================= PLAYER INFO ================================= -->
<section id="player-info" aria-label="Player Information Menu">
<div id="info-content">
<div id="info-body" class="container-fluid">
<div class="row text-center">
<div class="col-12 info-text">
<img src="assets/images/logo.png" alt="Blank! Logo">
</div>
<div class="col-12 info-text">
<h3>Think you know your lyrics?</h3>
<h4>Fill in the blanks and test your Music knowledge!</h4>
</div>
<div class="col-12 info-text">
<form class="userInfo">
<div class="form-group">
<input type="text" name="username" id="username" maxlength="10" placeholder="Enter Player Name" aria-label="Enter Player Name" required>
</div>
<button id="username-submit" class="btn btn-click" aria-label="Enter Button">Let's Go!</button>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- ================================= HEADER ================================= -->
<section id="header" aria-label="Header Section">
<div class="container-fluid header-sec">
<div class="row">
<!-- ======= Logo ======= -->
<div class="col-8 logo-sec">
<a href="index.html" aria-label="Link to Homepage">
<img class="btn-click" src="assets/images/logo.png" alt="Blank! Logo">
</a>
</div>
<!-- ======= Toggle Buttons ======= -->
<div class="col-4 toggle-sec text-right">
<!-- Sound effects toggle function -->
<button class="mute-btn btn-click" aria-label="Mute button toggle">
<i class="fas fa-volume-up"></i>
</button>
<!-- Light/Dark mode toggle function -->
<div class="toggle-switch">
<input type="checkbox" id="checkbox">
<label for="checkbox" class="toggle-slide">
<i class="fas fa-moon"></i>
<i class="fas fa-sun"></i>
<span class="toggle-ball"></span>
</label>
</div>
</div>
</div>
</div>
</section>
<!-- ================================= HOME PAGE ================================= -->
<section id="home" aria-label="Home Page">
<div class="container-fluid">
<!-- ======= Home Page Section ======= -->
<div class="row home-sec">
<div class="col-12">
<div class="row text-center">
<div class="col-12">
<h1 id="home-message">Choose your category!</h1>
</div>
<div class="col-12">
<div class="row home-btns">
<div class="col-12 col-lg-6 cat-btns">
<a href="as-seen-on-tv.html" aria-label="Link to TV Category">
<img class="btn-click cat-img" src="assets/images/tv-button.png" alt="Category Button: As Seen on TV">
</a>
</div>
<div class="col-12 col-lg-6 cat-btns">
<a href="chart-toppers.html" aria-label="Link to Chart Toppers Category">
<img class="btn-click cat-img" src="assets/images/chart-button.png" alt="Category Button: Chart Toppers">
</a>
</div>
<div class="col-12 col-lg-6 cat-btns">
<a href="throwback.html" aria-label="Link to Throwback Category">
<img class="btn-click cat-img" src="assets/images/tb-button.png" alt="Category Button: Throwback">
</a>
</div>
<div class="col-12 col-lg-6 cat-btns">
<a href="at-the-movies.html" aria-label="Link to Movie Category">
<img class="btn-click cat-img" src="assets/images/movie-button.png" alt="Category Button: At The Movies">
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- ================================= FOOTER ================================= -->
<!-- Toggles Sliding footer for mobile for UX
sourced and edited from http://jsfiddle.net/nathanbweb/JHu7j/ -->
<footer class="d-block d-lg-none footer-container" aria-label="Sliding Footer - small/medium devices only">
<div class="footer-sm">
<div class="footer-button">
<i class="far fa-caret-square-up btn-click" aria-hidden="true"></i>
</div>
<div class="footer-content">
<div class="container-fluid footer-text">
<div class="row">
<div class="col-12">
<span><i class="far fa-copyright"></i> Rebecca Tracey-Timoney <span class="current-year"></span></span>
</div>
</div>
<div class="row">
<div class="col-12">
<ul class="footer-icon">
<li>
<a href="https://www.linkedin.com/in/rebeccatraceytimoney/" target="_blank" rel="noopener" aria-label="Linkedin - Rebecca Tracey-Timoney">
<i class="fab fa-linkedin-in btn-click"></i>
</a>
</li>
<li>
<i class="far fa-lightbulb btn-click" data-toggle="modal" data-target="#form-modal"></i>
</li>
<li>
<a href="https://github.com/rebeccatraceyt" target="_blank" rel="noopener" aria-label="Github - rebeccatraceyt">
<i class="fab fa-github-alt btn-click"></i>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</footer>
<!-- Footer only on larger screens - for UX purposes -->
<footer class="d-none d-lg-block footer-container" aria-label="Footer - larger devices only">
<div class="container-fluid">
<div class="row">
<div class="col-12 footer-home">
<ul class="footer-text text-center">
<li>
<span class="footer-copyright"><i class="far fa-copyright"></i> Rebecca Tracey-Timoney <span class="current-year"></span></span>
</li>
<li class="footer-icon">
<a href="https://www.linkedin.com/in/rebeccatraceytimoney/" target="_blank" rel="noopener" aria-label="Linkedin - Rebecca Tracey-Timoney">
<i class="fab fa-linkedin-in btn-click"></i>
</a>
</li>
<li class="footer-icon">
<i class="far fa-lightbulb btn-click" data-toggle="modal" data-target="#form-modal"></i>
</li>
<li class="footer-icon">
<a href="https://github.com/rebeccatraceyt" target="_blank" rel="noopener" aria-label="Github - rebeccatraceyt">
<i class="fab fa-github-alt btn-click"></i>
</a>
</li>
</ul>
</div>
</div>
</div>
</footer>
<!-- ================================= MODAL ================================= -->
<!-- ======= Form Modal ======= -->
<!-- sourced and edited from https://getbootstrap.com/docs/4.3/components/modal/ -->
<div class="modal fade" id="form-modal" tabindex="-1" role="dialog" aria-label="suggestion-form" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content form-content">
<div class="modal-header form-header">
<div>
<h4 class="modal-title">Got a Suggestion?</h4>
<p>Let the developer know!</p>
</div>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span><i class="fas fa-times btn-click"></i></span>
</button>
</div>
<div class="modal-body form-body">
<form id="suggestionForm" aria-label="Suggestions Form">
<input type="text" name="pName" id="pName" placeholder="Name" aria-label="Enter Name" required>
<input type="email" name="pEmail" id="pEmail" placeholder="Email" aria-label="Enter Email" required>
<textarea name="pMessage" id="pMessage" placeholder="Leave a message or suggestion" aria-label="Enter Message" rows="4" required></textarea>
<input id="form-submit" type="submit" class="btn btn-click form-btn" aria-label="Submit Button" value="Send">
</form>
</div>
</div>
</div>
</div>
<!-- ================================= SCRIPTS ================================= -->
<script src="https://code.jquery.com/jquery-3.5.1.js" integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script> <!-- jQuery Import -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.2/jquery.validate.min.js" integrity="sha512-UdIMMlVx0HEynClOIFSyOrPggomfhBKJE28LKl8yR3ghkgugPnG6iLfRfHwushZl1MOPSY6TsuBDGPK2X4zYKg==" crossorigin="anonymous"></script> <!-- JQuery Form Validation -->
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10.15.5/dist/sweetalert2.all.min.js"></script> <!-- Sweet Alert Import-->
<script type="module" src="assets/js/script.js"></script> <!-- script.js Import-->
</body>
</html>