diff options
author | 2024-03-29 11:42:57 +0100 | |
---|---|---|
committer | 2024-03-29 11:42:57 +0100 | |
commit | dac32269a9012ef3181feb40dedf3c94d0600c2a (patch) | |
tree | 2afc4be30412818cd26ef7c4544ed8af9d278b7d /pydis_site/templates/events/current_event.html | |
parent | Merge pull request #1268 from python-discord/fix/footer-logo-filtering (diff) | |
parent | Events: Fix grammar in content (diff) |
Merge pull request #1210 from python-discord/feat/events-redesign
Redesign of events page
Diffstat (limited to 'pydis_site/templates/events/current_event.html')
-rw-r--r-- | pydis_site/templates/events/current_event.html | 25 |
1 files changed, 25 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..e099ccb6 --- /dev/null +++ b/pydis_site/templates/events/current_event.html @@ -0,0 +1,25 @@ +{% load static %} + +{# Current/next event to promote #} +<div class="box has-background-warning-light" style="padding: 2rem; padding-top: .75rem; margin-top: 2rem;"> + <small class="has-text-grey">Recent event</small> + <div class="columns is-3 mt-1" style="--columnGap: 0.75rem;"> + <div class="column"> + <h2 class="title is-4"><a href="https://pyweek.org/37/">PyWeek 37</a></h2> + <p class="subtitle is-6" style="margin-top: -.75rem;"> + <span class="icon-text"> + <span class="icon"><i class="fa-regular fa-calendar"></i></span><span>March 17-24</span> + </span> + </p> + </div> + <div class="column"> + <img src="https://pyweek.readthedocs.io/en/latest/_static/pyweek.svg" style="border-radius: 10px;" alt="PyWeek logo"> + </div> + </div> + <p>A bi-annual game jam where participants write a game in Python in a week, either individually or as a team. The theme is voted by the competitors prior to the challenge, and the entries are also judged by the competitors after the challenge.</p> + <a class="button is-primary" href="https://pyweek.org/37/"> + <span class="icon-text"> + <span>Learn more</span><span class="icon"><i class="fa-solid fa-arrow-right"></i></span> + </span> + </a> +</div> |