aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/events/pages/adventofcode
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-01-20 14:27:42 +0800
committerGravatar hedy <[email protected]>2024-01-20 14:36:43 +0800
commit51bfa2cb88dd5c29f80bb8f9aa9d724d33a87d45 (patch)
tree8670e0d5fbc9abc105bf781cddbf7430ad2e1369 /pydis_site/templates/events/pages/adventofcode
parentMerge pull request #1207 from python-discord/dependabot/pip/python-frontmatte... (diff)
Events: Initial redesign
- Added standalone pages for each event - Added initial design of new layout - Refactored some sidebars and templates to update current/upcoming event - Put two CJ10 assets into their own dedicated folder Includes dummy text for event descriptions and content that is not up-to-date: Current and Upcoming event components.
Diffstat (limited to 'pydis_site/templates/events/pages/adventofcode')
-rw-r--r--pydis_site/templates/events/pages/adventofcode/_index.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/pydis_site/templates/events/pages/adventofcode/_index.html b/pydis_site/templates/events/pages/adventofcode/_index.html
new file mode 100644
index 00000000..b45ef33b
--- /dev/null
+++ b/pydis_site/templates/events/pages/adventofcode/_index.html
@@ -0,0 +1,32 @@
+{% extends "events/base_sidebar.html" %}
+
+{% block breadcrumb %}
+ <li><a href="{% url "events:index" %}">Events</a></li>
+ <li class="is-active"><a href="#">Advent of Code</a></li>
+{% endblock %}
+
+{% block title %}Advent of Code{% endblock %}
+
+{% block event_content %}
+<p>
+ Each year, many of our members take part of an online coding competition called
+ <a href="https://adventofcode.com/" target="_blank" rel="noopener">Advent of Code</a> that takes place in December. Advent of Code is an
+ Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved
+ in any programming language you like, including Python.
+</p>
+<p>
+ During the event, we will open a special discussion channel in which our members can discuss the puzzles
+ and compare their solutions. We will also open a private leaderboard and may even reward the best scoring
+ members on that board with prizes!
+</p>
+<p>
+ However, this event isn't purely competitive. You can also join in just to see how far you'll get, to
+ challenge yourself, as a way of learning Python, or just for the fun of it. In 2019, almost 200 members
+ signed up for our private leaderboard, but many more took on the challenge without focusing on the
+ competitive aspect.
+</p>
+{% endblock %}
+
+{% block sidebar %}
+ {% include "events/sidebar/adventofcode/useful-links.html" %}
+{% endblock %}