Replace the filters image on the home page (#2281)

* replace images, css fix

* replaced images
This commit is contained in:
trean
2026-04-21 17:35:43 +02:00
committed by GitHub
parent 6f6b537a09
commit 9688ad62c8
11 changed files with 35 additions and 16 deletions
@@ -1,6 +1,6 @@
@use '../../helpers/functions' as *;
// Mobile-first: base styles (no min-width), then enhance from xxl only
// Mobile-first: 1 col default; 2 cols from md (768px); full 6-col layout from lg (992px)
.why-qdrant {
background-color: $neutral-94;
padding-top: $spacer * 5;
@@ -61,14 +61,24 @@
}
&__card-visual {
flex: 1;
flex: 0 0 auto;
width: 100%;
position: relative;
overflow: hidden;
min-height: pxToRem(200);
background: linear-gradient(180deg, $neutral-98 0%, rgba($neutral-94, 0.3) 100%);
display: flex;
align-items: center;
justify-content: center;
.why-qdrant__card--large & {
aspect-ratio: 9 / 5;
}
.why-qdrant__card--small & {
aspect-ratio: 16 / 9;
}
picture {
position: absolute;
inset: 0;
}
}
&__card-image {
@@ -79,6 +89,7 @@
}
&__card-content {
flex: 1;
padding: pxToRem(24);
display: flex;
flex-direction: column;
@@ -123,14 +134,30 @@
&__grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
grid-template-rows: auto auto;
grid-template-columns: repeat(2, 1fr);
gap: pxToRem(30);
}
&__card {
min-height: pxToRem(440);
&:last-child {
grid-column: 1 / -1;
}
}
}
@include media-breakpoint-up(lg) {
&__grid {
grid-template-columns: repeat(6, 1fr);
grid-template-rows: auto auto;
}
&__card {
&:last-child {
grid-column: auto;
}
&--large {
grid-column: span 3;
}
@@ -154,13 +181,5 @@
}
}
}
&__card-visual {
min-height: pxToRem(266);
.why-qdrant__card--small & {
min-height: pxToRem(218);
}
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 535 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

After

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 130 KiB