aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/events/current_event.html
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/current_event.html
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/current_event.html')
-rw-r--r--pydis_site/templates/events/current_event.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/pydis_site/templates/events/current_event.html b/pydis_site/templates/events/current_event.html
new file mode 100644
index 00000000..11a98343
--- /dev/null
+++ b/pydis_site/templates/events/current_event.html
@@ -0,0 +1,18 @@
+{# Current or ongoing event #}
+
+{% load static %}
+<h2 class="title is-4">Current event</h2>
+<div class="box">
+ <h2 class="title is-4"><a href="{% url "events:page" path="code-jams/10" %}">Code Jam 2023</a></h2>
+ <div class="columns is-3" style="--columnGap: 0.75rem;">
+ <div class="column">
+ <p>Once a year we host a code jam for members of our server to participate in. The code jam is an event where we place you in a team with 5 other random server members. You then have 11 days to code some sort of application or program in Python. Your program must use the specified technology/framework and incorporate the theme chosen by the server.</p>
+ <a href="{% url "events:page" path="code-jams/10" %}" class="button is-link">
+ Join now
+ </a>
+ </div>
+ <div class="column">
+ <img src="/static/images/events/summer_code_jam_2023/banner3.png" alt="Code Jam 2023">
+ </div>
+ </div>
+</div>