init
This commit is contained in:
8
priv/ui/pug-demo/_mixins.pug
Normal file
8
priv/ui/pug-demo/_mixins.pug
Normal file
@@ -0,0 +1,8 @@
|
||||
mixin badge(label, tone)
|
||||
span.badge(class=`badge--${tone}`)= label
|
||||
|
||||
mixin featureCard(feature)
|
||||
li.feature-card
|
||||
h3 #{feature.name}
|
||||
p.muted= feature.description
|
||||
+badge(feature.statusLabel, feature.status)
|
||||
Reference in New Issue
Block a user