Files
summer-cms/resources/views/_incentiveblock.antlers.html
2026-01-29 17:35:49 +01:00

13 lines
647 B
HTML

<div class="incentive-block block py-3 fixed-grid has-1-cols has-2-cols-tablet">
{{ isOdd = index % 2 }}
<div class="bg" style="background-image:url('{{ glide:photo q="80" width="1344" fm="webp"}}')"></div>
<div class="grid text-content py-3">
{{ if isOdd }} <div></div> {{ /if }}
<div class="has-background-black {{ isOdd ? 'has-text-right' : '' }} px-p-5 box">
<div class="is-size-3-tablet has-text-primary is-uppercase block has-text-weight-bold">{{ title }}</div>
<p class="is-size-5-tablet">{{ description }}</p>
</div>
{{ if !isOdd }}<div></div>{{ /if }}
</div>
</div>