-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·428 lines (392 loc) · 14.9 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
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
<!DOCTYPE html>
<html lang="en">
<head>
<title>JHacks UMD</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous">
<link rel="stylesheet" href="css/index.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- favicon -->
<link rel="shortcut icon" href="favicon.ico">
<!-- Scripts -->
</head>
<body data-spy="scroll" data-target="#MainNavbar" data-offset-top="50">
<nav class="navbar navbar-inverse navbar-fixed-top" id="mainNavbar">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="navbar-brand"><img src="images/jhacks_square_white_backround.png" height="36"></div>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li>
<a class="black" href="#about">About</a>
</li>
<li>
<a class="black" href="#faq">FAQs</a>
</li>
<li>
<a class="black" href="#schedule">Schedule</a>
</li>
<li>
<a class="black" href="#location">Location</a>
</li>
<li>
<a class="black" href="#sponsor">Sponsors</a>
</li>
<li>
<a class="black" target="_blank" href="./register.html">Register</a>
</li>
</ul>
<ul class="nav white navbar-nav navbar-right">
<li>
<a class="black" target="_blank" rel="noopener noreferrer" href="https://www.facebook.com/JHacksUMD/"><img src="images/f_logo_RGB-Blue_72.png" height="24" alt="Facebook Logo"></a>
</li>
<li>
<a class="black" target="_blank" rel="noopener noreferrer" href="https://www.instagram.com/jhacksumd/"><img src="images/IG_Glyph_Fill.png" height="24" alt="Instagram Logo"></a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<!-- Fills empty space behind the navbar -->
<div class="topSpace">
</div>
<!-- /////////////////////////////////////// -->
<div class="canvas">
<!-- triangles are generated here -->
</div>
<!-- About section -->
<div id="about">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Carousel indicators -->
<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>
<!-- Wrapper for carousel items -->
<div class="carousel-inner">
<div class="item active">
<img class="image" src="images/pic1.JPG" />
</div>
<div class="item">
<img class="image" src="images/pic2.JPG" />
</div>
<div class="item">
<img class="image" src="images/pic3.JPG" />
</div>
</div>
<!-- Carousel controls -->
<a class="carousel-control left" href="#myCarousel" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a class="carousel-control right" href="#myCarousel" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
</div>
<div class="container">
<div class="row">
<div align="center" class="col-xs-8 col-xs-offset-2 register-card">
<div class="jumbotron">
<img src="images/logo.png" style="width: 100px;"/>
<!-- <h3 class="date">JHacks 2020 was a huge success, with over 100 participants!</h3> -->
<h3>JHacks 2020 was a huge success, with over 100 participants!</h3>
<div>Check out the photos above, or see more photos on <a href="https://www.facebook.com/JHacksUMD/">Facebook</a>.</div>
</div>
</div>
</div>
</div>
</div>
<!-- /////////////////////////////////// -->
<!-- Start of FAQ section -->
<div class="container-fluid" id="faq">
<div class="top50 bottom50">
<div align="center">
<h1 class="white boldThis">FAQ's</h1>
</div>
</div>
<div class="col-xs-1">
</div>
<div class="col-xs-3 question">
<div align="center" class="q1">
<h1 class="boldThis">Who can participate?</h1>
<h3 class="white">Are you a student? Do you want make cool things? Great. Can't wait to meet you!</h3>
</div>
<div align="center" class="q4">
<h1 class="boldThis">Can I work on my project before the event?</h1>
<h3 class="white">No, we'd really like it if you started a new project for the hackathon. Take a blank canvas and paint a masterpiece!</h3>
</div>
</div>
<div class="col-xs-4 question">
<div align="center" class="q2">
<h1 class="boldThis">How big should my team be?</h1>
<h3 class="white">We suggest that participants work in teams of four. If you'd like to be on a team but can't find anyone to work with
you, you can sign up as an individual and we'll find a team for you.</h3>
</div>
<div align="center" class="q5">
<h1 class="boldThis">What should I bring?</h1>
<h3 class="white">Bring your laptop, cell phone, chargers, sleeping bag, pillow, change of clothes (nerdy shirts are preferred), toiletries,
and, of course, your creativity.</h3>
</div>
</div>
<div class="col-xs-3 question">
<div align="center" class="q3">
<h1 class="boldThis">Should my project be hardware or software?</h1>
<h3 class="white">We accept both hardware and software projects, so show your talents in the medium of your choosing!</h3>
</div>
<div align="center" class="q5">
<h1 class="boldThis">Anything I should leave at home?</h1>
<h3 class="white">Please don't bring firearms or other weapons, alcohol, illegal drugs, soldering or similar equipment, animals (no
matter how adorable), and outside food. There will be lots of food, don't worry.</h3>
</div>
</div>
</div>
<!-- End of FAQ section -->
<!-- /////////////////////////////////// -->
<!-- Start of Schedule -->
<div class="container-fluid" id="schedule">
<div class="top50 bottom50">
<h1 class="boldThis" align="center">Schedule</h1>
</div>
<div class="night col-xs-6">
<h2 class="boldThis white" align="center">Saturday</h2>
<div class="">
<div class="col-xs-12">
<table class="table">
<thead>
<th class="white">Hour</th>
<th class="white">Event</th>
</thead>
<tbody>
<tr class="">
<td>
<h4 class="white">7:15 PM</h4>
</td>
<td>
<h4 class="white">Register/Check In</h4>
</td>
</tr>
<tr class="">
<td>
<h4 class="white">8:15 PM</h4>
</td>
<td>
<h4 class="white">Opening Ceremonies</h4>
</td>
</tr>
<tr class="">
<td>
<h4 class="white">8:30 PM</h4>
</td>
<td>
<h4 class="white">Begin Hacking</h4>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="day col-xs-6">
<h2 class="boldThis" align="center">Sunday</h2>
<div class="">
<div class="col-xs-12">
<table class="table">
<thead>
<th>Hour</th>
<th>Event</th>
</thead>
<tbody>
<tr>
<td>
<h4>4:00 PM</h4>
</td>
<td>
<h4>Stop Hacking!</h4>
</td>
</tr>
<tr>
<td>
<h4>5:30 PM</h4>
</td>
<td>
<h4>Winners</h4>
</td>
</tr>
<tr>
<td>
<h4>6:00 PM</h4>
</td>
<td>
<h4>Closing Ceremonies</h4>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- End of Schedule -->
<!-- ///////////////////////////////// -->
<!-- Start of Location -->
<div id="location">
<div class="top50">
<div class="container">
<div class="row">
<div align="center">
<h1 class="boldThis top50 bottom50">Location</h1>
</div>
<div class="location-content">
<div class="row">
<div class="col-xs-4 col-xs-offset-2">
<div align="center">
<div style="width:400px;height:400px;" id="map"></div>
</div>
<script>
function initMap() {
var iribe = { lat: 38.9892873, lng: -76.93662158 };
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 15,
center: iribe
});
var marker = new google.maps.Marker({
position: iribe,
map: map
});
}
</script>
</div>
<div class="col-xs-6">
<div align="center" class="top50">
<h2 style="text-decoration:underline; font-weight:bold;">UMD, College Park</h2>
</div>
<div align="left" class="col-xs-offset-3">
<b>Brendan Iribe Center for Computer Science and Engineering</b>
<br />
<b>8125 Paint Branch Drive, College Park, MD</b>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End of Location -->
<!-- Build Something Cool -->
<!-- ///////////////////////// -->
<div class="container top50 bottom50" id="triangles">
<div class="triangleBox row">
<div class="col-xs-12">
<div class="row">
<h1 align="center" class="bottom50 boldThis">Hack an amazing website</h1>
</div>
<div id="slidecontainer" class="well">
<input class="slider1 slider" type="range" min="0" max="1" value="" step=".01" id="myRange">
<input class="slider2 slider" type="range" step="1" min="0" max="12" value="" id="myRange">
<input class="slider3 slider" type="range" value="" step="10" min="20" max="200" id="myRange">
</div>
</div>
</div>
</div>
<!-- ////////////////////////////// -->
<!-- Start of Sponsors -->
<div id="register">
<div class="container">
<div class="row">
<div align="center" class="col-xs-6 col-xs-offset-3 register-card">
<h1 class="white date">Join JHacks!</h1>
<a align="center" href="./register.html"
target="_blank" class="btn btn-primary btn-lg">Register Now!</a>
</div>
</div>
</div>
</div>
<!-- End of Sponsors -->
<!-- //////////////////////////// -->
<!-- All the scripts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/trianglify/1.1.0/trianglify.min.js"></script>
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="rangeslider/rangeslider.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin="anonymous"></script>
<script type="text/javascript" src="js/index.js"></script>
<script src="https://unpkg.com/scrollreveal/dist/scrollreveal.min.js"></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAMBc_p3jxkMuwKMb0_tiRhqA1jkz8vyhc&callback=initMap"></script>
</body>
<script>
$(document).ready(function () {
var colors = ["YlGnBu", "YlOrRd", "PuOr", "GnBu", "YlOrBr", "PRGn", "Purples", "Blues", "Oranges", "Reds", "Spectral", "PuRd"];
var choice = Math.floor(Math.random() * 13)
var curves = Math.random();
var size = [20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200];
var mySize = Math.floor(Math.random() * 19);
curves = Math.round(100 * curves) / 100;
var actualInnerWidth = $("body").prop("clientWidth");
var actualInnerHeight = $("body").prop("clientHeight");
var pattern = Trianglify({
cell_size: size[mySize],
variance: curves,
height: actualInnerHeight - 15,
width: actualInnerWidth,
x_colors: colors[choice],
});
$(".slider1").attr("value", curves);
$(".slider2").attr("value", choice);
$(".slider3").attr("value", size[mySize]);
$(".canvas").append(pattern.canvas());
$(function () {
var x = 20;
var slideVal1 = $(".slider1").val();
var slideVal2 = choice;
var slideVal3 = $(".slider3").val();
$('input[type=range]').on('input', function () {
slideVal1 = $(".slider1").val();
slideVal2 = $(".slider2").val();
slideVal3 = $(".slider3").val();
$("canvas").remove();
if (slideVal3 == 20) {
x = 20;
} else if (slideVal3 == 40) {
x = 40;
} else if (slideVal3 == 60) {
x = 60;
} else if (slideVal3 == 80) {
x = 80;
} else if (slideVal3 == 100) {
x = 100;
} else {
x = 120;
}
pattern = Trianglify({
cell_size: x,
variance: slideVal1,
x_colors: colors[slideVal2],
height: actualInnerHeight - 15,
width: actualInnerWidth
});
$(".canvas").append(pattern.canvas());
});
});
});
</script>
</html>