You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
2.9 KiB
50 lines
2.9 KiB
{{ define "main" }}
|
|
<main>
|
|
<div class="container-fluid py-5">
|
|
<div class="container">
|
|
<h2 class="text-center text-uppercase custom-text">{{ i18n "clients" }}</h2>
|
|
<div class="row justify-content-between align-items-center">
|
|
{{ range where (where .Site.RegularPages "Type" "clients") "Params.home" true }}
|
|
<div class="col-xl-2 col-lg-4 col-6 text-center">
|
|
<a class="d-flex justify-content-center" href="{{ .Page.Params.link }}" target="_blank" rel="noopener noreferrer">
|
|
<img class="img-fluid with-js" src="/img/clients/{{ .Page.Params.image }}.svg" alt="{{ .Page.Params.name }}">
|
|
<img class="img-fluid no-js" src="/img/clients/{{ .Params.image }}.webp" alt="{{ .Page.Params.name }}">
|
|
</a>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<h3 class="pt-3 text-xl-start text-center text-uppercase custom-text">{{ i18n "featuredStudies" }}</h3>
|
|
|
|
<div class="row pt-3 pb-3">
|
|
{{ range first 2 (where (where .Site.RegularPages "Type" "work") "Params.featured" "=" true) }}
|
|
<div class="col-xl-6 col-lg-12 col-12 pb-xl-0 pb-4 d-flex flex-column work">
|
|
<a class="zoom-wrapper" href="{{ .Permalink }}" aria-label="{{ .Title }} case study">
|
|
<img class="img-fluid w-100 with-js" src="{{ .Site.BaseURL }}/img/work/{{- with .Page.Params.images }}{{ index . 1 }}{{ end -}}.svg" width="636px" height="357px" alt="">
|
|
<img class="img-fluid w-100 no-js" src="{{ .Site.BaseURL }}/img/work/{{- with .Page.Params.images }}{{ index . 1 }}{{ end -}}.webp" alt="">
|
|
</a>
|
|
{{ $path := printf "/%s/%s" "img/work" .Params.image }}
|
|
<a class="title mt-3 mb-0" href="{{ .Permalink }}">{{ .Title }}</a>
|
|
<p class="mb-0">
|
|
{{ range $i, $e := .Params.categories -}}
|
|
{{- if $i -}}, {{ end -}}
|
|
{{ $value := substr (replace $e " " "") 0 }}
|
|
<a class="category" href="{{ "/categories/" | absLangURL }}{{ . | urlize }}" aria-label="{{ i18n "workTagged" }} {{ i18n . }}">{{ i18n $value }}</a>
|
|
{{- end -}}
|
|
</p>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
|
|
<div class="row justify-content-xl-end justify-content-start">
|
|
<div class="col-xl-4 col-12 d-flex justify-content-xl-end justify-content-start">
|
|
<a class="see-more" href="{{ "/work/" | absLangURL }}">{{ i18n "moreStudies" }} {{ partial "fontawesome.html" "solid/arrow-right" }}</a>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</main>
|
|
{{ end }}
|