Skip to content

Commit

Permalink
Add mobile menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin-Bernigaud committed Oct 11, 2023
1 parent 67b1c18 commit 7df8109
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion app/views/layouts/decidim/_wrapper.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,27 @@ end
<span aria-hidden="true">&times;</span>
</button>
<!-- Menu -->
<div class="hide-for-medium" data-set="nav-holder"></div>
<div class="hide-for-medium" data-set="nav-holder">

<div class="navbar js-append">
<div class="row column">
<nav class="main-nav">
<ul>
<li class="main-nav__link">
<a class="main-nav" href="/processes/Citywidepb2023">About</a>
</li>
<li class="main-nav__link">
<a class="main-nav" href="/processes/vote">Election Center</a>
</li>
<li class="main-nav__link">
<%= render partial: "layouts/decidim/language_chooser" %>
</li>
</ul>
</nav>
</div>
</div>

</div>
<div class="hide-for-medium usermenu-off-canvas-holder"
data-set="nav-login-holder"></div>
<div class="hide-for-medium mt-s ml-s mr-s search-off-canvas-holder"
Expand Down Expand Up @@ -87,6 +107,7 @@ end
<!-- Repeated due to dropdown limitations -->
<ul class="menu is-dropdown-submenu js-append usermenu-off-canvas">
<%= render partial: "layouts/decidim/user_menu" %>

</ul>
</div>
</li>
Expand Down

0 comments on commit 7df8109

Please sign in to comment.