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")}}
|
|
|
|
<div class="service-icon-container col-4">
|
2022-07-08 15:35:15 +00:00
|
|
|
<img class="service-icon" src="{{ $service.image.url }}" alt="{{ $service.image.alt }}">
|
2022-03-19 22:54:55 +00:00
|
|
|
</div>
|
|
|
|
{{end}}
|
2022-06-27 14:09:44 +00:00
|
|
|
<div class="service-description {{if $service.image}} col-8 {{end}}">
|
2022-03-19 22:54:55 +00:00
|
|
|
<div class="title">
|
|
|
|
<h1 class="content-title">{{ $service.title }}</h1>
|
|
|
|
<div class="divider"></div>
|
|
|
|
</div>
|
2022-06-27 14:09:44 +00:00
|
|
|
<p>{{ $content }}</p>
|
|
|
|
{{if and ($service.button) ($service.button.visible)}}
|
2022-03-19 22:54:55 +00:00
|
|
|
<a class="service-button" href="{{ $service.button.url }}">{{ $service.button.text }}</a>
|
|
|
|
{{end}}
|
2022-06-27 14:09:44 +00:00
|
|
|
</div>
|
|
|
|
{{if and ($service.image) (eq $service.image.direction "right")}}
|
|
|
|
<div class="service-icon-container col-4">
|
2022-07-08 15:35:15 +00:00
|
|
|
<img class="service-icon" src="{{ $service.image.url }}" alt="{{ $service.image.alt }}">
|
2022-03-19 22:54:55 +00:00
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|