REWORK button: add option for multiple button, CHANGE font

This commit is contained in:
Hoernschen 2023-11-21 17:33:04 +01:00
parent db7ec5795f
commit f696b07527
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
9 changed files with 81 additions and 63 deletions

View file

@ -20,9 +20,12 @@
<div class="divider"></div>
</div>
<p>{{ $content }}</p>
{{if and ($service.button) ($service.button.visible)}}
<a class="service-button" href="{{ $service.button.url }}">{{ $service.button.text }}</a>
{{end}}
<br />
{{ if $service.button }}
{{- range $service.button }}
{{ partial "components/button.html" . }}
{{- end }}
{{ end }}
</div>
{{if and ($service.image) (eq $service.image.direction "right")}}
<div class="service-icon-container col-4">