aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-02-14 16:23:50 +0800
committerGravatar hedy <[email protected]>2024-02-14 16:23:50 +0800
commitb7c6309ddf35ff0a14f8ba005e515e219e64d2de (patch)
treea12aca3635acb8462c28671741c1028d69437767 /pydis_site/templates
parentMerge branch 'main' into feat/events-redesign (diff)
Fix events page for dark mode
Diffstat (limited to 'pydis_site/templates')
-rw-r--r--pydis_site/templates/events/current_event.html2
-rw-r--r--pydis_site/templates/events/main_events.html3
2 files changed, 3 insertions, 2 deletions
diff --git a/pydis_site/templates/events/current_event.html b/pydis_site/templates/events/current_event.html
index 7e16fcfa..3b65a19e 100644
--- a/pydis_site/templates/events/current_event.html
+++ b/pydis_site/templates/events/current_event.html
@@ -17,7 +17,7 @@
</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-link" href="https://pyweek.org/37/">
+ <a class="button is-primary" 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>
diff --git a/pydis_site/templates/events/main_events.html b/pydis_site/templates/events/main_events.html
index 3b5c9aa9..2bd602ab 100644
--- a/pydis_site/templates/events/main_events.html
+++ b/pydis_site/templates/events/main_events.html
@@ -22,7 +22,8 @@
</div>
<div class="card">
<div class="card-image">
- <img src="/static/images/events/gallery/pyweek.png" alt="PyWeek logo">
+ <img class="light-image" src="/static/images/events/gallery/pyweek.png" alt="PyWeek logo">
+ <img class="dark-image" src="/static/images/events/gallery/pyweek_dark.png" alt="PyWeek logo">
</div>
<div class="card-content">
<h2 class="title is-4"><a href="{% url "events:page" path="pyweek" %}">PyWeek</a></h2>