import hbs from 'htmlbars-inline-precompile'; export default { title: 'Components|Gutter Menu', }; export let Standard = () => { return { template: hbs`
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`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`In the future, the gutter menu may have icons.
`, }; }; export let Global = () => { return { template: hbs`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.
`, }; };