Files
landing_page/qdrant-landing/themes/qdrant-2024/layouts/partials/testimonial-light.html
T
trean 305aea6b9a New homepage (#2172)
* two new sections

* enterprise capabilities and enterprise ready sections

* sections: engineered-for-builders and performance-by-design

* sections: cta-banner, integrations-logos, solutions

# Conflicts:
#	qdrant-landing/themes/qdrant-2024/assets/css/partials/_cta-banner.scss
#	qdrant-landing/themes/qdrant-2024/layouts/partials/cta-banner.html

* remove old sections from index.html

* wip: home page

* reuse links, carousel width

* globe and globe lights

* globe lights

* finalyzing the globe, add customers icons

* new icons set + svg partial update

* upd icons in the enterprise-ready section

* lines background

* globe lights as gradient and svg

* fix carousel responsiveness

* fix cut box shadow

* accordion slider responsiveness

* new hero

* hero customers

* some hero responsiveness

* customers layout fix

* cards responsiveness

* fixes

* remove floating github link

* hero - bigger screens

* refactor css

* more hero responsiveness

* fix

* hero parallax

* replace svg as img with embedded svg logos

* fix marquee

* slider's tabs responsiveness

* remove horizontal scroll on the mobile

* moved images

* images optim

* moved paths to markdown

* svg -> png

* some refactoring and clean up

* moved scss

* svg to png

* more images optimization and cleaning

* optimizing png

* fix globe cards height

* add reveal effect

* improve reveal effect

* fix for the hero animation in Safari

* removed type:page preventing use-cases page from rendering with newer version of Hugo

* restore static/img/home/reranking.webp

* remove unused files

* formatting

* hero and reveal fixes

* fixes

* update cta banner

* links and content fix

* fixes: content, links, web-ui illustration

* canva testimonial

* upd link

* fix

* replace links

* slider links
2026-03-11 23:27:37 +01:00

53 lines
2.0 KiB
HTML

{{ $class := .class }}
{{ $ctx := .context }}
{{ $hasReview := and $ctx.Params.review (ne (trim (string $ctx.Params.review) " \t\n\r") "") }}
{{ $hasEmployees := and $ctx.Params.avatar $ctx.Params.avatar.src }}
{{ $hasContent := or $hasReview $hasEmployees }}
<section class="testimonial-light {{ $class }}{{ if $ctx.Params.gradient }} testimonial-light--gradient-layout{{ end }}">
<div class="container">
{{ with $ctx.Params.partners }}
<div class="testimonial-light__partners">
<p class="testimonial-light__partners-title">{{ .title }}</p>
<div class="testimonial-light__partners-logos">
{{ range .logos }}
<div class="testimonial-light__partners-card">
<img src="{{ .src }}" alt="{{ .alt }}" />
</div>
{{ end }}
</div>
</div>
{{ end }}
<div class="row gy-4 gx-3">
{{ if $hasContent }}
<div class="col-12 col-xl-9">
<div class="testimonial-light__content">
{{ if $hasReview }}
<p class="testimonial-light__review">{{ $ctx.Params.review | safeHTML }}</p>
{{ end }}
{{ with $ctx.Params.avatar }}
{{ if .src }}
<div class="testimonial-light__employees">
<div class="testimonial-light__employees-avatar">
<img src="{{ .src }}" alt="{{ .alt }}" />
</div>
<div class="testimonial-light__employees-position">
{{ with $ctx.Params.names }}<p>{{ . }}</p>{{ end }}
{{ with $ctx.Params.positions }}<p>{{ . }}</p>{{ end }}
</div>
</div>
{{ end }}
{{ end }}
</div>
</div>
{{ end }}
{{ with $ctx.Params.logo }}
<div class="col-12 {{ if $hasContent }}col-xl-3{{ else }}col-12{{ end }}">
<div class="testimonial-light__logo{{ if $ctx.Params.gradient }} testimonial-light__logo--gradient{{ end }}">
<img src="{{ .src }}" alt="{{ .alt }}" />
</div>
</div>
{{ end }}
</div>
</div>
</section>