-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathhome.html
128 lines (121 loc) · 4.35 KB
/
home.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
---
layout: default
title: UIUC's ICPC Team Homepage
---
{% assign now = site.time | date: "%j" %}
<!--
<div><center>
<font color="red">
<h2 class="title" style="font-size:20pt">
<b>Welcome back!</b> SIG-ICPC will be holding an informational practice on September 1st! In the meantime, check out the announcements below and <a href="https://www-s.acm.uiuc.edu/cgi-bin/mailman/listinfo/icpc-l">join our mailing list</a>!
</h2>
<br/>
</font>
<br/>
</center></div>
-->
{% if site.data.message['show'] %}
<div class="alert message">
<div class="head" style="border-bottom: none;">
<p>{{ site.data.message['message'] }}</p>
<div class="fa fa-bullhorn fa-lg"></div>
</div>
<div class="body"></div>
</div>
{% endif %}
{% assign week = today | minus: 7 %}
{% if site.categories["announcements"] or size > 0 %}
<div class="alert announcement">
<div class="head">
<p>Hey! Here are the past week's announcements, latest first:
<div class="fa fa-comment fa-lg"></div>
</div>
<div class="body">
<ul class="list-group">
{% for announcement in site.categories["announcements"] %}
{% assign announcement_time = announcement.date | date: "%j" %}
{% assign age = now | minus: announcement_time %}
{% if age <= 7 %}
<li class="list-group-item">
<a href="{{ site.baseurl }}{{ announcement.url }}">
<h2>{{ announcement.title }} <span class="pull-right">{{ announcement.date | date: "%b %-d, %Y" }}</span></h2>
<div>
{% if announcement.description %}
{{ announcement.description }}
{% else %}
{{ announcement.content | strip_html | truncatewords:30 }}
{% endif %}
</div>
</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
{% endif %}
{% if site.categories["practices"] or size > 0 %}
{% for practice in site.categories["practices"] limit:1 %}
<a href="{{ site.baseurl }}{{ practice.url }}">
<div class="alert practice">
<div class="head">
<p>Review the latest practice from
<b>{{ practice.date | date: "%b %-d, %Y" }}</b>.</p>
<div class="fa fa-code fa-lg"></div>
</div>
<div class="body">
<h2>{{ practice.title }}</h2>
<div>
{% if practice.description %}
{{ practice.description }}
{% else %}
{{ practice.content | strip_html | truncatewords:30 }}
{% endif %}
</div>
</div>
</div>
</a>
{% endfor %}
{% endif %}
<div class="item">
<a>
<h2 class="title">The Competition</h2>
<div>
ICPC is the world's oldest and most prestigious algorithmic programming competition.
During ICPC competitions, teams of three university students compete to solve as many challenging
programming problems as they can within 5 hours. The tournament is separated
into multiple stages; for US teams, it consists of a <b>Regionals</b> competition
and the <b>World Finals</b>. The top
teams in each region advance to the World Finals, which
is held in a different country each year.
</div>
</a>
</div>
<div class="item">
<a>
<h2 class="title">The Group</h2>
<div>
SIG-ICPC is for anyone who enjoys competitive programming or challenging
algorithmic problems, but is particularly targeted towards those who
want to do well in ICPC competitions. We meet every week to explain how to
solve problems that appear in ICPC and other programming competitions and
to practice solving challenging problems.
</div>
<div>
You do not need to be a computer science student to participate in our
practices or the ICPC competitions -- we welcome everyone who has an
interest in learning algorithmic programming!
</div>
<div>
In addition to helping in programming competitions, algorithmic
problem-solving skills are incredibly helpful for technical interviews.
Doing well in ICPC is also a great resume booster for getting a job at
a top company.
</div>
<div>
<strong>
In the past 12 years, our school has advanced to World Finals 11 times. Help us continue this legacy!
</strong>
</div>
</a>
</div>