From b34545ce5a694a0042f2d1dfbbfad7bfee713c2d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 20 Jan 2023 16:48:54 +0100 Subject: Fixed flaws --- tpl/views/avatar.pug | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'tpl/views/avatar.pug') diff --git a/tpl/views/avatar.pug b/tpl/views/avatar.pug index 01aaf93..7941649 100644 --- a/tpl/views/avatar.pug +++ b/tpl/views/avatar.pug @@ -1,6 +1,14 @@ mixin view-avatar +view('avatar', 'Avatar') .c-box + div(style={ display: 'flex', gap: '.3em' }) + +avatar(size='150' hue=180) + = 'Vo' + +avatar(size='150' hue=225) + = 'lp' + +avatar(size='150' src='avatar.png') + br + br div(style={ display: 'flex', gap: '.3em' }) +avatar = 'Vo' @@ -27,6 +35,14 @@ mixin view-avatar +avatar(size='50' src='avatar.png') .c-box + div(style={ display: 'flex', gap: '.3em' }) + +avatar(circle=true size='150' hue=180) + = 'Vo' + +avatar(circle=true size='150' hue=225) + = 'lp' + +avatar(circle=true size='150' src='avatar.png') + br + br div(style={ display: 'flex', gap: '.3em' }) +avatar(circle=true) = 'Vo' -- cgit v1.2.3-70-g09d2