Adjusting conditional logic to hide responsive menu button if navigation isn't present

This commit is contained in:
Jonathan Bobel
2024-02-27 12:42:47 -05:00
parent 0ba6f6f708
commit 116953b33f

View File

@@ -55,12 +55,11 @@
<em class="logo-text usa-logo__text">
<a href="/" title="notify.gov">notify.gov</a>
</em>
<button type="button" class="usa-menu-btn">Menu</button>
{% if params.navigation %}
<button type="button" class="usa-menu-btn">Menu</button>
{% endif %}
</div>
{% if current_user.is_authenticated %}
<button type="button" class="usa-menu-btn">Menu</button>
{% endif %}
</div>
</div>
<nav aria-label="Primary navigation" class="usa-nav">
<div class="usa-nav__inner">
<button type="button" class="usa-nav__close">