-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjury.html
49 lines (44 loc) · 2.3 KB
/
jury.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
---
layout: base
title: Jury
---
{% include header.html heading="Jury" lead="Our jury consists of professionals from various fields. Convince them with your project to win prizes. More jury members will be announced soon, so stay tuned!" %}
{% assign released_jury = site.jury | where: "draft", false %}
{% if released_jury.size > 0 %}
<div class="content">
<div class="row" style="margin-bottom: -1px">
{% for jury in released_jury %}
<div class="col-12 col-md-6 border-grey border-right border-bottom p-5 text-center" data-toggle="modal" data-target="#jury-modal-{{ forloop.index }}">
<div class="mb-5 mx-auto">
{% include avatar.html src=jury.image alt=jury.name %}
</div>
<p class="lead mb-0">{{ jury.name }}</p>
<p class="text-muted mb-0">{{ jury.area }}</p>
</div>
<div class="modal fade text-body text-center" id="jury-modal-{{ forloop.index }}" tabindex="-1" role="dialog" aria-labelledby="jury-modal-label-{{ forloop.index }}" aria-hidden="true">
<div class="modal-dialog modal-lg modal-dialog-scrollable" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="jury-modal-label-{{ forloop.index }}">{{ jury.name }}</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="p-5 text-center">
{% include avatar.html src=jury.image alt=jury.name %}
</div>
{{ jury.content }}
</div>
<div class="modal-footer">
<button type="button" class="btn btn-dark" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% else %}
{% include comingsoon.html text="The jury has not yet been announced. Stay tuned!" %}
{% endif %}