2022-03-19 22:54:55 +00:00
|
|
|
{{- $service := .service }}
|
2022-06-27 14:09:44 +00:00
|
|
|
{{- $content := .content }}
|
2022-03-19 22:54:55 +00:00
|
|
|
{{- $odd := .odd }}
|
2022-06-27 14:09:44 +00:00
|
|
|
{{- $id := "service"}}
|
|
|
|
{{if $service.id}}
|
2023-11-19 16:11:04 +00:00
|
|
|
{{- $id = $service.id}}
|
2022-06-27 14:09:44 +00:00
|
|
|
{{else if .id}}
|
2023-11-19 16:11:04 +00:00
|
|
|
{{- $id = .id }}
|
2022-06-27 14:09:44 +00:00
|
|
|
{{end}}
|
|
|
|
<div id="{{$id}}" class="section {{if eq $odd 0}} section-even {{end}} row">
|
2022-03-19 22:54:55 +00:00
|
|
|
<div class="section-content services">
|
2022-06-27 14:09:44 +00:00
|
|
|
{{if and ($service.image) (eq $service.image.direction "left")}}
|
2025-04-17 14:22:33 +00:00
|
|
|
<div class="side-image col-5">
|
|
|
|
{{- partial "components/image.html" $service.image -}}
|
2022-03-19 22:54:55 +00:00
|
|
|
</div>
|
|
|
|
{{end}}
|
2024-03-15 16:37:03 +00:00
|
|
|
<div class="service-description {{if $service.image}} col-7 {{end}}">
|
|
|
|
{{ with $service.title }}
|
2025-04-17 14:22:33 +00:00
|
|
|
{{ partial "components/title.html" . }}
|
2024-03-15 16:37:03 +00:00
|
|
|
{{ end }}
|
2022-06-27 14:09:44 +00:00
|
|
|
<p>{{ $content }}</p>
|
2023-11-21 16:33:04 +00:00
|
|
|
<br />
|
|
|
|
{{ if $service.button }}
|
|
|
|
{{- range $service.button }}
|
|
|
|
{{ partial "components/button.html" . }}
|
|
|
|
{{- end }}
|
|
|
|
{{ end }}
|
2022-06-27 14:09:44 +00:00
|
|
|
</div>
|
|
|
|
{{if and ($service.image) (eq $service.image.direction "right")}}
|
2025-04-17 14:22:33 +00:00
|
|
|
<div class="side-image col-5">
|
|
|
|
{{- partial "components/image.html" $service.image -}}
|
2022-03-19 22:54:55 +00:00
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2024-03-15 16:37:03 +00:00
|
|
|
</div>
|