-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
187 lines (180 loc) · 5.8 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
---
layout: default
---
<section class="tone-dark header">
<img class="logo"
src="images/logo.svg"
alt="{{ site.data.info.name }}">
<p>
{{ site.data.info.date }}
<br>
{{ site.data.info.location }}
</p>
{% if site.data.action.text %}
<p>
{% if site.data.action.link %}
<a class="tone-dark link-action"
href="{{ site.data.action.link }}"
rel="noreferrer">{{ site.data.action.text | markdownify | remove: '<p>' | remove: '</p>' }}</a>
{% else %}
{{ site.data.action.text | markdownify }}
{% endif %}
</p>
{% endif %}
<p>
Follow us on <a href="https://facebook.com/{{ site.data.info.facebook }}"
rel="noreferrer">Facebook</a>
{% if site.data.info.twitter %}
and <a href="https://twitter.com/{{ site.data.info.twitter }}"
rel="noreferrer">Twitter</a>
{% endif %}
for updates!
</p>
</section>
<section class="tone-dark">
<div>
{{ site.data.info.description_long | markdownify }}
{% if site.data.workshops %}
<p>
We also organize <a href="/workshops">{{ site.data.workshops.name }}</a>.
</p>
{% endif %}
{% if site.data.info.past_editions %}
<p>
Check out the past editions:
{% for edition in site.data.info.past_editions %}
<a href="{{ edition[1] }}">{{ edition[0] }}</a>
{% endfor %}
</p>
{% endif %}
<p>
Please keep in mind our <a href="/pdf/rules.pdf">rules</a>.
</p>
</div>
</section>
{% if site.data.schedule %}
<section id="schedule">
<h1>Schedule</h1>
<div class="items-container">
{% for part in site.data.schedule %}
<div class="item-large">
<table>
{% if part[0] != '' %}
<tr>
<th colspan="2">
<h2>{{ part[0] }}</h2>
</th>
</tr>
{% endif %}
{% for item in part[1] %}
<tr>
<td>{{ item[0] }}</td>
<td>{{ item[1] }}</td>
</tr>
{% endfor %}
</table>
</div>
{% endfor %}
</div>
</section>
{% endif %}
<section>
{% if site.data.faq %}
<h1 id="faq">F.A.Q.</h1>
<div class="items-container">
{% for item in site.data.faq %}
<div class="item-large">
<h2 {% if item.id %} id="{{ item.id }}" {% endif %}>{{ item.q }}</h2>
<p>{{ item.a | markdownify }}</p>
</div>
{% endfor %}
<div class="item-large">
<h2>I have another question...</h2>
<p>Contact us on <a href="https://facebook.com/{{ site.data.info.facebook }}"
rel="noreferrer">Facebook</a>,
{% if site.data.info.twitter %}
on <a href="https://twitter.com/{{ site.data.info.twitter }}"
rel="noreferrer">Twitter</a>,
{% endif %}
<br>
or by email ({{ site.data.info.email }})!</p>
</div>
{% endif %}
</section>
{% if site.data.sponsors %}
<section class="section-sponsors">
{% if site.data.sponsors.show_prospectus %}
<div>
<p>Interested in sponsoring us? Check out our <a href="/pdf/sponsor-prospectus.pdf">sponsorship prospectus</a>.</p>
</div>
{% endif %}
{% for tier in site.data.sponsors.tiers %}
{% if tier[1].show_title %}
<h1>{{ tier[0] }}</h1>
{% endif %}
{% if tier[1].sponsors %}
<div class="items-container"
{% if tier[1].color %} style="background: {{ tier[1].color }}" {% endif %}>
{% for sponsor in tier[1].sponsors %}
{% comment %} Use SVG if available, PNG otherwise {% endcomment %}
{% assign file_img = 'null' %}
{% assign file_svg_path = sponsor[0] | prepend: '/images/logos/' | append: '.svg' %}
{% for file in site.static_files %}
{% if file.path == file_svg_path %}
{% assign file_img = file_svg_path %}
{% endif %}
{% endfor %}
{% if file_img == 'null' %}
{% assign file_img = sponsor[0] | prepend: '/images/logos/' | append: '.png' %}
{% endif %}
<div class="item-large">
<a href="{{ sponsor[1] }}"
rel="noreferrer">
<img src="{{ file_img }}"
alt="{{ tier[0] }} - {{ sponsor[0] }}"
style="height: {{ tier[1].size }}vh">
</a>
</div>
{% endfor %}
</div>
{% endif %}
{% endfor %}
</section>
{% endif %}
<section class="tone-dark">
<h1>Committee</h1>
<div class="items-container">
{% for person in site.data.organizers.people %}
<div class="item-small">
<a class="person-link"
href="{{ person.link }}"
rel="noreferrer">
<div class="person-container">
<img class="person-image"
src="images/people/{{ person.first }} {{ person.last }}.jpg"
alt="Picture of {{ person.first }} {{ person.last }}">
<div class="person-info">
<span class="person-first">{{ person.first }}</span>
<br>
<span class="person-last">{{ person.last }}</span>
</div>
</div>
</a>
</div>
{% endfor %}
</div>
</div>
{% if site.data.organizers.group %}
<p>
{{ site.data.info.name }} is organized by {{ site.data.organizers.group.name }}, whose legal documents can be viewed
{% if site.data.organizers.group.link %}
<a href="{{ site.data.organizers.group.link }}">here</a>.
{% else %}
<a href="/legal">here</a>.
{% endif %}
</p>
{% endif %}
<p>
Website template made with love by <a href="https://lauzhack.com">LauzHack</a>.
</p>
</section>