Skip to content

Commit

Permalink
Change main Navbar
Browse files Browse the repository at this point in the history
I'm making what might be considered a radical change to the navbar.
I'm no longer splitting out events as its own category at the bottom.
Instead I'm putting it higher above between Tools and Contributing.
I don't think events being separate at the bottom makes much sense
and I think it actively hurts discoverability of it. Ideally I'd like to
link to just the main events page and that's the hub for it all.
I don't want to have to continually change the navbar twice a year for a
codejam.
  • Loading branch information
janine9vn committed Jun 15, 2021
1 parent bc14739 commit 81540c2
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions pydis_site/templates/base/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@
<a class="navbar-item" href="{% url "resources:resources" category="tools" %}">
Tools
</a>
<a class="navbar-item" href="{% url "events:index" %}">
Events
</a>
<a class="navbar-item" href="{% url "content:page_category" location="guides/pydis-guides/contributing"%}">
Contributing
</a>
Expand All @@ -88,16 +91,6 @@
<a class="navbar-item" href="{% url "content:page_category" location="privacy" %}">
Privacy
</a>
<hr class="navbar-divider">
<div class="navbar-item">
<strong>Events</strong>
</div>
<a class="navbar-item" href="{% url "events:page" path="code-jams/7" %}">
Most Recent: Code Jam 7
</a>
<a class="navbar-item" href="{% url "events:index" %}">
All events
</a>
</div>
</div>

Expand Down

0 comments on commit 81540c2

Please sign in to comment.