generated from uwhackweek/splashpage-template
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathindex.html
602 lines (574 loc) · 26.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
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
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ cookiecutter.name }}</title>
<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ cookiecutter.banner.description }}">
<meta name="author" content="{{ cookiecutter.name }}">
<link rel="shortcut icon" href="assets/images/favicon.png">
<!-- Google Font -->
<link
href="https://fonts.googleapis.com/css?family=Montserrat:600,700,800|Roboto:300,400,700&display=swap"
rel="stylesheet">
<!-- FontAwesome JS-->
<script defer src="assets/fontawesome/js/all.min.js"></script>
<!-- Theme CSS -->
<link id="theme-style" rel="stylesheet" href="assets/css/theme.css">
<link rel="stylesheet" href="assets/css/main.css">
<style>
.hero-carousel .carousel-item-1 {
background: url("{{cookiecutter.banner['image']}}") no-repeat center center;
background-size: cover;
}
</style>
</head>
<body>
<header id="header" class="header fixed-top">
<div class="branding">
<div class="container-fluid">
<nav class="main-nav navbar navbar-expand-lg">
<div class="site-logo">
<a class="scrollto" href="#hero-block">
<span class="logo-icon-text">
UW eScience Hackweek
</span>
</a>
</div>
{%- if 'apply' in cookiecutter %}
<div class="navbar-btn order-lg-2">
<a class="btn btn-secondary"
{%- if 'url' in cookiecutter.apply %}
href="{{ cookiecutter.apply.url }}"
target="_blank"
{%- endif %}
>
{{ cookiecutter.apply.title }}
</a>
</div>
{%- endif %}
<button class="navbar-toggler" type="button"
data-bs-toggle="collapse" data-bs-target="#navigation"
aria-controls="navigation" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navigation"
class="navbar-collapse collapse justify-content-lg-end me-lg-3">
<ul class="nav navbar-nav">
<li class="nav-item">
<a class="nav-link scrollto" href="#about-section">
About
</a>
</li>
<li class="nav-item">
<a class="nav-link scrollto" href="#team">
Team
</a>
</li>
<li class="nav-item">
<a class="nav-link scrollto" href="#schedule">
Schedule
</a>
</li>
<li class="nav-item">
<a class="nav-link scrollto" href="#sponsors-section">
Sponsors
</a>
</li>
</ul>
</div>
</nav>
<!--//main-nav-->
</div>
</div>
<!--//branding-->
</header>
<div id="hero-block" class="hero-block">
<div id="hero-carousel" class="hero-carousel carousel slide carousel-fade"
data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item-1 carousel-item active">
</div>
</div>
</div>
<div class="hero-block-mask"></div>
<div class="container">
<div class="hero-text-block">
<h1 class="hero-heading mb-2">
{{ cookiecutter.name }} {{ cookiecutter.banner.year }}
</h1>
<div class="hero-meta mb-3">
<i class="far fa-calendar-alt me-2"></i>
{{ cookiecutter.banner.start_date }} - {{
cookiecutter.banner.end_date }}
<i class="fas fa-map-marker-alt mx-2"></i>
{{ cookiecutter.banner.location }}
</div>
<div class="hero-intro mb-4">{{ cookiecutter.banner.description
}}
</div>
{%- if cookiecutter.banner.links %}
<div class="hero-cta">
{%- for link in cookiecutter.banner.links %}
<a class="btn btn-primary btn-lg m-2"
href="{{ link.url }}"
{{ 'target="_blank"' if link.new_window == 'True' else '' }}
>
{{ link.title }}
</a>
{%- endfor %}
</div>
{%- endif %}
</div>
<!--//hero-text-block-->
</div>
<!--//container-->
</div>
<!--//hero-block-->
<section id="about-section" class="about-section section theme-bg-light">
<div class="container">
<h3 class="section-heading text-center mb-3">
About {{ cookiecutter.name }}
</h3>
<div class="section-intro single-col-max mx-auto mb-3">
{{ cookiecutter.about.description }}
</div>
{%- if 'learn_more' in cookiecutter.about %}
<div class="about-cta text-center mb-4">
<a class="btn btn-secondary btn-lg"
href="{{ cookiecutter.about.learn_more }}"
target="_blank">
Learn about "Hackweeks"
<i class="fas fa-external-link-alt"></i>
</a>
</div>
{%- endif %}
{%- if 'links' in cookiecutter.about %}
<div class="hero-cta text-center mb-4">
<h4 class="mb-3 text-center">
JupyterBooks:
</h4>
{%- for link in cookiecutter.about.links %}
<a class="btn btn-primary btn-lg mb-3 mx-2"
href="{{ link.url }}"
{{ 'target="_blank"' if link.new_window == 'True' else '' }}
>
{{ link.title }}
</a>
{%- endfor %}
</div>
{%- endif %}
<div id="countdown-intro" class="event-countdown text-center mb-4">
<h4 class="countdown-intro mb-2 text-center">
{{ cookiecutter.banner.year }} Event Starts In:
</h4>
<div id="countdown-box"
class="countdown-box"
data-start-date="{{ cookiecutter.event_countdown }}">
{% for unit in ['days', 'hours', 'minutes', 'seconds'] %}
<span class="{{ unit }}">
<span class="number"></span>
<span class="unit">{{ unit.capitalize() }}</span>
</span>
{% endfor %}
</div>
</div>
</div>
{%- if 'applicant_info' in cookiecutter %}
<div class="media-block theme-bg-primary py-5">
<div class="container">
<h4 class="text-white text-center mb-3">
Information for Applicants
</h4>
<div
class="section-intro text-center single-col-max mx-auto text-white mb-3">
{{cookiecutter.applicant_info}}
</div>
</div>
</div>
{%- endif %}
</section>
<!--//about-section-->
{%- if cookiecutter.schedule %}
<section id="schedule" class="schedule-section section">
<div class="container">
<h3 class="section-heading text-center mb-1">Schedule</h3>
<h4 class="text-center mb-5">
All times listed below are {{ cookiecutter.schedule.timezone }}.
You might want to consult this
<a href="https://www.timeanddate.com/time/map/" target="_blank">
Time Zone Map
</a>
to figure out times in your location.</h4>
{%- if cookiecutter.schedule["tabs"] %}
<!-- Nav tabs -->
<ul class="schedule-nav nav nav-pills nav-fill" id="myTab"
role="tablist">
{% for tab in cookiecutter.schedule["tabs"] %}
{%- set link_class = '' %}
{%- set link_state = 'false' %}
{%- if loop.index == 1 %}
{%- set link_class = 'active' %}
{%- set link_state = 'true' %}
{%- endif %}
<li class="nav-item me-2">
<a class="nav-link {{ link_class }}"
id="schedule-tab-{{ loop.index }}"
data-bs-toggle="tab"
data-bs-target="#schedule-{{ loop.index }}-content"
href="#tab-{{ loop.index }}-content"
role="tab"
aria-controls="schedule-tab-{{ loop.index }}-content"
aria-selected="{{ link_state }}"
data-schedule-day="{{ tab['date'] }}"
>
<span class="heading">{{ tab['title'] }}</span>
<span class="meta">({{ tab['date'] }})</span>
</a>
</li>
{% endfor %}
</ul>
<!-- Tab panes -->
<div class="schedule-tab-content tab-content">
{% for tab in cookiecutter.schedule["tabs"] %}
{%- if 'contents' in tab %}
{%- if loop.index == 1 %}
{%- set tab_class = 'active' %}
{%- if tab['contents']|length == 0 %}
{%- set tab_class = 'active no-timeline' %}
{%- endif %}
{%- elif tab['contents']|length == 0 %}
{%- set tab_class = 'no-timeline' %}
{%- else %}
{%- set tab_class = '' %}
{%- endif %}
{%- else %}
{%- set tab_class = 'no-timeline' %}
{%- endif %}
<div class="tab-pane {{ tab_class }}"
id="schedule-{{ loop.index }}-content"
role="tabpanel"
aria-labelledby="schedule-tab-{{ loop.index }}">
{%- if 'no-timeline' in tab_class %}
<h4 class="text-center py-5 text-muted">
{{ tab['title'] }} Agenda Coming Soon...
</h4>
{%- else %}
{%- for content in tab['contents'] %}
<div class="item item-talk">
<div class="meta">
<h4 class="time mb-3">
{{ content['time'] }}
</h4>
{% if 'label' in content %}
<span
class="badge schedule-badge {{ content['label'] }}"
>
</span>
{% endif %}
</div>
<div class="content">
<h3 class="title mb-3">
{{ content['title'] }}
</h3>
{% if 'location' in content %}
<div class="location mb-3"><i
class="fas fa-map-marker-alt me-2"></i>
{{ content['location'] }}
</div>
{% endif %}
<div class="desc">
{% if 'description' in content and content['description'] is not none %}
{%- markdown -%}
{{ content['description']|safe }}
{%- endmarkdown -%}
{%- endif %}
</div>
{%- if 'leads' in content and content['leads']|length > 0 %}
<div class="profile">
<h6 class="mb-1 mt-2"> Tutorial Lead(s)</h6>
{%- for lead in content['leads'] %}
{%- set person = cookiecutter.team['people']|selectattr('title', '==', lead)|list %}
{%- if person|length > 0 %}
{%- set modal_name = person[0]['title']|lower|replace(' ', '--') %}
{%- set modal_key = '{}-modal'.format(modal_name) %}
<div class="name">
<a class="theme-link"
href="#{{modal_key}}"
data-bs-toggle="modal"
data-bs-target="#{{modal_key}}">
{{ lead }}
</a>
</div>
{%- else %}
<div class="name">{{ lead }}</div>
{%- endif %}
{%- endfor %}
</div>
{%- endif %}
{%- if 'resources' in content and content['resources'] is not none %}
<div>
<h6 class="mb-1 mt-2"> Resource(s)</h6>
<ul>
{%- for resource in content['resources'] %}
<li>
<a href="{{resource['url']}}"
target="_blank">
{{resource['title']}}
</a>
</li>
{%- endfor %}
</ul>
</div>
{%- endif -%}
</div>
</div>
{% endfor %}
<!--//item-->
{%- endif %}
</div>
<!--//tab-{{loop.index}}-content-->
{% endfor %}
</div>
<!--//schedule-tab-content-->
{%- endif %}
</div>
<!--//container-->
</section>
<!--//schedule-section-->
{% endif %}
<div class="container">
<hr>
</div>
{%- if cookiecutter.team %}
<section id="team" class="team section">
<div class="container">
<h3 class="section-heading text-center mb-3">Meet the team</h3>
<div class="section-intro text-center single-col-max mx-auto mb-5">
{{ cookiecutter.team['description'] }}
</div>
{%- if cookiecutter.team['people'] %}
<div class="row">
{%- for person in cookiecutter.team['people'] %}
{%- set modal_name = 'person-{}'.format(loop.index) %}
{%- set modal_key = '{}-modal'.format(modal_name) %}
<div class="col-6 col-lg-3 mb-4">
<div class="card rounded-0">
<a href="#{{ modal_key }}" data-bs-toggle="modal"
data-bs-target="#{{ modal_key }}"><img
src="{{ person['avatar'] }}"
class="card-img-top rounded-0" alt=""></a>
<div class="card-body">
<h5 class="card-title mb-2">{{ person['title'] }}</h5>
<div class="card-text mb-3">
<div class="meta">{{ person['role'] }}</div>
<div class="meta">
{%- for group in person['user_groups'] %}
<img
src="https://img.shields.io/badge/Hackweek-{{ group }}-purple?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAOCAQAAABedl5ZAAAACXBIWXMAAAHKAAABygHMtnUxAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAMNJREFUGBltwcEqwwEcAOAfc1F2sNsOTqSlNUopSv5jW1YzHHYY/6YtLa1Jy4mbl3Bz8QIeyKM4fMaUxr4vZnEpjWnmLMSYCysxTcddhF25+EvJia5hhCudULAePyRalvUteXIfBgYxJufRuaKuprKsbDjVUrUj40FNQ11PTzEmrCmrevPhRcVQai8m1PRVvOPZgX2JttWYsGhD3atbHWcyUqX4oqDtJkJiJHUYv+R1JbaNHJmP/+Q1HLu2GbNoSm3Ft0+Y1YMdPSTSwQAAAABJRU5ErkJggg==&style=plastic"
alt="{{ group }} badge"/>
{%- endfor %}
</div>
</div>
<!--//card-text-->
<a href="#{{ modal_key }}"
data-bs-toggle="modal"
data-bs-target="#{{ modal_key }}">
Read more →
</a>
</div>
<!--//card-->
{%- if 'social' in person %}
<div class="card-footer text-muted">
<ul class="social-list list-inline mb-0">
{%- for social in person['social'] %}
<li class="list-inline-item">
<a href="{{social['link']}}">
<i class="fab fa-{{social['icon']}}"></i>
</a>
</li>
{%- endfor %}
</ul>
<!--//social-list-->
</div>
{%- endif %}
</div>
<!--//card-->
<!-- Modal Speaker -->
<div class="modal modal-speaker modal-speaker-1"
id="{{ modal_key }}" tabindex="-1" role="dialog"
aria-labelledby="{{ modal_name }}-ModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="btn-close"
data-bs-dismiss="modal"
aria-hidden="true">×
</button>
<h4 id="{{modal_name}}-ModalLabel"
class="modal-title sr-only">
{{person['title']}}
</h4>
</div>
<div class="modal-body p-0">
<div class="theme-bg-light p-5">
<div class="row">
<div
class="col-12 col-md-auto text-center">
<img
class="profile-image mb-3 mb-md-0 me-md-4 rounded-circle mx-auto"
src="{{ person['avatar'] }}"
alt=""/>
</div>
<div
class="col text-center text-md-start mx-auto">
<h2 class="name mb-2">
{{person['title']}}
</h2>
{%- if 'pronouns' in person %}
<div class="meta">
({{ person['pronouns'] }})
</div>
{%- endif %}
<div class="meta">
{{ person['role'] }}
</div>
<div class="meta mb-2">
{{person['organizations']|map(attribute='name')|join(' & ')}}
</div>
{%- if 'social' in person %}
<ul class="social-list list-inline mb-0">
{%- for social in person['social'] %}
<li class="list-inline-item">
<a href="{{social['link']}}">
<i class="fab fa-{{social['icon']}}"></i>
</a>
</li>
{%- endfor %}
</ul>
{%- endif %}
<!--//social-list-->
</div>
<!--//col-->
</div>
<!--//row-->
</div>
<div class="desc p-4 p-lg-5">
<div class="mb-2">
{%- for group in person['user_groups'] %}
<img
src="https://img.shields.io/badge/Hackweek-{{ group }}-purple?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAOCAQAAABedl5ZAAAACXBIWXMAAAHKAAABygHMtnUxAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAMNJREFUGBltwcEqwwEcAOAfc1F2sNsOTqSlNUopSv5jW1YzHHYY/6YtLa1Jy4mbl3Bz8QIeyKM4fMaUxr4vZnEpjWnmLMSYCysxTcddhF25+EvJia5hhCudULAePyRalvUteXIfBgYxJufRuaKuprKsbDjVUrUj40FNQ11PTzEmrCmrevPhRcVQai8m1PRVvOPZgX2JttWYsGhD3atbHWcyUqX4oqDtJkJiJHUYv+R1JbaNHJmP/+Q1HLu2GbNoSm3Ft0+Y1YMdPSTSwQAAAABJRU5ErkJggg==&style=plastic"
alt="{{ group }} badge"
/>
{%- endfor %}
</div>
{{ person['bio'] }}
{%- if person['expertise']|length > 0 %}
<div class="mt-1">
<h5>Interests / Expertise</h5>
<ul>
{%- for ex in person['expertise'] %}
<li>{{ex}}</li>
{%- endfor %}
</ul>
</div>
{%- endif %}
</div>
</div>
<!--//modal-body-->
</div>
<!--//modal-content-->
</div>
<!--//modal-dialog-->
</div>
<!--//modal-->
</div>
<!--//col-->
{%- endfor %}
</div>
<!--//row-->
{%- endif %}
</div>
<!--//container-->
</section>
<!--//team-->
{%- endif %}
{%- if cookiecutter.sponsors %}
<section id="sponsors-section" class="sponsors-section section theme-bg-light">
<div class="container">
<h3 class="section-heading text-center mb-3">Our Sponsors</h3>
<div class="section-intro text-center single-col-max mx-auto mb-5">
{{ cookiecutter.sponsors['description'] }}
</div>
{%- if cookiecutter.sponsors['organizations']|length > 0 %}
<div class="row logos justify-content-center">
{%- for org in cookiecutter.sponsors['organizations'] %}
<div class="logo-item col-6 col-md-4 col-lg-2">
{%- if org['website'] %}
<a href="{{ org['website'] }}" target="_blank"><img
src="{{ org['logo_url'] }}"
alt="{{ org['name'] }}"></a>
{%- else %}
<img src="{{ org['logo_url'] }}" alt="{{ org['name'] }}">
{%- endif %}
</div>
{%- endfor %}
</div>
{%- endif %}
<!--//row-->
</div>
<!--//container-->
</section>
<!--//sponsors-section-->
{%- endif %}
<footer class="footer py-5 theme-bg-primary">
<div class="container text-center">
{%- if cookiecutter.footer['social']|length > 0 %}
<ul class="social-list list-inline mb-4">
{%- for soc in cookiecutter.footer['social'] %}
<li class="list-inline-item me-3">
<a href="{{ soc['link'] }}">
<i class="{{ soc['icon_pack'] }} fa-{{ soc['icon'] }}"></i>
</a>
</li>
{%- endfor %}
</ul>
<!--//social-list-->
{%- endif %}
<!--/* This template is free as long as you keep the footer attribution link. If you'd like to use the template without the attribution link, you can buy the commercial license via our website: themes.3rdwavemedia.com Thank you for your support. :) */-->
<small class="copyright">©
<script type="text/javascript">
document.write(new Date().getFullYear().toString());
</script>
{{ cookiecutter.name }}
</small>
<br>
<small class="copyright">
Designed with <i class="fas fa-heart" style="color: #EC645E;"></i>
by
<a href="http://themes.3rdwavemedia.com" target="_blank">
Xiaoying Riley
</a> for developers
</small>
<br>
<small class="copyright">
This template was forked from the University of Washington eScience Institute
<a href="https://github.com/uwhackweek/splashpage-template" target="_blank">
Hackweek program
</a>
</small>
</div>
</footer>
<!-- Javascript -->
<script defer src="assets/plugins/popper.min.js"></script>
<script defer src="assets/plugins/bootstrap/js/bootstrap.min.js"></script>
<script defer src="assets/plugins/smoothscroll.min.js"></script>
<script defer src="assets/plugins/gumshoe/gumshoe.polyfills.min.js"></script>
<script defer src="assets/js/main.js"></script>
</body>
</html>