mixin view-card +view('card', 'Card')(wide=true) .l-card-list.l-card-list--masonry +card(href='#' class='l-card-list__card') +card-image(src='Drawing_Half.png' style={ 'aspect-ratio': '21 / 9' }) +card-avatar(src='avatar.png') +card-body +card-title= 'XS Heading' +card-content p= loremIpsum p= loremIpsum +card-footer = 'Footer' +card(class='l-card-list__card') +card-body .l-media +avatar(class='l-media__block' src='avatar.png') .l-media__block.l-media__block--main strong.u-d-block= 'Volpeon' small.u-c-mute.u-d-block= '@volpeon@is-a.wyvern.rip' +card-content p= loremIpsum p= loremIpsum +card-image(src='Drawing_Half.png' style={ 'aspect-ratio': '16 / 9' }) +card-body .l-media .l-media__block +badge('positive')(quiet=true icon='repeat' href='#') strong= '12' .l-media__block +badge('warning')(quiet=true icon='star' href='#') strong= '34' .l-media__block.u-mis-auto +a-button(primary=true)= 'Reply' +card(quiet=true href='#' class='l-card-list__card') +card-image(src='Drawing_Half.png' style={ 'aspect-ratio': '21 / 9' }) +badge= 'Drawings' +card-body +card-title= 'XS Heading' +card-content p= loremIpsum p= loremIpsum each layout in ['grid', 'masonry', 'masonry-h'] - let quiet = true let classes = { 'l-card-list': true, 'l-card-list--aspect-5/4': layout === 'grid', 'l-card-list--quiet': quiet, } classes[`l-card-list--${layout}`] = true; +divider('faint')(class='u-mb-700') div(class=classes) each img, i in ['Drawing_Half.png', '0000 Cover@0.5x.webp', 'avatar.png', '01 Design Cody.png', 'avatar.png', 'Drawing_Half.png'] +card(quiet=quiet href='#' class='l-card-list__card') +card-image(src=img list=true) +card-body .l-media .l-media__block.l-media__block--main h1.u-mbs-0= 'XS Heading' small.u-c-mute= `Episode ${i + 1}`