forked from Jason-and-Deon-Coffe-Project/coffee-project-1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
295 lines (277 loc) · 14.7 KB
/
index.html
File metadata and controls
295 lines (277 loc) · 14.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!--Viewport-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Glozzom | Home</title>
<!--Favicon-->
<link rel="shortcut icon" href="img/MoonConceptSmallPatch03.svg" type="image/x-icon">
<!--Bootstrap Styles-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<!--Bootstrap Icons-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css" />
<!--Ekko Lightbox for Bootstrap-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.css" integrity="sha512-Velp0ebMKjcd9RiCoaHhLXkR1sFoCCWXNp6w4zj1hfMifYB5441C+sKeBl/T/Ka6NjBiRfBBQRaQq65ekYz3UQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!--Override Styles-->
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<!--NAV-->
<nav class="navbar navbar-expand-sm navbar-dark main-bg-color">
<div class="container">
<a href="index.html" class="navbar-brand">
<img src="img/MoonConceptSmallPatch03.svg" alt="Coffee Life Mascot, Moon the Raccoon" width="55px" class="pr-3">
Coffee Life
</a>
<button class="navbar-toggler" data-toggle="collapse" data-target="#navbarCollapse">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a href="index.html" class="nav-link">Home</a>
</li>
<li class="nav-item">
<a href="about.html" class="nav-link">About Us</a>
</li>
<li class="nav-item">
<a href="roasts.html" class="nav-link">Our Roasts</a>
</li>
<li class="nav-item">
<a href="blog.html" class="nav-link">blog</a>
</li>
<li class="nav-item">
<a href="contact.html" class="nav-link">Contact Us</a>
</li>
</ul>
</div>
</div>
</nav>
<!--SHOWCASE SLICER-->
<section id="showcase">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li class="active" data-target="#myCarousel" data-slide-to="0"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item carousel-image-1 active">
<div class="container">
<div class="carousel-caption d-none d-sm-block text-left mb-5">
<h2 class="display-3">The Grind</h2>
<p class="lead">
Hello, this website was created for the purpose of expanding upon a project we did at the beginning of our JavaScript Course during CodeUp's Web and Software Development program.</a>.
</p>
<a href="blog.html" class="btn btn-danger btn-lg">Sign Up Now</a>
</div>
</div>
</div>
<div class="carousel-item carousel-image-2">
<div class="container">
<div class="carousel-caption d-none d-sm-block mb-5">
<h2 class="display-3">The Roast</h2>
<p class="lead">During this project, our primary objective was to build a functional web application where the user can interact with a library of coffee roasts.</p>
<a href="roasts.html" class="btn btn-primary btn-lg">Learn More</a>
</div>
</div>
</div>
<div class="carousel-item carousel-image-3">
<div class="container">
<div class="carousel-caption d-none d-sm-block text-right mb-5">
<h2 class="display-3">The Love</h2>
<p class="lead">After completing the project in class, I viewed this as an opportunity to place the application within a moc company website to see how it could be implemented in the wild.</p>
<a href="contact.html" class="btn btn-success btn-lg">Learn More</a>
</div>
</div>
</div>
</div>
<a href="#myCarousel" data-slide="prev" class="carousel-control-prev">
<span class="carousel-control-prev-icon"></span>
</a>
<a href="#myCarousel" data-slide="next" class="carousel-control-next">
<span class="carousel-control-next-icon"></span>
</a>
</div>
</section>
<!--HOME ICON SECTION-->
<section id="home-cons" class="py-5">
<div class="container">
<div class="row">
<div class="col-md-4 mb-4 text-center">
<i class="fa-solid fa-cookie-bite fa-3x mb-2"></i>
<h3>Sweet Delights</h3>
<p>We only utilized Vanilla JavaScript for the original project. As such, I kept that focus when I incorporated the application into this mock website</p>
</div>
<div class="col-md-4 mb-4 text-center">
<i class="fa-solid fa-bread-slice fa-3x mb-2"></i>
<h3>Amazing Pastries</h3>
<p>This website recipe (design and structure) is a repurposed Bootstrap tutorial project from <a
href="https://www.traversymedia.com/">Brad Traversey</a>. Some structural components and, design elements were changed to best reflect a Coffee Co. vibe</p>
</div>
<div class="col-md-4 mb-4 text-center">
<i class="fa-solid fa-mug-hot fa-3x mb-2"></i>
<h3>Superior Coffee</h3>
<p>Images used for this website come from <a href="https://unsplash.com/">UnSplash</a>. Many are randomly generated. Some were slightly modified to retain the theme and style of the original website</p>
</div>
</div>
</div>
</section>
<!--HOME HEADING SECTION-->
<section id="home-heading" class="p-5">
<div class="dark-overlay">
<div class="row">
<div class="col">
<div class="container pt-5">
<h2>Welcome...</h2>
<p class="d-none d-md-block">My name is Jason. I really do love coffee and coding. It was a thrill to develop a coffee management application for one of our JavaScript projects. However, I really could not just leave such a fun project alone. That is one of the reasons why I decided to frame the project within this simulated Coffee Life Co. website. </p>
</div>
</div>
</div>
</div>
</section>
<!--Lets Talk SECTION-->
<section id="info" class="py-3">
<div class="container">
<div class="row">
<div class="col-md-6 align-self-center">
<h3>Lets talk...</h3>
<p>Coffee and code! While I am a practicing novice in coffee roasting, I spend more time drinking it while I program. If you would like to get together and talk about these excellent subjects, let me know!</p>
<a href="contact.html" class="btn btn-outline-danger btn-lg">Learn More</a>
</div>
<div class="col-md-6">
<img src="img/coffee-14.jpg" alt="Coffee sign" class="img-fluid rounded-circle">
</div>
</div>
</div>
</section>
<!--VIDEO SECTION-->
<section id="video-play">
<div class="dark-overlay">
<div class="row">
<div class="col">
<div class="container p-5">
<a href="#" class="video" data-video="https://www.youtube.com/embed/QwE1oajBEiQ" data-toggle="modal" data-target="#videoModal">
<i class="fas fa-play fa-3x"></i>
</a>
<h2 class="p-3 h1">See What We Do</h2>
</div>
</div>
</div>
</div>
</section>
<!--PHOTO GALLERY-->
<section id="gallery" class="py-5">
<div class="container">
<h2 class="text-center">Randomly Generated Coffee Gallery</h2>
<p class="text-center">Check Out What Inspires Us!</p>
<div class="row mb-4">
<!--row 1, img 1-->
<div class="col-md-4">
<a href="https://source.unsplash.com/random/560x560/?coffee" data-toggle="lightbox" data-gallery="img-gallery" data-height="560" data-width="560">
<img src="https://source.unsplash.com/random/560x560/?coffee" alt="random picture" class="img-fluid">
</a>
</div>
<!--row 1, img 2-->
<div class="col-md-4">
<a href="https://source.unsplash.com/random/561x561/?coffee" data-toggle="lightbox" data-gallery="img-gallery" data-height="561" data-width="561">
<img src="https://source.unsplash.com/random/561x561/?coffee" alt="random picture" class="img-fluid">
</a>
</div>
<!--row 1, img 3-->
<div class="col-md-4">
<a href="https://source.unsplash.com/random/562x562/?coffee" data-toggle="lightbox" data-gallery="img-gallery" data-height="562" data-width="562">
<img src="https://source.unsplash.com/random/562x562/?coffee" alt="random picture" class="img-fluid">
</a>
</div>
</div>
<div class="row mb-4">
<!--row 2, img 1-->
<div class="col-md-4">
<a href="https://source.unsplash.com/random/563x563/?coffee" data-toggle="lightbox" data-gallery="img-gallery" data-height="563" data-width="563">
<img src="https://source.unsplash.com/random/563x563/?coffee" alt="random picture" class="img-fluid">
</a>
</div>
<!--row 2, img 2-->
<div class="col-md-4">
<a href="https://source.unsplash.com/random/564x564/?coffee" data-toggle="lightbox" data-gallery="img-gallery" data-height="564" data-width="564">
<img src="https://source.unsplash.com/random/564x564/?coffee" alt="random picture" class="img-fluid">
</a>
</div>
<!--row 2, img 3-->
<div class="col-md-4">
<a href="https://source.unsplash.com/random/565x565/?coffee" data-toggle="lightbox" data-gallery="img-gallery" data-height="565" data-width="565">
<img src="https://source.unsplash.com/random/565x565/?coffee" alt="random picture" class="img-fluid">
</a>
</div>
</div>
</div>
</section>
<!--FOOTER-->
<footer id="main-footer" class="text-center p-4 main-bg-color">
<div class="container">
<div class="row">
<div class="col">
<p>© <span id="year"></span> Coffee Life Co.</p>
</div>
</div>
</div>
</footer>
<!--VIDEO MODAL-->
<div class="modal fade" id="videoModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<iframe src="" frameborder="0" height="350" width="100%" allowfullscreen></iframe>
<button class="close" data-dismiss="modal">
<span>×</span>
</button>
</div>
</div>
</div>
</div>
<!--SCRIPTS-->
<section>
<!--JQuery-->
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<!--Font Awesome-->
<script src="https://kit.fontawesome.com/f2796ec852.js" crossorigin="anonymous"></script>
<!--Bootstrap-->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<!--Ekko Lightbox for Bootstrap-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.min.js" integrity="sha512-Y2IiVZeaBwXG1wSV7f13plqlmFOx8MdjuHyYFVoYzhyRr3nH/NMDjTBSswijzADdNzMyWNetbLMfOpIPl6Cv9g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<!--Local JS-->
<script src="js/main.js"></script>
<!--Get the current year for the copyright-->
<script>
// Get year for copy
$('#year').text(new Date().getFullYear())
// Configure Slider
$('.carousel').carousel({
interval: 6000,
pause: 'hover'
});
// LIGHTBOX
$(document).on('click', '[data-toggle="lightbox"]', function(event) {
event.preventDefault();
$(this).ekkoLightbox();
});
// Video Play
$(function () {
// Auto play modal video
$(".video").click(function () {
const theModal = $(this).data("target"),
videoSRC = $(this).attr("data-video"),
videoSRCAuto = videoSRC + "?modestbranding=1&rel=0&controls=0&showinfo=0&html5=1&autoplay=1";
$(theModal + ' iframe').attr('src', videoSRCAuto);
$(theModal + ' button.close').click(function () {
$(theModal + ' iframe').attr('src', videoSRC);
});
});
});
</script>
</section>
</body>
</html>