From 13521559402df023ea699ce76a3d5f7eba28a6ff Mon Sep 17 00:00:00 2001 From: hedy Date: Mon, 22 Jan 2024 19:34:18 +0800 Subject: Events: Make good use of bulma components --- pydis_site/templates/events/current_event.html | 19 +++ pydis_site/templates/events/index.html | 145 +++++++++++++++------ .../templates/events/sidebar/events_list.html | 62 +++++++-- pydis_site/templates/events/upcoming_event.html | 15 --- 4 files changed, 177 insertions(+), 64 deletions(-) delete mode 100644 pydis_site/templates/events/upcoming_event.html (limited to 'pydis_site/templates') diff --git a/pydis_site/templates/events/current_event.html b/pydis_site/templates/events/current_event.html index dd94fb3f..dd59b040 100644 --- a/pydis_site/templates/events/current_event.html +++ b/pydis_site/templates/events/current_event.html @@ -1 +1,20 @@ +{% load static %} + {# Current or ongoing event #} +{# (n/a) #} + +{# Next event to promote #} +
+
+
+

Upcoming event

+

PyWeek 37

+

March 17-24

+
+
+ PyWeek logo +
+
+

PyWeek has been running a bi-annual game jam for the Python language. As of 2020, we are excited to say we are officially partnered with PyWeek to co-run these events.

+ Learn more +
diff --git a/pydis_site/templates/events/index.html b/pydis_site/templates/events/index.html index f51576fa..df83d895 100644 --- a/pydis_site/templates/events/index.html +++ b/pydis_site/templates/events/index.html @@ -10,34 +10,87 @@

Briefly describe events. Explain how to subscribe to updates from the #roles channel.

- {% include "events/current_event.html" %} - {% include "events/upcoming_event.html" %} - -

Scheduled events

-
-
-
-

January-June

- -
-
-
-
-

July-December

- -
+
+

Scheduled events for 2024

+
+
+

+ +

+
+
+
+
PyWeek 37
+

March 17-24

+

The bi-annual game-jam where you are allowed one week to write a game from scratch, either as an individual or as a team.

+
+ Learn more +
+
+
+
+

+ +

+
+
+
+
Revival of Code
+

TBD

+

Revisit past years' Advent of Code problems! Puzzles are relased every other day and there will be dedicated solution threads for you to discuss with other participants.

+
+ Learn more +
+
+
+
+

+ +

+
+
+
+
Code Jam
+

TBD

+

Our annual code-jam where we place you in a team of five and you have 11 days to code some sort of application or program in Python based on a selected technology or framework.

+
+ Learn more +
+
+
+
+

+ +

+
+
+
+
PyWeek 38
+

September

+

The bi-annual game-jam where you are allowed one week to write a game from scratch, either as an individual or as a team.

+
+ Learn more +
+
+
+
+

+ +

+
+
+
+
Advent of Code
+

December 1-25

+

Daily programming puzzles with increasing difficulties where each puzzle has a little story and you can discuss solutions with other participants. You are allowed to use any programming language you like.

+
+ Learn more +
+
-
{% include "events/sidebar/events_list.html" %}
@@ -46,45 +99,55 @@

All events