Skip to content

Commit

Permalink
💄 [#1697] Hid menu-button on mobile if Onderwerpen are hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin authored and alextreme committed Aug 31, 2023
1 parent b79c784 commit 23db44a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
<header class="header" aria-label="Navigatie header">
<div class="header__container">
<div class="header__menu">
{% if request.user.is_authenticated or not config.hide_categories_from_anonymous_users %}
<button class="header__button" aria-expanded="false">
<div class="header__menu-icon">
<span class="closed">{% trans "Menu" %}</span>
<span class="open">{% trans "Sluiten" %}</span>
</div>
</button>
{% endif %}
{% firstof config.logo.default_alt_text config.name as logo_alt_text %}
{% logo src=config.logo.file.url alt="Homepage "|add:logo_alt_text svg_height=75 %}

Expand Down

0 comments on commit 23db44a

Please sign in to comment.