Skip to content

Commit b71a462

Browse files
committed
Merge branch 'new-website' into gh-pages
2 parents 0ef4f3e + d03a427 commit b71a462

35 files changed

+875
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Ask a question
4+
url: https://github.com/kevinlin1/just-the-class/discussions
5+
about: Ask questions and discuss with other community members
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*.gem
2+
.bundle/
3+
.jekyll-cache/
4+
.jekyll-metadata
5+
.sass-cache/
6+
Gemfile.lock
7+
_site/
8+
node_modules/
9+
vendor/

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
icpc.cs.illinois.edu

Gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source 'https://rubygems.org'
2+
gem 'github-pages', group: :jekyll_plugins
3+
gem "webrick", "~> 1.8"

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Kevin Lin
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# SIG ICPC Website
2+
3+
a cool website
4+
5+
made with :heart:
6+
7+
using this [wonderful template](https://github.com/kevinlin1/just-the-class)

_config.yml

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole site, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing these this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'jekyll serve'. If you change this file, please restart the server process.
10+
11+
# Site settings
12+
# These are used to personalize your new site. If you look in the HTML files,
13+
# you will see them accessed via {{ site.title }}, {{ site.github_repo }}, and so on.
14+
# You can create any custom variable you would like, and they will be accessible
15+
# in the templates via {{ site.myvariable }}.
16+
title: SIG ICPC @ UIUC
17+
tagline: a very cool website for sig icpc
18+
description: we're so cool omg
19+
author: SIG ICPC
20+
baseurl: '/' # the subpath of your site, e.g. /blog
21+
url: 'https://icpc.cs.illinois.edu' # the base hostname & protocol for your site, e.g. http://example.com
22+
exclude: ["Gemfile", "Gemfile.lock", "LICENSE"]
23+
24+
# Theme settings
25+
remote_theme: just-the-docs/[email protected]
26+
color_scheme: light
27+
search_enabled: true
28+
heading_anchors: true
29+
permalink: pretty
30+
aux_links:
31+
notes:
32+
- 'https://github.com/acm-uiuc/icpc-notes'
33+
src:
34+
- 'https://github.com/acm-uiuc/icpc-web'
35+
footer_content:
36+
37+
# Collections for website data
38+
collections:
39+
staffers:
40+
modules:
41+
schedules:
42+
announcements:
43+
# Default layouts for each collection type
44+
defaults:
45+
- scope:
46+
path: ''
47+
type: staffers
48+
values:
49+
layout: staffer
50+
height: 300
51+
subpath: '/assets/images/'
52+
width: 300
53+
- scope:
54+
path: ''
55+
type: modules
56+
values:
57+
layout: module
58+
- scope:
59+
path: ''
60+
type: schedules
61+
values:
62+
layout: schedule
63+
- scope:
64+
path: ''
65+
type: announcements
66+
values:
67+
layout: announcement
68+
69+
compress_html:
70+
clippings: all
71+
comments: all
72+
endings: all
73+
startings: []
74+
blanklines: false
75+
profile: false
76+
77+
liquid:
78+
error_mode: strict
79+
strict_filters: true

_includes/minutes.liquid

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{% capture _minutes_workspace %}
2+
{% comment %}
3+
Return the number of minutes between midnight and the given time string (e.g. '9:30 AM').
4+
5+
Parameters:
6+
`time` (string): the time to convert.
7+
{% endcomment %}
8+
9+
{% assign _time = include.time %}
10+
{% assign _hhmm = _time | split: ' ' | first | split: ':' %}
11+
{% assign _hours = _hhmm | first | to_integer %}
12+
{% assign _minutes = _hhmm | last | to_integer %}
13+
{% assign _ampm = _time | split: ' ' | last | upcase %}
14+
15+
{% if _ampm == 'AM' and _hours == 12 %}
16+
{% assign _hours = _hours | minus: 12 %}
17+
{% elsif _ampm == 'PM' and _hours != 12 %}
18+
{% assign _hours = _hours | plus: 12 %}
19+
{% endif %}
20+
{% endcapture %}{% assign _minutes_workspace = '' %}{{ _hours | times: 60 | plus: _minutes }}

_layouts/announcement.html

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<div class="announcement">
2+
<h2>{{ page.title }}</h2>
3+
<span class="announcement-meta">
4+
{% if page.date %}
5+
{{ page.date | date: '%b %e' }}
6+
&middot;
7+
{% endif %}
8+
{% assign minutes = content | strip_html | number_of_words | divided_by: 180.0 | round %}
9+
{{ minutes }} min read
10+
</span>
11+
<div>
12+
{{ content }}
13+
</div>
14+
</div>

_layouts/module.html

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<h2 class="fs-4" id="{{ page.title | slugify }}" >{{ page.title }}</h2>
2+
<div class="module">
3+
{{ content }}
4+
</div>

_layouts/schedule.html

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{% assign start_time = page.timeline | first %}
2+
{% capture offset %}{% include minutes.liquid time=start_time %}{% endcapture %}
3+
<div class="schedule">
4+
<ul class="schedule-timeline" style="min-width: {{ page.schedule | size | times: 120 }}px">
5+
{% for time in page.timeline %}
6+
<li class="schedule-time">{{ time }} </li>
7+
{% endfor %}
8+
</ul>
9+
<ul class="schedule-group">
10+
{% for day in page.schedule %}
11+
<li class="schedule-day">
12+
<h2 class="schedule-header no_anchor">{{ day.name }}</h2>
13+
{% if day.events %}
14+
<ul class="schedule-events" style="height: {{ page.timeline | size | times: 40 }}px">
15+
{% for event in day.events %}
16+
{% capture start %}{% include minutes.liquid time=event.start %}{% endcapture %}
17+
{% capture end %}{% include minutes.liquid time=event.end %}{% endcapture %}
18+
{% assign top = start | minus: offset | times: 40 | divided_by: 30 %}
19+
{% assign height = end | minus: start | times: 40 | divided_by: 30 %}
20+
<li class="schedule-event {% if event.class %}{{ event.class }}{% else %}{{ event.name | slugify }}{% endif %}"
21+
style="top: {{ top }}px; height: {{ height }}px;">
22+
<div class="name">{{ event.name }}</div>
23+
<div class="time">{{ event.start }}–{{ event.end }}</div>
24+
{% if event.location %}
25+
<div class="location">{{ event.location }}</div>
26+
{% endif %}
27+
</li>
28+
{% endfor %}
29+
</ul>
30+
{% endif %}
31+
</li>
32+
{% endfor %}
33+
</ul>
34+
</div>

_layouts/staffer.html

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<div class="staffer">
2+
{%- if page.photo -%}
3+
<img class="staffer-image" src="{{ site.baseurl }}{{ page.subpath }}{{ page.photo }}" alt="" width="{{ page.width }}" height="{{ page.height }}">
4+
{%- endif -%}
5+
<div>
6+
<h3 class="staffer-name" id="{{ page.name | slugify }}">
7+
{%- if page.website -%}
8+
<a href="{{ page.website }}">{{ page.name }}</a>
9+
{%- else -%}
10+
{{ page.name }}
11+
{%- endif -%}
12+
</h3>
13+
{%- if page.pronouns -%}
14+
<p class="staffer-pronouns">{{ page.pronouns }}</p>
15+
{%- endif -%}
16+
{%- if page.email -%}
17+
<p><a href="mailto:{{ page.email }}">{{ page.email }}</a></p>
18+
{%- endif -%}
19+
{%- if page.meta -%}
20+
<dl class="staffer-meta">
21+
{%- for meta in page.meta -%}
22+
<dt>{{ meta[0] }}</dt>
23+
<dd>{{ meta[1] | markdownify }}</dd>
24+
{%- endfor -%}
25+
</dl>
26+
{%- endif -%}
27+
{{ content }}
28+
</div>
29+
</div>

_modules/01-2025.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: Janurary 2025
3+
---
4+
5+
Jan 23
6+
: **CodeForces**{: .label .label-red }CodeForces Practice
7+
: [CodeForces Link](#)
8+
9+
Jan 30
10+
: **LeetCode**{: .label .label-green }Prefix Sum
11+
: [Meeting Notes](https://github.com/acm-uiuc/icpc-notes/blob/main/sp2025/2025-01-30.md)

_modules/02-2025.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: February 2025
3+
---
4+
5+
Feb 6
6+
: **LeetCode**{: .label .label-green }2 Pointers
7+
: [Meeting Notes](https://github.com/acm-uiuc/icpc-notes/blob/main/sp2025/2025-02-06.md)
8+
9+
Feb 8
10+
: **Universal Cup**{: .label .label-blue } Universal Cup Practice
11+
: [Link]
12+
13+
Feb 13
14+
: **LeetCode**{: .label .label-green }Sliding Window
15+
: [Meeting Notes](https://github.com/acm-uiuc/icpc-notes/blob/main/sp2025/2025-02-13.md)
16+
17+
Feb 15
18+
: **ICPC**{: .label .label-yellow } ICPC Southwestern European Regional Contest (SWERC 2024)
19+
: [Codeforces Link](https://codeforces.com/gym/105677)
20+
21+
Feb 20
22+
: **LeetCode**{: .label .label-green }Stack
23+
: [Meeting Notes](https://github.com/acm-uiuc/icpc-notes/blob/main/sp2025/2025-02-20.md)
24+
25+
Feb 22
26+
: **ICPC**{: .label .label-yellow } ICPC Northwestern European Regional Contest (NWERC 2024)
27+
: [Codeforces Link](https://codeforces.com/gym/105562)
28+
29+
Feb 27
30+
: **CodeForces**{: .label .label-red } General CodeForces Comp
31+
: [Codeforces Link](https://codeforces.com/group/tKC7z9Nm0A/contest/591799)
32+

_modules/03-2025.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: March 2025
3+
---
4+
5+
Mar 1
6+
: **ICPC**{: .label .label-yellow } ACM-ICPC Nordic Collegiate Programming Contest (NCPC 2023)
7+
: [Codeforces Link](https://codeforces.com/gym/105427)
8+
9+
Mar 6
10+
: **LeetCode**{: .label .label-green } Queue
11+
: [Meeting Notes](https://github.com/acm-uiuc/icpc-notes/blob/main/sp2025/2025-03-06.md)
12+
13+
Mar 8
14+
: **ICPC**{: .label .label-yellow } 2024 ICPC Pacific Northwest Regional
15+
: [Kattis Link](https://open.kattis.com/contests/n5ydd5)
16+
17+
Mar 13
18+
: **LeetCode**{: .label .label-green } HashMap
19+
: [Meeting Notes](https://github.com/acm-uiuc/icpc-notes/blob/main/sp2025/2025-03-06.md)
20+
21+
Mar 27
22+
: **CodeForces**{: .label .label-red } General CodeForces Comp
23+
: [Codeforces Link](https://codeforces.com/group/tKC7z9Nm0A/contest/599435)
24+
25+
Mar 29
26+
: **Universal Cup**{: .label .label-blue } Universal Cup Practice
27+
: [Contest Link](https://ucup.ac/)
28+

_sass/custom/announcement.scss

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.announcement {
2+
@extend %card;
3+
4+
h1, h2 {
5+
@extend .text-gamma;
6+
}
7+
8+
.announcement-meta {
9+
@extend .text-epsilon;
10+
}
11+
}

0 commit comments

Comments
 (0)