Files
landing_page/qdrant-landing/themes/qdrant-2024/layouts/partials/customer-stories.html
T
nastyapashandtrean 21776375a9 [WIP] New Pages (#873)
* Add Partnerspage

* fix

* fix padding

* tablet get-started-small update

* Add Customers page

* incorparated site-header partial

* fix

* Add community page (#886)

* Add community page

* site-header partial on the comunity page

---------

Co-authored-by: trean <trean.mi@gmail.com>

* Add Brand-Resources and Subscribe pages (#930)

* add Brand resources page

* add Subscribe page

* Add Qdrant for startups page (#934)

* Add Qdrant for startups page

* improve accordion and link to the form

* fix

* Add Stars page (#890)

* Add Stars page

* site-header partial on the stars page

* overlay z-index fix

---------

Co-authored-by: trean <trean.mi@gmail.com>

* new pages content update and accompanying css and html changes (#943)

* new pages content update and accompanying css and html changes

* format, removed comment, fix

* fixes

* subscribe page hubspot form (#946)

* brand resources content (#947)

* Stars page content (#945)

* stars page content update

* stars images format, replaced stars hero image

* uncommented stars menu link

* update stats: github stars and discord members number

* photo

* stars content upd

* stars list update

* Startup program content (#961)

* startup program hubspot form

* form fixes

* another form, some fixes

* content upd

* stars

* temp build options for the startups program page

---------

Co-authored-by: trean <trean.mi@gmail.com>
2024-06-17 15:56:32 +02:00

61 lines
2.6 KiB
HTML

{{ with (.Site.GetPage "/headless/main/customer-stories") }}
<section class="customer-stories">
<div class="container">
<div class="customer-stories__header">
<h3 class="customer-stories__title mx-auto">{{ .Params.title }}</h3>
<div class="customer-stories__header-content">
{{ .Scratch.Set "cssClass" "link_xl" }}
{{ if .Params.link }}{{ partial "link" . }}{{ end }}
</div>
</div>
<div class="splide">
<div class="splide__arrows customer-stories__controls">
<button
type="button"
class="splide__arrow splide__arrow--prev customer-stories__button customer-stories__button-prev"
>
<span>{{ partial "svg" "angle-right.svg" }}</span>
</button>
<button type="button" class="plide__arrow splide__arrow--next customer-stories__button">
<span>{{ partial "svg" "angle-right.svg" }}</span>
</button>
</div>
<div class="splide__track" data-glide-el="track">
<div class="splide__list">
{{ range .Params.storyCards }}
<div class="splide__slide">
<div class="card customer-stories__card">
<div>
<img src="{{ .icon }}" alt="{{ .brand }}" />
<p class="customer-stories__card-content">{{ .content | safeHTML }}</p>
</div>
<div class="customer-stories__card-footer">
<div class="customer-stories__avatar">
{{ if eq (printf "%T" .author.avatar) "[]interface {}" }}
{{ $author := .author }}
{{ range .author.avatar }}
<img src="{{ . }}" alt="{{ $author.fullName }}" />
{{ end }}
{{ else }}
<img src="{{ .author.avatar }}" alt="{{ .author.fullName }}" />
{{ end }}
</div>
<div class="customer-stories__card-author">
<p class="customer-stories__card-author-name">{{ .author.fullName }}</p>
<p class="customer-stories__card-author-position">{{ .author.position }}</p>
</div>
</div>
</div>
</div>
{{ end }}
</div>
</div>
</div>
<p class="core-features__subtitle mx-auto">
{{ .Params.wall.intro_text }}
<a class="link" target="_blank" href="{{ .Params.wall.url }}">{{ .Params.wall.url_text }}</a>
</p>
</div>
</section>
{{ end }}