aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-03-27 15:16:10 +0100
committerGravatar GitHub <[email protected]>2020-03-27 15:16:10 +0100
commitdf80fe2b39a8bfbeaa8db4c03bff0a49005913da (patch)
tree2e02cf6e314f4f710240b6fb4aed16fe1d5840bb /pydis_site
parentMerge pull request #343 from python-discord/update-contrib (diff)
Add events section to menu dropdown
To draw attention to upcoming events, I've changed the events section of the "more" dropdown menu. It now has an events header, followed by the upcoming event, and a link to the general events page.
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/templates/base/navbar.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/pydis_site/templates/base/navbar.html b/pydis_site/templates/base/navbar.html
index 376dab5a..9b475189 100644
--- a/pydis_site/templates/base/navbar.html
+++ b/pydis_site/templates/base/navbar.html
@@ -84,8 +84,14 @@
Privacy
</a>
<hr class="navbar-divider">
- <a class="navbar-item" href="{% url 'wiki:get' path="code-jams/" %}">
- Code Jams
+ <div class="navbar-item">
+ <strong>Events</strong>
+ </div>
+ <a class="navbar-item" href="{% url 'wiki:get' path="events/game-jam-2020/" %}">
+ Upcoming: Game Jam 2020
+ </a>
+ <a class="navbar-item" href="{% url 'wiki:get' path="events/" %}">
+ All events
</a>
<hr class="navbar-divider">