This commit is contained in:
trean
2026-03-11 23:33:55 +01:00
parent 0c82f54cae
commit d02aa5f288
17 changed files with 817 additions and 1165 deletions
@@ -6,78 +6,14 @@
<div class="container">
<div class="qdrant-pricing-calculator__container">
<div class="qdrant-pricing-calculator__icon">
<svg width="76" height="64" viewBox="0 0 76 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(14, 2) rotate(-15) skewX(15) scale(1, 0.97)">
<rect width="48" height="60" rx="6" fill="url(#calc-base-grad)" />
<rect
x="2"
y="2"
width="44"
height="56"
rx="4"
fill="url(#calc-inner-grad)"
stroke="white"
stroke-width="0.5"
/>
<rect x="6" y="6" width="32" height="12" rx="2" fill="url(#calc-display-grad)" />
<rect x="6" y="22" width="6" height="5" rx="1" fill="url(#calc-btn-active)" />
<rect x="15" y="22" width="6" height="5" rx="1" fill="#D4D9E6" />
<rect x="24" y="22" width="6" height="5" rx="1" fill="#D4D9E6" />
<rect x="33" y="22" width="6" height="5" rx="1" fill="#D4D9E6" />
<rect x="6" y="29" width="6" height="5" rx="1" fill="#D4D9E6" />
<rect x="15" y="29" width="6" height="5" rx="1" fill="#D4D9E6" />
<rect x="24" y="29" width="6" height="5" rx="1" fill="#D4D9E6" />
<rect x="33" y="29" width="6" height="5" rx="1" fill="#D4D9E6" />
<rect x="6" y="36" width="6" height="5" rx="1" fill="#D4D9E6" />
<rect x="15" y="36" width="6" height="5" rx="1" fill="#D4D9E6" />
<rect x="24" y="36" width="6" height="5" rx="1" fill="#D4D9E6" />
<rect x="6" y="43" width="14" height="5" rx="1" fill="url(#calc-btn-active2)" />
<rect x="24" y="43" width="6" height="5" rx="1" fill="#D4D9E6" />
<rect x="33" y="36" width="6" height="12" rx="1" fill="url(#calc-btn-active3)" />
</g>
<defs>
<linearGradient id="calc-base-grad" x1="24" y1="0" x2="24" y2="60" gradientUnits="userSpaceOnUse">
<stop stop-color="#F0F3FA" />
<stop offset="1" stop-color="#D5DAE8" />
</linearGradient>
<linearGradient id="calc-inner-grad" x1="2" y1="2" x2="46" y2="58" gradientUnits="userSpaceOnUse">
<stop stop-color="#E1E5F0" />
<stop offset="1" stop-color="#FFFFFF" />
</linearGradient>
<linearGradient id="calc-display-grad" x1="6" y1="6" x2="38" y2="18" gradientUnits="userSpaceOnUse">
<stop stop-color="#B99AFF" />
<stop offset="1" stop-color="#FF8792" />
</linearGradient>
<linearGradient id="calc-btn-active" x1="6" y1="22" x2="12" y2="27" gradientUnits="userSpaceOnUse">
<stop stop-color="#B99AFF" />
<stop offset="1" stop-color="#FF8792" />
</linearGradient>
<linearGradient id="calc-btn-active2" x1="6" y1="43" x2="20" y2="48" gradientUnits="userSpaceOnUse">
<stop stop-color="#B99AFF" />
<stop offset="1" stop-color="#FF8792" />
</linearGradient>
<linearGradient id="calc-btn-active3" x1="33" y1="36" x2="39" y2="48" gradientUnits="userSpaceOnUse">
<stop stop-color="#B99AFF" />
<stop offset="1" stop-color="#FF8792" />
</linearGradient>
</defs>
</svg>
<img src="/img/calculator.png" alt="" width="76" height="64" />
</div>
<div class="qdrant-pricing-calculator__content">
<p class="qdrant-pricing-calculator__title">{{ .Params.title }}</p>
<p class="qdrant-pricing-calculator__link-wrapper">
<span class="qdrant-pricing-calculator__link-prefix">{{ .Params.linkPrefix }}</span>
<a class="qdrant-pricing-calculator__link" href="{{ .Params.link.url }}">
<a class="link link_md qdrant-pricing-calculator__link" href="{{ .Params.link.url }}">
{{ .Params.link.text }}
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M3.33337 8H12.6667M12.6667 8L8.00004 3.33334M12.6667 8L8.00004 12.6667"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</a>
</p>
</div>
@@ -51,17 +51,8 @@
<a href="{{ .url }}" class="button button_contained button_md">{{ .text }}</a>
{{ end }}
{{ with .Params.link }}
<a href="{{ .url }}" class="qdrant-pricing-comparison-hero__link">
<a href="{{ .url }}" class="link qdrant-pricing-comparison-hero__link">
{{ .text }}
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M3.33337 8H12.6667M12.6667 8L8.00004 3.33334M12.6667 8L8.00004 12.6667"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</a>
{{ end }}
</div>
@@ -71,254 +62,10 @@
<section class="qdrant-pricing-comparison">
<div class="container">
<div class="qdrant-pricing-comparison__tier-tabs">
{{ range $index, $tier := .Params.tiers }}
<button
class="qdrant-pricing-comparison__tier-tab{{ if eq $index 0 }}
qdrant-pricing-comparison__tier-tab--active
{{ end }}"
data-tier="{{ $tier.name | urlize }}"
>
{{ $tier.name }}
</button>
{{ end }}
</div>
<div class="qdrant-pricing-comparison__table">
<div class="qdrant-pricing-comparison__table-header">
<div class="qdrant-pricing-comparison__table-cell qdrant-pricing-comparison__table-cell--feature"></div>
{{ range .Params.tiers }}
<div
class="qdrant-pricing-comparison__table-cell qdrant-pricing-comparison__table-cell--tier{{ if .highlight }}
qdrant-pricing-comparison__table-cell--highlight
{{ end }}"
data-tier-col="{{ .name | urlize }}"
>
{{ .name }}
</div>
{{ end }}
</div>
<div class="qdrant-pricing-comparison__table-body">
{{ range .Params.sections }}
<div class="qdrant-pricing-comparison__table-section">
<div class="qdrant-pricing-comparison__table-section-header">
<span class="qdrant-pricing-comparison__table-section-title">{{ .name }}</span>
<svg
class="qdrant-pricing-comparison__chevron"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M5 12.5L10 7.5L15 12.5"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</div>
<div class="qdrant-pricing-comparison__table-section-rows">
{{ range .features }}
<div class="qdrant-pricing-comparison__table-row">
<div class="qdrant-pricing-comparison__table-cell qdrant-pricing-comparison__table-cell--feature">
{{ .name }}
</div>
<div class="qdrant-pricing-comparison__table-cell" data-tier-col="oss">
{{ if eq .oss true }}
<svg
class="qdrant-pricing-comparison__check"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.6667 5L7.50001 14.1667L3.33334 10"
stroke="#2F6FF0"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else if eq .oss false }}
<svg
class="qdrant-pricing-comparison__x"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 5L5 15M5 5L15 15"
stroke="#717C99"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else }}
<span class="qdrant-pricing-comparison__text">{{ .oss }}</span>
{{ end }}
</div>
<div class="qdrant-pricing-comparison__table-cell" data-tier-col="free-tier">
{{ if eq .free true }}
<svg
class="qdrant-pricing-comparison__check"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.6667 5L7.50001 14.1667L3.33334 10"
stroke="#2F6FF0"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else if eq .free false }}
<svg
class="qdrant-pricing-comparison__x"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 5L5 15M5 5L15 15"
stroke="#717C99"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else }}
<span class="qdrant-pricing-comparison__text">{{ .free }}</span>
{{ end }}
</div>
<div
class="qdrant-pricing-comparison__table-cell qdrant-pricing-comparison__table-cell--highlight"
data-tier-col="paid-tier"
>
{{ if eq .paid true }}
<svg
class="qdrant-pricing-comparison__check"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.6667 5L7.50001 14.1667L3.33334 10"
stroke="#2F6FF0"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else if eq .paid false }}
<svg
class="qdrant-pricing-comparison__x"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 5L5 15M5 5L15 15"
stroke="#717C99"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else }}
<span class="qdrant-pricing-comparison__text qdrant-pricing-comparison__text--bold"
>{{ .paid }}</span
>
{{ end }}
</div>
<div class="qdrant-pricing-comparison__table-cell" data-tier-col="premium-tier">
{{ if eq .premium true }}
<svg
class="qdrant-pricing-comparison__check"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.6667 5L7.50001 14.1667L3.33334 10"
stroke="#2F6FF0"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else if eq .premium false }}
<svg
class="qdrant-pricing-comparison__x"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 5L5 15M5 5L15 15"
stroke="#717C99"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else }}
<span class="qdrant-pricing-comparison__text qdrant-pricing-comparison__text--bold"
>{{ .premium }}</span
>
{{ end }}
</div>
</div>
{{ end }}
</div>
</div>
{{ end }}
</div>
<div class="qdrant-pricing-comparison__table-footer">
<div class="qdrant-pricing-comparison__table-cell qdrant-pricing-comparison__table-cell--feature"></div>
{{ range $index, $cta := .Params.ctas }}
<div
class="qdrant-pricing-comparison__table-cell qdrant-pricing-comparison__table-cell--cta{{ if eq $index 2 }}
qdrant-pricing-comparison__table-cell--highlight
{{ end }}"
data-tier-col="{{ index (slice "oss" "free-tier" "paid-tier" "premium-tier") $index }}"
>
<a
href="{{ $cta.url }}"
class="button {{ if $cta.contained }}
button_contained
{{ else }}
button_outlined
{{ end }}"
>
{{ $cta.text }}
</a>
</div>
{{ end }}
</div>
</div>
{{ partial "pricing/qdrant-pricing-features-table" (dict
"tiers" .Params.tiers
"sections" .Params.sections
"ctas" .Params.ctas
) }}
</div>
</section>
File diff suppressed because one or more lines are too long
@@ -0,0 +1,255 @@
{{ $tiers := .tiers }}
{{ $sections := .sections }}
{{ $ctas := .ctas }}
{{ $tierCols := slice "oss" "free-tier" "paid-tier" "premium-tier" }}
<div class="pricing-table">
{{/* Mobile tier tabs */}}
<div class="pricing-table__tier-tabs">
{{ range $index, $tier := $tiers }}
<button
class="pricing-table__tier-tab{{ if eq $index 0 }}
pricing-table__tier-tab--active
{{ end }}"
data-tier="{{ $tier.name | urlize }}"
>
{{ $tier.name }}
</button>
{{ end }}
</div>
<div class="pricing-table__table">
<div class="pricing-table__table-header">
<div class="pricing-table__table-cell pricing-table__table-cell--feature"></div>
{{ range $tiers }}
<div
class="pricing-table__table-cell pricing-table__table-cell--tier{{ if .highlight }}
pricing-table__table-cell--highlight
{{ end }}"
data-tier-col="{{ .name | urlize }}"
>
{{ .name }}
</div>
{{ end }}
</div>
<div class="pricing-table__table-body">
{{ range $sections }}
<div class="pricing-table__table-section">
<div class="pricing-table__table-section-header">
<span class="pricing-table__table-section-title">{{ .name }}</span>
<svg
class="pricing-table__chevron"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M5 12.5L10 7.5L15 12.5"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</div>
<div class="pricing-table__table-section-rows">
{{ range .features }}
<div class="pricing-table__table-row">
<div class="pricing-table__table-cell pricing-table__table-cell--feature">
{{ .name }}
</div>
<div class="pricing-table__table-cell" data-tier-col="oss">
{{ if eq .oss true }}
<svg
class="pricing-table__check"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.6667 5L7.50001 14.1667L3.33334 10"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else if eq .oss false }}
<svg
class="pricing-table__x"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 5L5 15M5 5L15 15"
stroke="#717C99"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else }}
<span class="pricing-table__text">{{ .oss }}</span>
{{ end }}
</div>
<div class="pricing-table__table-cell" data-tier-col="free-tier">
{{ if eq .free true }}
<svg
class="pricing-table__check"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.6667 5L7.50001 14.1667L3.33334 10"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else if eq .free false }}
<svg
class="pricing-table__x"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 5L5 15M5 5L15 15"
stroke="#717C99"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else }}
<span class="pricing-table__text">{{ .free }}</span>
{{ end }}
</div>
<div
class="pricing-table__table-cell pricing-table__table-cell--highlight"
data-tier-col="paid-tier"
>
{{ if eq .paid true }}
<svg
class="pricing-table__check"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.6667 5L7.50001 14.1667L3.33334 10"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else if eq .paid false }}
<svg
class="pricing-table__x"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 5L5 15M5 5L15 15"
stroke="#717C99"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else }}
<span class="pricing-table__text pricing-table__text--bold">{{ .paid }}</span>
{{ end }}
</div>
<div class="pricing-table__table-cell" data-tier-col="premium-tier">
{{ if eq .premium true }}
<svg
class="pricing-table__check"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.6667 5L7.50001 14.1667L3.33334 10"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else if eq .premium false }}
<svg
class="pricing-table__x"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 5L5 15M5 5L15 15"
stroke="#717C99"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else }}
<span class="pricing-table__text pricing-table__text--bold"
>{{ .premium }}</span
>
{{ end }}
</div>
</div>
{{ end }}
</div>
</div>
{{ end }}
</div>
<div class="pricing-table__table-footer">
<div class="pricing-table__table-cell pricing-table__table-cell--feature"></div>
{{ range $index, $cta := $ctas }}
<div
class="pricing-table__table-cell pricing-table__table-cell--cta{{ if eq $index 2 }}
pricing-table__table-cell--highlight
{{ end }}"
data-tier-col="{{ index $tierCols $index }}"
>
<a
href="{{ $cta.url }}"
class="button {{ if $cta.contained }}
button_contained
{{ else }}
button_outlined
{{ end }}"
>
{{ $cta.text }}
</a>
</div>
{{ end }}
</div>
</div>
</div>
@@ -10,253 +10,29 @@
</div>
</div>
{{/* Mobile tier tabs */}}
<div class="qdrant-pricing-features__tier-tabs">
{{ range $index, $tier := .Params.tiers }}
<button
class="qdrant-pricing-features__tier-tab{{ if eq $index 0 }}
qdrant-pricing-features__tier-tab--active
{{ end }}"
data-tier="{{ $tier.name | urlize }}"
>
{{ $tier.name }}
</button>
{{ end }}
{{/* Managed table */}}
<div
class="qdrant-pricing-features__table-wrapper"
data-features-tab="managed"
>
{{ partial "pricing/qdrant-pricing-features-table" (dict
"tiers" .Params.tiers
"sections" .Params.sections
"ctas" .Params.ctas
) }}
</div>
<div class="qdrant-pricing-features__table">
<div class="qdrant-pricing-features__table-header">
<div class="qdrant-pricing-features__table-cell qdrant-pricing-features__table-cell--feature"></div>
{{ range .Params.tiers }}
<div
class="qdrant-pricing-features__table-cell qdrant-pricing-features__table-cell--tier{{ if .highlight }}
qdrant-pricing-features__table-cell--highlight
{{ end }}"
data-tier-col="{{ .name | urlize }}"
>
{{ .name }}
</div>
{{ end }}
</div>
<div class="qdrant-pricing-features__table-body">
{{ range .Params.sections }}
<div class="qdrant-pricing-features__table-section">
<div class="qdrant-pricing-features__table-section-header">
<span class="qdrant-pricing-features__table-section-title">{{ .name }}</span>
<svg
class="qdrant-pricing-features__chevron"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M5 12.5L10 7.5L15 12.5"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</div>
<div class="qdrant-pricing-features__table-section-rows">
{{ range .features }}
<div class="qdrant-pricing-features__table-row">
<div class="qdrant-pricing-features__table-cell qdrant-pricing-features__table-cell--feature">
{{ .name }}
</div>
<div class="qdrant-pricing-features__table-cell" data-tier-col="oss">
{{ if eq .oss true }}
<svg
class="qdrant-pricing-features__check"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.6667 5L7.50001 14.1667L3.33334 10"
stroke="#2F6FF0"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else if eq .oss false }}
<svg
class="qdrant-pricing-features__x"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 5L5 15M5 5L15 15"
stroke="#717C99"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else }}
<span class="qdrant-pricing-features__text">{{ .oss }}</span>
{{ end }}
</div>
<div class="qdrant-pricing-features__table-cell" data-tier-col="free-tier">
{{ if eq .free true }}
<svg
class="qdrant-pricing-features__check"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.6667 5L7.50001 14.1667L3.33334 10"
stroke="#2F6FF0"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else if eq .free false }}
<svg
class="qdrant-pricing-features__x"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 5L5 15M5 5L15 15"
stroke="#717C99"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else }}
<span class="qdrant-pricing-features__text">{{ .free }}</span>
{{ end }}
</div>
<div
class="qdrant-pricing-features__table-cell qdrant-pricing-features__table-cell--highlight"
data-tier-col="paid-tier"
>
{{ if eq .paid true }}
<svg
class="qdrant-pricing-features__check"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.6667 5L7.50001 14.1667L3.33334 10"
stroke="#2F6FF0"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else if eq .paid false }}
<svg
class="qdrant-pricing-features__x"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 5L5 15M5 5L15 15"
stroke="#717C99"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else }}
<span class="qdrant-pricing-features__text qdrant-pricing-features__text--bold">{{ .paid }}</span>
{{ end }}
</div>
<div class="qdrant-pricing-features__table-cell" data-tier-col="premium-tier">
{{ if eq .premium true }}
<svg
class="qdrant-pricing-features__check"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.6667 5L7.50001 14.1667L3.33334 10"
stroke="#2F6FF0"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else if eq .premium false }}
<svg
class="qdrant-pricing-features__x"
width="20"
height="20"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M15 5L5 15M5 5L15 15"
stroke="#717C99"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
{{ else }}
<span class="qdrant-pricing-features__text qdrant-pricing-features__text--bold"
>{{ .premium }}</span
>
{{ end }}
</div>
</div>
{{ end }}
</div>
</div>
{{ end }}
</div>
<div class="qdrant-pricing-features__table-footer">
<div class="qdrant-pricing-features__table-cell qdrant-pricing-features__table-cell--feature"></div>
{{ range $index, $cta := .Params.ctas }}
<div
class="qdrant-pricing-features__table-cell qdrant-pricing-features__table-cell--cta{{ if eq $index 2 }}
qdrant-pricing-features__table-cell--highlight
{{ end }}"
data-tier-col="{{ index (slice "oss" "free-tier" "paid-tier" "premium-tier") $index }}"
>
<a
href="{{ $cta.url }}"
class="button {{ if $cta.contained }}
button_contained
{{ else }}
button_outlined
{{ end }}"
>
{{ $cta.text }}
</a>
</div>
{{ end }}
</div>
{{/* On-Premise table */}}
<div
class="qdrant-pricing-features__table-wrapper qdrant-pricing-features__table-wrapper--hidden"
data-features-tab="on-premise"
>
{{ partial "pricing/qdrant-pricing-features-table" (dict
"tiers" .Params.onPremiseTiers
"sections" .Params.onPremiseSections
"ctas" .Params.onPremiseCtas
"classPrefix" "qdrant-pricing-features"
) }}
</div>
{{ with .Params.compareButton }}
@@ -14,17 +14,8 @@
</a>
{{ end }}
{{ with .Params.link }}
<a href="{{ .url }}" class="qdrant-pricing-hero__link">
<a href="{{ .url }}" class="link qdrant-pricing-hero__link">
{{ .text }}
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M1.16669 7H12.8334M12.8334 7L7.00002 1.16666M12.8334 7L7.00002 12.8333"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</a>
{{ end }}
</div>