import hbs from 'htmlbars-inline-precompile'; export default { title: 'Components|Gutter Menu', }; export let Standard = () => { return { template: hbs`
Gutter menu
`, }; }; export let RichComponents = () => { return { template: hbs`
Gutter navigation with rich components

In order to keep the gutter navigation streamlined and easy to navigation, rich components should be avoided when possible. When not possible, they should be kept near the top.

`, }; }; export let ManyItems = () => { return { template: hbs`
Hypothetical gutter navigation with many items

There will only ever be one gutter menu in the Nomad UI, but it helps to imagine a situation where there are many navigation items in the gutter.

`, }; }; export let IconItems = () => { return { template: hbs`
Hypothetical gutter navigation with icon items

In the future, the gutter menu may have icons.

`, }; }; export let TaggedItems = () => { return { template: hbs`
Hypothetical gutter navigation with icon items

Tags can be used to denote beta features or low-priority notifications.

`, }; }; export let Global = () => { return { template: hbs`
Global gutter navigation
{{!-- Page content here --}}

Since there will only ever be one gutter menu in the UI, it makes sense to express the menu as a singleton component. This is what that singleton component looks like.

Note: Normally the gutter menu is rendered within a page layout and is fixed position. The columns shown in this example are only to imitate the actual width without applying fixed positioning.

`, }; };