-
    const loremIpsum = 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.';

    const views = [];


include layouts/container.pug

include objects/palette.pug
include objects/heading.pug
include objects/divider.pug
include objects/badge.pug
include objects/button.pug
include objects/text-field.pug
include objects/field-label.pug
include objects/radio.pug
include objects/checkbox.pug
include objects/switch.pug
include objects/form.pug
include objects/action-button.pug
include objects/overflow-button.pug
include objects/status-indicator.pug
include objects/avatar.pug
include objects/card.pug
include objects/popover.pug
include objects/menu.pug
include objects/navbar.pug
include objects/side-nav.pug
include objects/icon-nav.pug
include objects/emoji.pug
include objects/backdrop.pug
include objects/dialog.pug
include objects/lightbox.pug
include objects/list-group.pug
include objects/table.pug
include objects/alert.pug
include objects/message.pug
include objects/message-group.pug

mixin view(id, title)
    -
        views.push({ id, title });

    +container(fixed=!attributes.wide class='u-p-700 c-view' id=id)
        +h1-heading('xl')(class='u-mt-0')= title
        +divider('medium')
        block

mixin user-card(name, hue)
    -
        const avaName = name.slice(0, 1)

    .l-media.l-media--sm
        +avatar(block=true size='xs' class='l-media__block' hue=hue)
            = avaName
        = name

include views/palette.pug
include views/heading.pug
include views/divider.pug
include views/links.pug
include views/code.pug
include views/blockquote.pug
include views/list.pug
include views/badge.pug
include views/button.pug
include views/text-field.pug
include views/field-label.pug
include views/radio.pug
include views/checkbox.pug
include views/switch.pug
include views/form.pug
include views/action-button.pug
include views/overflow-button.pug
include views/status-indicator.pug
include views/avatar.pug
include views/card.pug
include views/popover.pug
include views/menu.pug
include views/navbar.pug
include views/side-nav.pug
include views/icon-nav.pug
include views/backdrop.pug
include views/dialog.pug
include views/lightbox.pug
include views/list-group.pug
include views/table.pug
include views/alert.pug
include views/message.pug
include views/message-group.pug
include views/emoji.pug


doctype html
html
    head
        meta(charset='utf-8')
        meta(name='viewport' content='width=device-width, initial-scale=1')
        title iro-design
        link(rel="stylesheet" href="style.css")
        script(src="script.js")

    body.t-l1
        .c-content.l-overflow
            +view-palette
            +view-heading
            +view-divider
            +view-links
            +view-code
            +view-blockquote
            +view-list
            +view-emoji
            +view-badge
            +view-button
            +view-text-field
            +view-field-label
            +view-radio
            +view-checkbox
            +view-switch
            +view-form
            +view-action-button
            //+view-overflow-button
            +view-status-indicator
            +view-avatar
            +view-card
            +view-side-nav
            +view-popover
            +view-menu
            +view-navbar
            //+view-icon-nav
            +view-backdrop
            //+view-dialog
            +view-lightbox
            //+view-list-group
            +view-table
            +view-alert
            //+view-message
            //+view-message-group

        .c-sidebar.l-overflow.u-bie-1.u-p-100
            +side-nav
                each view in views
                    +side-nav-item(tag='a' href='#' + view.id)= view.title