Update recommendations page (#2270)

* update recommendations page

* update link in hero section
This commit is contained in:
nastyapash
2026-04-13 15:56:24 +02:00
committed by GitHub
parent 20cce21230
commit 831459ffb4
6 changed files with 16 additions and 12 deletions
@@ -5,10 +5,11 @@ startFree:
text: Get Started text: Get Started
url: https://cloud.qdrant.io/signup url: https://cloud.qdrant.io/signup
learnMore: learnMore:
text: Contact Us text: Learn More
url: /contact-us/ url: /contact-us/
image: image:
src: /img/vectors/vector-1.svg src: /img/home/horizontal-slider/recommendation-systems.png
webp: /img/home/horizontal-slider/recommendation-systems.webp
alt: Recommendation systems alt: Recommendation systems
sitemapExclude: true sitemapExclude: true
--- ---
@@ -44,11 +44,13 @@
} }
&__title { &__title {
max-width: pxToRem(445);
font-size: $spacer * 3; font-size: $spacer * 3;
line-height: pxToRem(57); line-height: pxToRem(57);
} }
&__description { &__description {
max-width: pxToRem(445);
font-size: pxToRem(20); font-size: pxToRem(20);
line-height: pxToRem(30); line-height: pxToRem(30);
} }
@@ -36,7 +36,8 @@
&-title { &-title {
margin-bottom: $spacer; margin-bottom: $spacer;
color: $neutral-40; font-weight: 500;
color: $neutral-20;
} }
&-description { &-description {
@@ -37,11 +37,14 @@
} }
&__preview { &__preview {
height: 0; aspect-ratio: 540 / 400;
padding-bottom: 66%;
img { &-img {
width: 100%; width: 100%;
height: 100%;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
} }
} }
@@ -78,8 +81,7 @@
@include media-breakpoint-up(lg) { @include media-breakpoint-up(lg) {
&__preview { &__preview {
height: pxToRem(360); height: pxToRem(400);
padding-bottom: 0;
} }
} }
} }
@@ -15,7 +15,7 @@
</div> </div>
<div class="use-cases-vector-hero__preview col-12 col-lg-6"> <div class="use-cases-vector-hero__preview col-12 col-lg-6">
<img src="{{ .Params.image.src }}" alt="{{ .Params.image.alt }}" /> <div class="use-cases-vector-hero__preview-img" style="background-image: url('{{ .Params.image.src }}');{{ if .Params.image.webp }} background-image: image-set(url('{{ .Params.image.webp }}') type('image/webp'), url('{{ .Params.image.src }}') type('image/png'));{{ end }}"></div>
</div> </div>
</div> </div>
</div> </div>
@@ -12,11 +12,9 @@
{{ partial "use-cases-vector-cases" (dict "context" . "class" "recommendations-use-cases") }} {{ partial "use-cases-vector-cases" (dict "context" . "class" "recommendations-use-cases") }}
{{ end }} {{ end }}
{{ with (.Site.GetPage "/headless/get-started-small-rocket") }}
<!-- {{ with (.Site.GetPage "/headless/get-started-small-rocket") }}
{{ partial "get-started-small" (dict "context" . "class" "use-cases-vector-get-started") }} {{ partial "get-started-small" (dict "context" . "class" "use-cases-vector-get-started") }}
{{ end }} {{ end }}
-->
{{ partial "get-started" . }} {{ partial "get-started" . }}
{{ end }} {{ end }}