summaryrefslogtreecommitdiffstats
path: root/tpl/views/avatar.pug
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/views/avatar.pug')
-rw-r--r--tpl/views/avatar.pug53
1 files changed, 53 insertions, 0 deletions
diff --git a/tpl/views/avatar.pug b/tpl/views/avatar.pug
new file mode 100644
index 0000000..01aaf93
--- /dev/null
+++ b/tpl/views/avatar.pug
@@ -0,0 +1,53 @@
1mixin view-avatar
2 +view('avatar', 'Avatar')
3 .c-box
4 div(style={ display: 'flex', gap: '.3em' })
5 +avatar
6 = 'Vo'
7 +avatar(status='green' hue=45)
8 = 'lp'
9 +avatar(src='avatar.png')
10 +avatar(src='avatar.png' status='red')
11 br
12 br
13 div(style={ display: 'flex', gap: '.3em' })
14 +avatar(size='75' hue=90)
15 = 'eo'
16 +avatar(size='75' status='green' hue=135)
17 = 'n'
18 +avatar(size='75' src='avatar.png')
19 +avatar(size='75' src='avatar.png' status='red')
20 br
21 br
22 div(style={ display: 'flex', gap: '.3em' })
23 +avatar(size='50' hue=180)
24 = 'V'
25 +avatar(size='50' hue=225)
26 = 'o'
27 +avatar(size='50' src='avatar.png')
28
29 .c-box
30 div(style={ display: 'flex', gap: '.3em' })
31 +avatar(circle=true)
32 = 'Vo'
33 +avatar(circle=true status='green' hue=45)
34 = 'lp'
35 +avatar(circle=true src='avatar.png')
36 +avatar(circle=true src='avatar.png' status='red')
37 br
38 br
39 div(style={ display: 'flex', gap: '.3em' })
40 +avatar(circle=true size='75' hue=90)
41 = 'eo'
42 +avatar(circle=true size='75' status='green' hue=135)
43 = 'n'
44 +avatar(circle=true size='75' src='avatar.png')
45 +avatar(circle=true size='75' src='avatar.png' status='red')
46 br
47 br
48 div(style={ display: 'flex', gap: '.3em' })
49 +avatar(circle=true size='50' hue=180)
50 = 'V'
51 +avatar(circle=true size='50' hue=225)
52 = 'o'
53 +avatar(circle=true size='50' src='avatar.png')