include icon.pug include status-indicator.pug include action-button.pug mixin navbar - let classes = { 'o-navbar': true, 'o-navbar--quiet': attributes.quiet, } if (attributes.class) { classes[attributes.class] = true; } div(class=classes)&attributes(attributes) block mixin navbar-item - let classes = { 'o-navbar__item': true, 'is-selected': attributes.selected, } if (attributes.class) { classes[attributes.class] = true; } #{!!attributes.tag ? attributes.tag : 'button'}(class=classes)&attributes(attributes) .o-navbar__item-content if attributes.icon +icon(attributes.icon) = ' ' span.o-navbar__item-content-text block if attributes.postIcon = ' ' +icon(attributes.postIcon)