Skip to content

Commit

Permalink
Merge pull request #72 from OpenSourcePolitics/fix/header-menu
Browse files Browse the repository at this point in the history
Add menu on mobile
  • Loading branch information
simonaszilinskas authored Oct 11, 2023
2 parents 4674ddd + e676aac commit 105f9bd
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 105f9bd

Please sign in to comment.