summaryrefslogtreecommitdiffstats
path: root/tpl/views/card.pug
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-11-23 12:35:42 +0100
committerVolpeon <git@volpeon.ink>2024-11-23 12:35:42 +0100
commitf5e2addd72ab0b4801fdb4745eae5cee01ae12fe (patch)
tree9f6cadd2d46a0ce9677f519e1f5b0370e3c10eb9 /tpl/views/card.pug
parentUpdate s-figures (diff)
downloadiro-design-f5e2addd72ab0b4801fdb4745eae5cee01ae12fe.tar.gz
iro-design-f5e2addd72ab0b4801fdb4745eae5cee01ae12fe.tar.bz2
iro-design-f5e2addd72ab0b4801fdb4745eae5cee01ae12fe.zip
Add card image overlays
Diffstat (limited to 'tpl/views/card.pug')
-rw-r--r--tpl/views/card.pug3
1 files changed, 2 insertions, 1 deletions
diff --git a/tpl/views/card.pug b/tpl/views/card.pug
index 633cf01..61081a9 100644
--- a/tpl/views/card.pug
+++ b/tpl/views/card.pug
@@ -36,6 +36,7 @@ mixin view-card
36 36
37 +card(quiet=true href='#' class='l-card-list__card') 37 +card(quiet=true href='#' class='l-card-list__card')
38 +card-image(src='Drawing_Half.png' style={ 'aspect-ratio': '21 / 9' }) 38 +card-image(src='Drawing_Half.png' style={ 'aspect-ratio': '21 / 9' })
39 +badge= 'Drawings'
39 +card-body 40 +card-body
40 +card-title= 'XS Heading' 41 +card-title= 'XS Heading'
41 +card-content 42 +card-content
@@ -59,7 +60,7 @@ mixin view-card
59 div(class=classes) 60 div(class=classes)
60 each img, i in ['Drawing_Half.png', '0000 Cover@0.5x.webp', 'avatar.png', '01 Design Cody.png', 'avatar.png', 'Drawing_Half.png'] 61 each img, i in ['Drawing_Half.png', '0000 Cover@0.5x.webp', 'avatar.png', '01 Design Cody.png', 'avatar.png', 'Drawing_Half.png']
61 +card(quiet=quiet href='#' class='l-card-list__card') 62 +card(quiet=quiet href='#' class='l-card-list__card')
62 +card-image(src=img class='l-card-list__card-image') 63 +card-image(src=img list=true)
63 +card-body 64 +card-body
64 .l-media 65 .l-media
65 .l-media__block.l-media__block--main 66 .l-media__block.l-media__block--main