open-nomad/ui/stories/components/header.stories.js
Buck Doyle 40332963ef
Update to Ember 3.16/Data 3.12 (#8319)
This updates to Ember 3.16 but leaves Ember Data at 3.12 so we don’t need
to use the model fragments beta. It can be reviewed on a commit-by-commit
basis: blueprint updates, fixes for test failures, and the removal of
now-deprecated partials.

It’s not a true update to Octane as that would involve turning on template-only
components by default, which breaks various things. We can accomplish that
separately and then add the edition setting to package.json.
2020-07-09 11:37:00 -05:00

29 lines
696 B
JavaScript

import hbs from 'htmlbars-inline-precompile';
export default {
title: 'Components|Header',
};
export let Header = () => {
return {
template: hbs`
<h5 class="title is-5">Global header</h5>
<nav class="navbar is-primary">
<div class="navbar-brand">
<span class="gutter-toggle" aria-label="menu">
<HamburgerMenu />
</span>
<span class="navbar-item is-logo">
<NomadLogo />
</span>
</div>
<div class="navbar-end">
<a class="navbar-item">Secondary</a>
<a class="navbar-item">Links</a>
<a class="navbar-item">Here</a>
</div>
</nav>
`,
};
};