mixin family-contained(info)
.columns
.columns__column.columns__column_md_6.columns__column_md_hidden
canvas.circles(class!=`circles_${info.name}`)
canvas.circles(class!=`circles2_${info.name}`)
.main(class!= `main_${info.name}`,style=`background-image:url(/public/images/site/small/${info.image})`)
if info.extra
.main.main_extra(class!= `main_${info.name}`,style=`background-image:url(/public/images/site/small/${info.extra})`)
.columns__column.columns__column_md_6.columns__column_centered-content
if info.title_image
div.title(class!=`title_${info.name}`)
img.title__image(src=`/public/images/site/${info.title_image}`, alt!=info.name)
else
div.title(class!=`title_${info.name}`)= utils.capitalize(info.name)
|
span.title__extra= info.japanese
ul.characteristics(class!=`text_${info.name}`)
each characteristic in info.characteristics
li.characteristics__characteristic!= characteristic