Files
landing_page/qdrant-landing/themes/qdrant-2024/layouts/partials/home/hero.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

96 lines
3.5 KiB
HTML

{{ with (.Site.GetPage "/headless/main/hero") }}
<section class="hero">
<div class="hero__container">
<div class="hero__grid"></div>
<div class="hero__content">
<div class="hero__heading">
<h1 class="hero__title">{{ .Params.title }}</h1>
<p class="hero__subtitle">{{ .Params.subtitle }}</p>
</div>
<div class="hero__buttons">
<a data-metric-loc="hero" href="{{ .Params.startFree.url }}" class="button button_contained button_lg"
data-metric-loc="hero">{{ .Params.startFree.text }}</a>
<a data-metric-loc="hero" href="{{ .Params.learnMore.url }}" class="button button_outlined button_lg"
data-metric-loc="hero">{{ .Params.learnMore.text }}</a>
</div>
</div>
<div class="hero__planet">
{{ with .Params.planet }}
<img class="hero__planet-blur" src="{{ .blur }}" alt="" width="570" height="544" decoding="async" />
<img
class="hero__planet-blur hero__planet-blur--alt"
src="{{ .blur2 }}"
alt=""
width="570"
height="544"
decoding="async"
/>
<img class="hero__planet-sphere" src="{{ .sphere }}" alt="" width="514" height="488" decoding="async" />
{{ with .texture }}
<picture>
<source srcset="{{ .webp }}" type="image/webp" />
<img
class="hero__planet-texture"
src="{{ .png }}"
alt=""
width="1012"
height="960"
loading="eager"
decoding="async"
/>
</picture>
{{ end }}
{{ end }}
</div>
{{ with .Params.blueHaze }}
<img class="hero__blue-haze" src="{{ . }}" alt="" width="1200" height="600" decoding="async" />
{{ end }}
<div class="hero__astronauts">
{{ with .Params.astronauts }}
<picture>
<source type="image/webp" srcset="{{ .webpSrcset }}" sizes="100vw" />
<img
src="{{ .fallbackSrc }}"
srcset="{{ .pngSrcset }}"
sizes="100vw"
alt="{{ .alt }}"
width="{{ .width }}"
height="{{ .height }}"
draggable="false"
loading="eager"
decoding="async"
fetchpriority="high"
/>
</picture>
{{ end }}
</div>
<div class="hero__fade-top"></div>
<div class="hero__fade-bottom"></div>
<div class="hero__fade-left"></div>
<div class="hero__fade-right"></div>
</div>
{{ if .Params.valueBadges }}
<div class="hero__badges">
{{ range .Params.valueBadges }}
{{ if .url }}
<a href="{{ .url }}" class="hero__badge hero__badge--link"{{ if or (hasPrefix .url "http://") (hasPrefix .url "https://") }} target="_blank" rel="noopener noreferrer"{{ end }}>
<img src="{{ .icon }}" alt="" class="hero__badge-icon" width="16" height="16" decoding="async" />
<span class="hero__badge-text">{{ .text }}</span>
</a>
{{ else }}
<span class="hero__badge">
<img src="{{ .icon }}" alt="" class="hero__badge-icon" width="16" height="16" decoding="async" />
<span class="hero__badge-text">{{ .text }}</span>
</span>
{{ end }}
{{ end }}
</div>
{{ end }}
</section>
{{ end }}