summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-07-04 15:49:10 +0200
committerVolpeon <git@volpeon.ink>2024-07-04 15:49:10 +0200
commit977446e39cdbb5af3f5829330d5a9c91c9d5d877 (patch)
tree59c2c663bda8b92d1254881c1baa26f50ac1d357 /tpl/objects
parentAdd t-50 (diff)
downloadiro-design-977446e39cdbb5af3f5829330d5a9c91c9d5d877.tar.gz
iro-design-977446e39cdbb5af3f5829330d5a9c91c9d5d877.tar.bz2
iro-design-977446e39cdbb5af3f5829330d5a9c91c9d5d877.zip
Better badge
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/badge.pug12
1 files changed, 10 insertions, 2 deletions
diff --git a/tpl/objects/badge.pug b/tpl/objects/badge.pug
index 500f062..c91e74f 100644
--- a/tpl/objects/badge.pug
+++ b/tpl/objects/badge.pug
@@ -15,7 +15,15 @@ mixin badge(variant)
15 15
16 if attributes.href 16 if attributes.href
17 a(href=attributes.href class=classes) 17 a(href=attributes.href class=classes)
18 block 18 if attributes.icon
19 +icon(attributes.icon)
20 = ' '
21 span.o-badge__label
22 block
19 else 23 else
20 span(class=classes) 24 span(class=classes)
21 block 25 if attributes.icon
26 +icon(attributes.icon)
27 = ' '
28 span.o-badge__label
29 block