Skip to content

Commit 839fa79

Browse files
committed
Fix pricing comparison labels, contrast, and Hub styling
1 parent 48756e6 commit 839fa79

5 files changed

Lines changed: 9 additions & 13 deletions

File tree

‎assets/css/theme.css‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
--color-secondary: #008a7b;
115115
--color-tertiary: #005e71;
116116
--color-hub: #354960;
117-
--color-hub-l2: #ebedef;
118117
--color-dark: #1e2b33;
119118

120119
--font-*: initial;

‎data/pricing_comparison.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
Cryptomator: false
6666
Community: false
6767
Standard: false
68-
Enterprise: "pricing_compare_coming_soon"
68+
Enterprise: "coming_soon"
6969
- SectionKey: "pricing_compare_section_support"
7070
Rows:
7171
- LabelKey: "pricing_compare_community_support"

‎i18n/de.yaml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,15 +1224,13 @@
12241224
- id: pricing_compare_email_support
12251225
translation: "E-Mail-Support"
12261226
- id: pricing_compare_expert_training
1227-
translation: "Beratung und Unterstützung durch Experten"
1227+
translation: "Schulungen und Unterstützung durch Experten"
12281228
- id: pricing_compare_account_manager
12291229
translation: "Dedizierter Kundenbetreuer"
12301230
- id: pricing_compare_unlimited
12311231
translation: "Unbegrenzt"
12321232
- id: pricing_compare_one_time_purchase
12331233
translation: "Einmalkauf"
1234-
- id: pricing_compare_coming_soon
1235-
translation: "Bald verfügbar"
12361234
- id: pricing_compare_priority
12371235
translation: "Vorrangig"
12381236

‎i18n/en.yaml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,8 +1232,6 @@
12321232
translation: "Unlimited"
12331233
- id: pricing_compare_one_time_purchase
12341234
translation: "One-time purchase"
1235-
- id: pricing_compare_coming_soon
1236-
translation: "Coming Soon"
12371235
- id: pricing_compare_priority
12381236
translation: "Priority"
12391237

‎layouts/pricing/single.html‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ <h2 id="pricing-comparison-title" class="font-h2 mb-2">{{ i18n "pricing_compare_
368368
<span class="sr-only">{{ i18n "pricing_compare_features" . }}</span>
369369
</th>
370370
{{- range $plans }}
371-
<th scope="col" class="compare-th px-4 py-3.5 text-center {{ if .highlight }}bg-hub-l2 border-t-[3px] border-t-hub{{ else }}bg-white{{ end }}">
371+
<th scope="col" class="compare-th bg-white px-4 py-3.5 text-center {{ if .highlight }}bg-linear-to-b from-hub/10 to-hub/10 border-t-[3px] border-t-hub{{ end }}">
372372
<img src="{{ .logo }}" class="h-8 mx-auto mb-2 {{ .logoAspect }}" alt=""/>
373373
<span class="block font-headline font-bold text-xs uppercase tracking-wide mb-1 {{ .brandColor }}">{{ .brand }}</span>
374374
<span class="block font-headline font-medium">{{ i18n .titleKey $ }}</span>
@@ -379,7 +379,7 @@ <h2 id="pricing-comparison-title" class="font-h2 mb-2">{{ i18n "pricing_compare_
379379
<tbody>
380380
{{- range $sectionIndex, $section := hugo.Data.pricing_comparison }}
381381
<tr>
382-
<th scope="row" class="px-5 pt-4 pb-1.5 text-left text-xs font-bold tracking-wide uppercase text-gray-500">{{ i18n .SectionKey $ }}</th>
382+
<th scope="row" class="px-5 pt-4 pb-1.5 text-left text-xs font-bold tracking-wide uppercase text-gray-700">{{ i18n .SectionKey $ }}</th>
383383
{{- /* empty cells exist solely to carry the highlighted column's tint across section rows */}}
384384
{{- range $plans }}
385385
<td{{ if .highlight }} class="bg-hub/5"{{ end }}></td>
@@ -431,21 +431,22 @@ <h2 id="pricing-comparison-title" class="font-h2 mb-2">{{ i18n "pricing_compare_
431431
<td class="border-t border-gray-200 px-5 py-4"></td>
432432
<td class="border-t border-gray-200 px-4 py-4 text-center align-top">
433433
<span class="block font-bold text-lg leading-tight">{{ i18n "pricing_free" . }}</span>
434-
<span class="block text-xs text-gray-500 mb-3">{{ i18n "pricing_individual_price_description" . }}</span>
434+
<span class="block text-xs text-gray-700 mb-3">{{ i18n "pricing_individual_price_description" . }}</span>
435435
<a href="{{ .Site.LanguagePrefix }}/downloads/" role="button" class="btn btn-outline-primary w-full text-sm" data-umami-event="pricing-compare-individual-cta">
436436
{{ i18n "pricing_individual_cta" . }}
437437
</a>
438438
</td>
439439
<td class="border-t border-gray-200 px-4 py-4 text-center align-top">
440440
<span class="block font-bold text-lg leading-tight">{{ i18n "pricing_free" . }}</span>
441-
<span class="block text-xs text-gray-500 mb-3">{{ i18n "pricing_hub_community_price_description" . }}</span>
441+
<span class="block text-xs text-gray-700 mb-3">{{ i18n "pricing_hub_community_price_description" . }}</span>
442442
<a href="{{ .Site.LanguagePrefix }}/hub/self-hosted/" role="button" class="btn btn-outline-hub w-full text-sm" data-umami-event="pricing-compare-hub-community-self-hosted-cta">
443443
{{ i18n "pricing_hub_self_hosted_cta" . }}
444444
</a>
445445
</td>
446446
<td class="border-t border-gray-200 px-4 py-4 text-center align-top bg-hub/5">
447447
<span x-text="formattedPrice" class="block font-bold text-lg leading-tight"></span>
448-
<span class="block text-xs text-gray-500 mb-3">{{ i18n "pricing_hub_standard_price_description" . }}</span>
448+
<span class="block text-xs text-gray-700">{{ i18n "pricing_vat_excluded" . }}</span>
449+
<span class="block text-xs text-gray-700 mb-3">{{ i18n "pricing_hub_standard_price_description" . }}</span>
449450
<a x-show="hosting === 'managed'" href="{{ .Site.LanguagePrefix }}/hub/managed/" role="button" class="btn btn-hub w-full text-sm" data-umami-event="pricing-compare-hub-standard-managed-cta">
450451
{{ i18n "pricing_hub_managed_cta" . }}
451452
</a>
@@ -455,7 +456,7 @@ <h2 id="pricing-comparison-title" class="font-h2 mb-2">{{ i18n "pricing_compare_
455456
</td>
456457
<td class="border-t border-gray-200 px-4 py-4 text-center align-top">
457458
<span class="block font-bold text-lg leading-tight">{{ i18n "pricing_hub_enterprise_price" . }}</span>
458-
<span class="block text-xs text-gray-500 mb-3">{{ i18n "pricing_hub_enterprise_price_description" . }}</span>
459+
<span class="block text-xs text-gray-700 mb-3">{{ i18n "pricing_hub_enterprise_price_description" . }}</span>
459460
<a href="{{ .Site.LanguagePrefix }}/contact-sales/" role="button" class="btn btn-outline-hub w-full text-sm" data-umami-event="pricing-compare-hub-enterprise-cta">
460461
{{ i18n "pricing_hub_enterprise_cta" . }}
461462
</a>

0 commit comments

Comments
 (0)