blob: c4baa641dcea0491c66450ab0030b6408ce91667 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
-
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/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(narrow=!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/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-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
|