mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-03 18:08:30 +02:00
restructured pricing markdown for better maintainability
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
---
|
||||
title: Features by Tier
|
||||
tables:
|
||||
- id: managed
|
||||
label: Managed
|
||||
tiers:
|
||||
- name: OSS
|
||||
highlight: false
|
||||
@@ -84,7 +87,10 @@ ctas:
|
||||
text: Deploy on Cloud
|
||||
url: /contact-us/
|
||||
contained: false
|
||||
onPremiseTiers:
|
||||
|
||||
- id: on-premise
|
||||
label: On-Premise
|
||||
tiers:
|
||||
- name: OSS
|
||||
highlight: false
|
||||
- name: Free Tier
|
||||
@@ -93,7 +99,7 @@ onPremiseTiers:
|
||||
highlight: true
|
||||
- name: Premium Tier
|
||||
highlight: false
|
||||
onPremiseSections:
|
||||
sections:
|
||||
- name: Features
|
||||
features:
|
||||
- name: Cloud Inference
|
||||
@@ -151,7 +157,7 @@ onPremiseSections:
|
||||
free: false
|
||||
paid: false
|
||||
premium: true
|
||||
onPremiseCtas:
|
||||
ctas:
|
||||
- tier: oss
|
||||
text: Start Free
|
||||
url: https://cloud.qdrant.io
|
||||
@@ -168,6 +174,7 @@ onPremiseCtas:
|
||||
text: Deploy on Cloud
|
||||
url: /contact-us/
|
||||
contained: false
|
||||
|
||||
compareButton:
|
||||
text: Compare All Features
|
||||
url: /pricing/comparison/
|
||||
|
||||
+21
-20
@@ -1,38 +1,39 @@
|
||||
{{ $tables := .Params.tables | default slice }}
|
||||
{{ $showTabs := gt (len $tables) 1 }}
|
||||
|
||||
<section class="qdrant-pricing-features">
|
||||
<div class="container">
|
||||
<div class="qdrant-pricing-features__header">
|
||||
<h2 class="qdrant-pricing-features__title">{{ .Params.title }}</h2>
|
||||
{{ if $showTabs }}
|
||||
<div class="qdrant-pricing-features__tabs" data-tab-sync="pricing-deployment">
|
||||
<button class="qdrant-pricing-features__tab qdrant-pricing-features__tab--active" data-tab="managed">
|
||||
Managed
|
||||
{{ range $index, $table := $tables }}
|
||||
<button
|
||||
class="qdrant-pricing-features__tab{{ if eq $index 0 }} qdrant-pricing-features__tab--active{{ end }}"
|
||||
data-tab="{{ $table.id }}"
|
||||
>
|
||||
{{ $table.label }}
|
||||
</button>
|
||||
<button class="qdrant-pricing-features__tab" data-tab="on-premise">On-Premise</button>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{/* 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>
|
||||
|
||||
{{/* On-Premise table */}}
|
||||
{{ range $index, $table := $tables }}
|
||||
{{ if and $table.tiers $table.sections }}
|
||||
<div
|
||||
class="qdrant-pricing-features__table-wrapper qdrant-pricing-features__table-wrapper--hidden"
|
||||
data-features-tab="on-premise"
|
||||
class="qdrant-pricing-features__table-wrapper{{ if and $showTabs (gt $index 0) }} qdrant-pricing-features__table-wrapper--hidden{{ end }}"
|
||||
data-features-tab="{{ $table.id }}"
|
||||
>
|
||||
{{ partial "pricing/qdrant-pricing-features-table" (dict
|
||||
"tiers" .Params.onPremiseTiers
|
||||
"sections" .Params.onPremiseSections
|
||||
"ctas" .Params.onPremiseCtas
|
||||
"classPrefix" "qdrant-pricing-features"
|
||||
"tiers" $table.tiers
|
||||
"sections" $table.sections
|
||||
"ctas" $table.ctas
|
||||
)
|
||||
}}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ with .Params.compareButton }}
|
||||
<div class="qdrant-pricing-features__compare">
|
||||
|
||||
Reference in New Issue
Block a user