Switch all pics to webp, + stuphs

This commit is contained in:
2026-01-29 12:35:41 +01:00
parent 87b5105f3f
commit 67189dd7ee
11 changed files with 90 additions and 27 deletions

View File

@ -1,6 +1,12 @@
<div class="incentive-block" >
{{# <img src="{{ glide:photo preset='thumbnail' }}" alt="{{ icon:alt }}"> #}}
<div class="squircle" style="background-image:url('{{ glide:photo }}');"></div>
<h3 class="is-size-3 has-text-primary">{{ title }}</h3>
<p>{{ description }}</p>
<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 has-text-primary is-uppercase block has-text-weight-bold">{{ title }}</div>
<p class="is-size-5">{{ description }}</p>
</div>
{{ if !isOdd }}<div></div>{{ /if }}
</div>
</div>