Skip to content

Commit

Permalink
Hamburger button (#674)
Browse files Browse the repository at this point in the history
* Use button tag instead of div
  • Loading branch information
alinekeller authored Aug 7, 2023
1 parent a9aeb44 commit c769c3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/components/atoms/nav-lang/nav-lang.twig
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<nav class="nav-lang ml-auto dropdown" aria-label="Change language">
<a href="#" class="dropdown-toggle btn btn-secondary" aria-haspopup="true" aria-expanded="false" data-toggle="dropdown">
<button class="dropdown-toggle btn btn-secondary" aria-haspopup="true" aria-expanded="false" data-toggle="dropdown">
{% include '@atoms/icon/icon.twig' with {icon: 'icon-planet'} %}
<span>FR</span>
</a>
</button>
<ul class="dropdown-menu">
<li>
<a aria-label="Français (Current language)" class="active dropdown-item" >
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="btn btn-secondary nav-toggle-mobile d-xl-none">
<button class="btn btn-secondary nav-toggle-mobile d-xl-none">
<span class="label">Menu</span>
<div class="hamburger">
<span></span>
<span></span>
<span></span>
</div>
</div>
</button>

0 comments on commit c769c3a

Please sign in to comment.