-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathschedule.html
56 lines (52 loc) · 1.63 KB
/
schedule.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
---
title: Schedule
description: Get all event details in one place
layout: page
---
{% assign event = site.data.events[0] %}
<article class="text-center">
<p class="lead">
{% unless event.has_ended %}Sign up for {% endunless %}{{ event.title }} {{ event.order }} 💻{% if event.has_ended %} has ended!{% endif %}
<br />
{{ event.date }}, {{ event.time }}, {% if event.type == "remote" %}partipate from home!{% else %} at {{ event.venue | default: "ICT-208" }}{% endif %}
<br />
Stay tuned for more updates!
</p>
<br />
{% if event.has_ended %}
<span class="btn btn-dark disabled btn-lg text-light">Event completed!</span>
{% else %}
<a href="{{ event.register_link }}" class="btn btn-info btn-lg text-light" target="_blank">Register Now!</a>
{% endif %}
<img
alt="{{ event.title }} {{ event.order }} Poster"
class="poster my-5{% if event.has_ended %} old-pic{% endif %}"
src="{{ event.poster_link }}"
style="background: rgb(26, 18, 69);"
/>
</article>
<h3>Previous events</h3>
<div class="table-responsive">
<table class="table table-striped table-borderless table-hover">
<tbody>
{% for event in site.data.events %}
{% if event.has_ended %}
<tr>
<th scope="row">
{{ event.title }} {{ event.order }}{% if event.date %}: {{ event.date }}{% endif %}
</th>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
</div>
<div id="suggestion-grid" class="mt-5">
<h5 class="text-md-center">While you're waiting for the next events, check our previous problems:</h5>
<a href="archive">
<div id="suggest-one" class="suggestion-card">
<h3>📚 Archive</h3>
<h5>Previous Questions</h5>
</div>
</a>
</div>