diff options
author | 2024-01-24 21:31:04 +0800 | |
---|---|---|
committer | 2024-01-24 21:31:04 +0800 | |
commit | 78c9bd6f843b11c77b6548e087aeefb5e3ff6290 (patch) | |
tree | dd3a3858d3c7d61a43c5c4044b45650f9b49f04b /pydis_site/templates/events/current_event.html | |
parent | Merge branch 'feat/events-redesign' of github.com:python-discord/site into fe... (diff) |
Events: Add one-time events, fix elements
Diffstat (limited to 'pydis_site/templates/events/current_event.html')
-rw-r--r-- | pydis_site/templates/events/current_event.html | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/pydis_site/templates/events/current_event.html b/pydis_site/templates/events/current_event.html index 735f1eb4..b264a6ab 100644 --- a/pydis_site/templates/events/current_event.html +++ b/pydis_site/templates/events/current_event.html @@ -4,17 +4,25 @@ {# (n/a) #} {# Next event to promote #} -<div class="box has-background-warning-light" style="padding: 2rem; padding-top: 1.25rem;"> - <div class="columns is-3" style="--columnGap: 0.75rem;"> +<div class="box has-background-warning-light" style="padding: 2rem; padding-top: .75rem;"> + <small class="has-text-grey">Upcoming event</small> + <div class="columns is-3 mt-1" style="--columnGap: 0.75rem;"> <div class="column"> - <p class="subtitle is-6 has-text-grey" style="padding-bottom: 1rem;">Upcoming event</p> <h2 class="title is-4"><a href="https://pyweek.org/37/">PyWeek 37</a></h2> - <p><strong>March 17-24</strong></p> + <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>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.</p> - <a class="button is-link" href="https://pyweek.org/37/">Learn more <span class="icon is-white"><i class="fa-regular fa-arrow-right"></i></span></a> + <a class="button is-link" href="https://pyweek.org/37/"> + <span class="icon-text"> + <span>Learn more</span><span class="icon has-text-white"><i class="fa-solid fa-arrow-right"></i></span> + </span> + </a> </div> |