forked from zero-to-mastery/Halloween-Hacktoberfest-Edition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·284 lines (237 loc) · 13.1 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
<!doctype html>
<html lang="en">
<head id="head">
<!-- Head information is dynamically loaded -->
<!-- If you need to include a different stylesheet do so below -->
<script src="./js/cssLoad.js"></script>
<link rel="stylesheet" type="text/css" href="./css/fog.css" />
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<style type="text/css">
.soundBtn {
cursor: pointer;
color: orange;
background-color: #404851;
border-color: black;
margin-left: 12px;
}
</style>
<link rel="stylesheet" type="text/css" href="./css/soundbtn.css" />
<title>Halloween Hacktoberfest</title>
</head>
<body>
<div id="player">
<audio id="mainAudio" autoplay hidden loop volume="1.0">
<source src="./media/background.wav" type="audio/wav">
If you're reading this, audio isn't supported.
</audio>
</div>
<div id="myNav">
<!-- NavBar is dynamically loaded -->
<!-- If you need to include links check out ./js/headFoot.js -->
</div>
<div id="fog-roll">
<img src="https://media.giphy.com/media/xEjTM5COAKyNa/giphy-downsized.gif" />
</div>
<!-- modal for signup-->
<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modNaval-content">
<div class="modal-header text-center signup-head ">
<h4 class="modal-title w-100 font-weight-bold ">Sign up</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body mx-3">
<div class="md-form mb-3">
<i class="far fa-user prefix grey-text"></i>
<label data-error="wrong" data-success="right" for="orangeForm-name">Your name</label>
<input type="text" id="orangeForm-name" class="form-control validate" placeholder="Enter your name">
</div>
<div class="md-form mb-3">
<i class="fas fa-envelope-open-text"></i>
<label data-error="wrong" data-success="right" for="orangeForm-email">Your email</label>
<input type="email" id="orangeForm-email" class="form-control validate" placeholder="Enter mailAddress">
</div>
<div class="md-form mb-3">
<i class="fas fa-unlock-alt"></i>
<label data-error="wrong" data-success="right" for="orangeForm-pass">Your password</label>
<input type="password" id="orangeForm-pass" class="form-control validate" placeholder="Enter password">
</div>
</div>
<div class="modal-footer d-flex justify-content-center">
<button class="btn btn-primary">Sign up</button>
</div>
</div>
</div>
</div>
<!-- /modal for signup/-->
<!-- Carousel -->
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Markers underneath Images -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<!-- Slide 1 -->
<div class="carousel-inner">
<div class="carousel-item active">
<video autoplay muted loop>
<source src="./media/spooky.webm" type="video/webm">
</video>
<div class="container">
<div class="carousel-caption text-left">
<h1>Halloween Facts</h1>
<p class="tex">Halloween tops Valentine's Day in candy sales.</p>
<p><button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter">
Sign up
</button></p>
</div>
</div>
</div>
<!-- Slide 2 -->
<div class="carousel-item">
<img class="second-slide" src="./images/banners/pumpbanner.png" alt="Second slide">
<div class="container">
<div class="carousel-caption text-left">
<h1>Pumpkin Carving Designs</h1>
<p>See some positively ghoulish pumpkin carving designs.</p>
<p><a class="btn btn-lg btn-primary" href="html/designs.html" role="button">Be Inspired</a></p>
</div>
</div>
</div>
<!-- Slide 3 -->
<div class="carousel-item">
<img class="third-slide" src="./images/banners/clownslide.png" alt="Third slide">
<div class="container">
<div class="carousel-caption text-left">
<h1>One more for good measure.</h1>
<p>Halloween is the second highest grossing commercial holiday after Christmas.</p>
<p><a class="btn btn-lg btn-primary" href="html/costumes.html" role="button">Browse gallery</a></p>
</div>
</div>
</div>
</div>
<!-- Carousel Nav Buttons (Left and Right) -->
<a class="carousel-control-prev" href="#myCarousel" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#myCarousel" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<main role="main" class="main carousel-on-top">
<!-- Section under slider (With circular icons)
================================================== -->
<!-- Wrap the rest of the page in another container to center all the content. -->
<div class="container marketing">
<!-- Three columns of text below the carousel -->
<div class="row mt-3">
<!-- Column 1 -->
<div class="col-lg-4" data-aos="fade-up">
<div class="rounded-circle-div" style="background-image:url(./images/pumpsoup.jpg)">
<!-- things to be added on top of image -->
</div>
<h2>Halloween Recipes</h2>
<p class="mb-2">Explore new recipes specifically for Halloween!</p>
<p><a class="btn btn-secondary" href="recipes.html" role="button">View
recipes »</a></p>
</div>
<!-- Column 2 -->
<div class="col-lg-4" data-aos="fade-up">
<div class="rounded-circle-div" style="background-image:url(./images/pumpkin.jpg);">
<!-- things to be added on top of image -->
</div>
<h2>Halloween Facts</h2>
<p class="mb-2">Learn some cool facts about Halloween!</p>
<p><a class="btn btn-secondary" href="facts.html" role="button">Enlighten me »</a></p>
</div>
<!-- Column 3 -->
<div class="col-lg-4" data-aos="fade-up">
<div class="rounded-circle-div" style="background-image:url(./images/cupcake.jpg)">
<!-- things to be added on top of image -->
</div>
<h2>Halloween Name</h2>
<p class="mb-2">Find out what your Halloween name is here!</p>
<p><a class="btn btn-secondary" href="names.html" role="button">View details »</a></p>
</div>
</div><!-- /.row -->
<!-- START THE FEATURETTES -->
<!-- TODO : IF U WANT TO ADD FEATURE DIVIDER USE MARGINS/PADDING INSTEAD-->
<!-- Feature 1 -->
<div class="row featurette">
<div class="col-md-7" data-aos="fade-right">
<h2 class="featurette-heading">What Dishes <span class="text-muted">on Halloween?</span></h2>
<p class="lead">On All Hallows' Eve, many Western Christian denominations encourage abstinence from meat,
giving rise to a variety of vegetarian foods associated with this day. </p>
<p><a class="btn btn-secondary" href="https://en.wikipedia.org/wiki/Halloween#Food">Read More on Wikipedia</a></p>
</div>
<div class="col-md-5 feat-image my-5" data-aos="fade-left">
<img class="featurette-image img-fluid mx-auto rounded" src="./images/pumpsoup.jpg" alt="Generic placeholder image">
</div>
</div>
<!-- Feature 2 -->
<div class="row featurette">
<div class="col-md-7 order-md-2" data-aos="fade-right">
<h2 class="featurette-heading">Why Pumpkins <span class="text-muted">on Halloween?</span></h2>
<p class="lead">The tradition of carving faces into vegetables dates to the Celts. As part of their autumnal
celebration, they wanted to light the way to their homes for the good spirits, so they carved faces into
vegetables such as turnips and squash. A light was placed within the hollowed out vegetable.</p>
<p><a class="btn btn-secondary" href="https://www.wikiwand.com/en/Pumpkin#/Culture">Read More on Wikipedia</a></p>
</div>
<div class="col-md-5 order-md-1 feat-image my-5" data-aos="fade-left">
<img class="featurette-image img-fluid mx-auto rounded" src="./images/pumpkin.jpg" alt="Generic placeholder image">
</div>
</div>
<!-- Feature 3 -->
<div class="row featurette">
<div class="col-md-7" data-aos="fade-right">
<h2 class="featurette-heading">What Costumes <span class="text-muted">on Halloween?</span></h2>
<p class="lead">Halloween costumes are traditionally modeled after supernatural figures such as vampires,
monsters, ghosts, skeletons, witches, and devils. Over time, in the United States, the costume selection
extended to include popular characters from fiction, celebrities, and generic archetypes such as ninjas and
princesses.</p>
<p><a class="btn btn-secondary" href="https://en.wikipedia.org/wiki/Halloween#Costumes" role="button">Read More on Wikipedia</a></p>
</div>
<div class="col-md-5 feat-image my-5" data-aos="fade-left">
<img class="featurette-image img-fluid mx-auto rounded" src="./images/halloweenfigure.jpg" alt="Generic placeholder image">
</div>
</div>
<!-- /END THE FEATURETTES -->
</div><!-- /.container -->
</main>
<div id="myFoot">
<!-- Footer is dynamically loaded -->
<!-- If you need to include links check out ./js/headFoot.js -->
<button onclick="enableMute()" class=soundBtn type="button">Mute sound</button>
<button onclick="disableMute()" class=soundBtn type="button">Enable sound</button>
</div>
<div id="endScripts">
<!-- Global script files are imported from ./js/headFoot.js -->
<!-- Add page specific link below this line -->
<!-- These two are require for the slider, the dont seem to work in the headFoot.jsinclude -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<!-- Need this version for nameGenerator -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</div>
<!-- Loads Nav & Footer - IMPORTANT -->
<script src="./js/headFoot.js"></script>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script src="./js/audioControl.js"></script>
<script>
AOS.init();
</script>
<script>
function logLogo(size) {
const style =
`font-family: Arial; font-size: ${size}px; line-height: 2em; color: #ffa500;`;
console.log('%c{ztm} ', style);
console.log('👋 Hi there! 🎃 \n\nIt seems you like Halloween as much as we do. Contribute to this project at \n\nhttps://github.com/zero-to-mastery/Halloween-Hacktoberfest');
}
logLogo(100);
</script>
</body>
</html>