-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclasses.html
More file actions
316 lines (290 loc) · 8.89 KB
/
classes.html
File metadata and controls
316 lines (290 loc) · 8.89 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
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
<!-- Author: Dylan, Soorya -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Gourmet Roasters Classes">
<title>Classes</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="lib/bootstrap-5.3/css/bootstrap.css">
<script src="lib/bootstrap-5.3/js/bootstrap.js"></script>
<script src="js/classes.js"></script>
<link rel="stylesheet" href="styles/style.css">
<!--favicon-->
<link rel="icon" href="media/favicon/favicon.ico">
<!-- https://stackoverflow.com/a/76120965 -->
<!-- How to load header.html into each page -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<!-- Google Font Heading -->
<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=Oswald:wght@200..700&display=swap" rel="stylesheet">
<!-- Google Font Paragraph -->
<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=Madimi+One&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet">
<!-- Google Font Fancy -->
<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=Dancing+Script:wght@400..700&display=swap" rel="stylesheet">
<script>
$(function () {
$('#header').load('header.html', function() {
// After loading in the header set the appropriate navbar selection
let navbarItems = document.querySelectorAll("#navbarNav>ul>li>a");
for (let navbarItem of navbarItems) {
if (navbarItem.innerHTML.toLowerCase() == "classes") {
navbarItem.style.fontWeight = "bold";
}
}
});
$('#footer').load('footer.html');
});
</script>
</head>
<body class="bg-light">
<div id="header" class="container-fluid "></div>
<div class="container my-4 ">
<h1 class="text-center">Coffee Making Classes</h1>
<p class="lead text-center">@
<img src="media/favicon/favicon.ico" alt="Logo" class="class-logo">Gourmet Roasters
</p>
<!-- Class Information -->
<div class="row mt-4">
<!-- Beginner Class -->
<div class="col-md-6">
<div class="card">
<div class="card-body">
<h4 class="card-title">Beginner</h4>
<p class="card-text">Our beginner class covers the basics of coffee brewing, including:</p>
<ul class="list-unstyled">
<li>Introduction to coffee beans</li>
<li>Grinding and brewing techniques</li>
<li>Brewing methods (e.g., drip, French press)</li>
<li>Espresso Making</li>
<li>Milk Frothing</li>
</ul>
<p class="card-text">Price: €50</p>
</div>
</div>
</div>
<!-- Advanced Class -->
<div class="col-md-6">
<div class="card">
<div class="card-body">
<h4 class="card-title">Advanced</h4>
<p class="card-text">Our advanced class builds upon the basics and dives deeper into:</p>
<ul class="list-unstyled">
<li>Understanding coffee origins</li>
<li>Coffee art</li>
<li>Cupping and tasting</li>
<li>Espresso extraction</li>
<li>Roasting fundamentals</li>
</ul>
<p class="card-text">Price: €100</p>
</div>
</div>
</div>
</div>
<!-- Class Schedule -->
<div class="mt-4">
<h3 class="text-center">2024 Class Schedule</h3>
<p class="text-center">Check out our upcoming classes:</p>
<p class="text-center">Due to high demand and limited spaces, we only accept bookings two months in advance</p>
<table class="table table-bordered">
<thead class="table-dark">
<tr>
<th>Date</th>
<th>Class Level</th>
<th>Time</th>
</tr>
</thead>
<tbody>
<!-- January -->
<tr>
<td>January 8th</td>
<td>Beginner</td>
<td>7:00 PM - 8:00 PM</td>
</tr>
<tr>
<td>January 22nd</td>
<td>Advanced</td>
<td>6:30 PM - 8:00 PM</td>
</tr>
<!-- February -->
<tr>
<td>February 12th</td>
<td>Advanced</td>
<td>6:30 PM - 8:00 PM</td>
</tr>
<tr>
<td>February 26th</td>
<td>Beginner</td>
<td>7:00 PM - 8:00 PM</td>
</tr>
<!-- March -->
<tr>
<td>March 18th</td>
<td>Beginner</td>
<td>7:00 PM - 8:00 PM</td>
</tr>
<tr>
<td>March 31st</td>
<td>Advanced</td>
<td>6:30 PM - 8:00 PM</td>
</tr>
<!-- April -->
<tr>
<td>April 15th</td>
<td>Advanced</td>
<td>6:30 PM - 8:00 PM</td>
</tr>
<tr>
<td>April 29th</td>
<td>Beginner</td>
<td>6:30 PM - 7:30 PM</td>
</tr>
<!-- May -->
<tr>
<td>May 13th</td>
<td>Beginner</td>
<td>6:30 PM - 7:30 PM</td>
</tr>
<tr>
<td>May 27th</td>
<td>Advanced</td>
<td>6:30 PM - 8:00 PM</td>
</tr>
<!-- June -->
<tr>
<td>June 17th</td>
<td>Advanced</td>
<td>6:30 PM - 8:00 PM</td>
</tr>
<tr>
<td>June 30th</td>
<td>Beginner</td>
<td>6:30 PM - 7:30 PM</td>
</tr>
<!-- July -->
<tr>
<td>July 15th</td>
<td>Beginner</td>
<td>6:30 PM - 7:30 PM</td>
</tr>
<tr>
<td>July 29th</td>
<td>Advanced</td>
<td>6:30 PM - 8:00 PM</td>
</tr>
<!-- August -->
<tr>
<td>August 12th</td>
<td>Advanced</td>
<td>6:30 PM - 8:00 PM</td>
</tr>
<tr>
<td>August 26th</td>
<td>Beginner</td>
<td>6:30 PM - 7:30 PM</td>
</tr>
<!-- September -->
<tr>
<td>September 16th</td>
<td>Beginner</td>
<td>6:30 PM - 7:30 PM</td>
</tr>
<tr>
<td>September 30th</td>
<td>Advanced</td>
<td>6:30 PM - 8:00 PM</td>
</tr>
<!-- October -->
<tr>
<td>October 14th</td>
<td>Advanced</td>
<td>6:30 PM - 8:00 PM</td>
</tr>
<tr>
<td>October 28th</td>
<td>Beginner</td>
<td>6:30 PM - 7:30 PM</td>
</tr>
<!-- November -->
<tr>
<td>November 11th</td>
<td>Beginner</td>
<td>6:30 PM - 7:30 PM</td>
</tr>
<tr>
<td>November 25th</td>
<td>Advanced</td>
<td>6:30 PM - 8:00 PM</td>
</tr>
<!-- December -->
<tr>
<td>December 9th</td>
<td>Advanced</td>
<td>6:30 PM - 8:00 PM</td>
</tr>
<tr>
<td>December 15th</td>
<td>Beginner</td>
<td>6:30 PM - 7:30 PM</td>
</tr>
</tbody>
</table>
</div>
<!-- Mini Game -->
<div class="row justify-content-center mt-4">
<div class="col-md-6">
<div class="card my-2">
<div class="card-body d-flex flex-column align-items-center">
<h3 class=" card-title text-center"><img src="media/favicon/favicon.ico" alt="Logo" class="class-logo"> Mini Game
</h3>
<p class=" card-text text-center">Answer the following questions correctly and receive 10% off any class of
your choosing!!</p>
<button class="btn project-btn mt-auto" data-bs-toggle="modal" data-bs-target="#gameModal"
onclick="startGame()">Start Game</button>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="gameModal" tabindex="-1" aria-labelledby="gameModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="gameModalLabel">
<img src="media/favicon/favicon.ico" alt="Logo" class="class-logo">
</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="row justify-content-center mt-4">
<div class="col-md-6">
<div id="gameQuestions" style="display: none;">
<p id="question1">What country inspired us to open our Cafe??</p>
<input type="text" id="answer1" class="form-control" required>
<p id="question2">Do we open on Sundays?</p>
<input type="text" id="answer2" class="form-control" required>
<p id="question3">What country is the biggest producer of coffee in the world?</p>
<input type="text" id="answer3" class="form-control" required>
<button class="btn project-btn mt-2 btn-block" onclick="checkAnswers()">Submit Answers</button>
</div>
<p id="gameResult" class="mt-3 text-center"></p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="position-fixed bottom-50 end-0 ">
<a class="btn fw-bold scroll-to-top" href="classes.html" aria-label="homepage link">
<i class="bi bi-arrow-up-circle "></i>
</a>
</div>
<footer id="footer" class="container-fluid fixed-bottom"></footer>
</body>
</html>