{{ define "main" }} {{""| safeHTML}} {{ with .Params.banner }} {{ if .enable }}

{{ .title | safeHTML }}{{ .watermark }}

{{ .content | markdownify }}

{{ if .button.enable }} {{ with .button }} {{ .label }} {{ end }} {{ end }}
{{ partial "image.html" (dict "Src" .image "Alt" "illustration" "FetchPriority" "high" "Loading" "eager") }}
{{ end }} {{ end }} {{""| safeHTML}} {{ if .Params.service.enable }} {{ with site.GetPage (string .Params.service.section)}} {{ partial "components/services.html" . }} {{ end }} {{ end }} {{""| safeHTML}} {{ with .Params.partner }} {{ if .enable }}
    {{ range .partner_logo }}
  • {{ partial "image.html" (dict "Src" . "Alt" "" "Class" `p-2` `Alt` `partner`) }}
  • {{ end }}
{{ end }} {{ end }} {{""| safeHTML}} {{""| safeHTML}} {{ with .Params.feature }} {{ if .enable }}

{{ .subtitle }}

{{ .title }}

{{ range $index, $element:= .feature_item }} {{ $delay := mul $index 200 }}
{{ partial "image.html" (dict "Src" .image "Alt" "feature image" "Class" "mb-3" ) }}
{{ .content | markdownify }}
{{ end }}
{{ end }} {{ end }} {{""| safeHTML}} {{""| safeHTML}} {{ with .Params.about }} {{ if .enable }} {{ range $i,$p := .about_item }}
{{ if not (modBool $i 2)}}

{{ .subtitle }}

{{ .title }}

{{ .content | markdownify | safeHTML }}
{{ if .button.enable }} {{ with .button }} {{ .label }} details {{ end }} {{ end }}
{{ partial "image.html" (dict "Src" .image "Alt" "about-image" ) }}
{{ else }}
{{ partial "image.html" (dict "Src" .image "Alt" "about image" ) }}

{{ .subtitle }}

{{ .title }}

{{ .content | markdownify | safeHTML }}
{{ if .button.enable }} {{ with .button }} {{ .label }} details {{ end }} {{ end }}
{{ end }}
{{ end }} {{ end }} {{ end }} {{""| safeHTML}} {{""| safeHTML}} {{ with .Params.download }} {{ if .enable }}

{{ .title }}

{{ .content | markdownify }}

{{ partial "image.html" (dict "Src" .image "Alt" "mobile" "Class" `w-100`) }}
{{ end }} {{ end }} {{""| safeHTML}} {{ end }}