2018-10-21 19:19:34 +00:00
|
|
|
<nav class="navbar">
|
2018-06-26 21:35:47 +00:00
|
|
|
<div class="navbar-brand" data-test-navheader-home>
|
|
|
|
{{yield (hash home=(component 'nav-header/home'))}}
|
|
|
|
</div>
|
2018-10-21 19:19:34 +00:00
|
|
|
|
|
|
|
{{#unless navDrawerOpen}}
|
|
|
|
<div class="navbar-drawer-toggle is-hidden-tablet" onclick={{action "toggleNavDrawer"}}>
|
|
|
|
<ICon @glyph="more-vertical" @size="16" /> Menu
|
|
|
|
</div>
|
|
|
|
{{/unless}}
|
|
|
|
|
|
|
|
<div class="navbar-drawer{{if navDrawerOpen ' is-active'}}">
|
|
|
|
<div class="navbar-drawer-scroll">
|
|
|
|
<div data-test-navheader-main>
|
|
|
|
{{yield (hash
|
|
|
|
main=(component 'nav-header/main')
|
|
|
|
closeDrawer=(action "toggleNavDrawer" false)
|
|
|
|
)
|
|
|
|
}}
|
|
|
|
</div>
|
|
|
|
<div class="navbar-end" data-test-navheader-items>
|
|
|
|
{{yield (hash
|
|
|
|
items=(component 'nav-header/items')
|
|
|
|
closeDrawer=(action "toggleNavDrawer" false)
|
|
|
|
)
|
|
|
|
}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#if navDrawerOpen}}
|
|
|
|
<button class=" navbar-drawer-toggle is-hidden-tablet" type="button" {{action "toggleNavDrawer" false}}>
|
|
|
|
<ICon @glyph="close" @size="16" />
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
2018-06-26 21:35:47 +00:00
|
|
|
</div>
|
2018-10-21 19:19:34 +00:00
|
|
|
|
|
|
|
<div class="navbar-drawer-overlay{{if navDrawerOpen ' is-active'}}" onclick={{action "toggleNavDrawer"}}></div>
|
2018-06-26 21:35:47 +00:00
|
|
|
</nav>
|