The minimalistic document archiving platform.
feat(pricing): update discount banner text to emphasize 'forever' offer (#47)
Corentin Thomasset4dbd04798269
diff --git a/src/locales/en.ts b/src/locales/en.tsindex 571da6ef..8e3e1b86 100644--- a/src/locales/en.ts+++ b/src/locales/en.ts@@ -230,8 +230,8 @@ export const translations = {// Pricing Page - Final CTA'pricing.final-cta.title': 'Trusted by homes, startups, and enterprises of all sizes.','pricing.final-cta.button': 'Get started',- 'pricing.discount-banner.title': 'Launch Special: Get 50% off lifetime',- 'pricing.discount-banner.description': 'Get 50% off forever when you upgrade your organization to any paid plan during our launch period. This offer expires on 31 December 2025!',+ 'pricing.discount-banner.title': 'Launch Special: 50% off for life - limited time offer!',+ 'pricing.discount-banner.description': 'Get 50% off for life when you upgrade your organization to any paid plan during our launch period. This offer expires on 31 December 2025!',// Contact Page'contact.title': 'Contact',@@ -267,7 +267,7 @@ export const translations = {'nav.sign-in': 'Sign In',// Launch Banner- 'launch-banner.text': 'Launch Special: Get {{percentage}}% off lifetime - Limited time offer!',+ 'launch-banner.text': 'Launch Special: Get {{percentage}}% off for life - Limited time offer!',// Pagination'pagination.go-to-page': 'Go to page {{page}} of {{total}}',diff --git a/src/pages/[locale]/pricing.astro b/src/pages/[locale]/pricing.astroindex 65d6df0f..4f2818be 100644--- a/src/pages/[locale]/pricing.astro+++ b/src/pages/[locale]/pricing.astro@@ -114,12 +114,7 @@ const plans: Plan[] = [<div class="i-tabler-gift size-6 text-primary"></div></div><div class="flex-1">- <div class="flex items-center gap-2">- <h4 class="text-base font-semibold text-foreground">{t('pricing.discount-banner.title')}</h4>- <div class="px-2 py-0.5 bg-primary text-primary-foreground text-xs font-bold rounded-md">- {`-${discount.percentage}%`}- </div>- </div>+ <h4 class="text-base font-semibold text-foreground">{t('pricing.discount-banner.title')}</h4><p class="text-sm text-muted-foreground mb-1" set:html={t('pricing.discount-banner.description')} /></div></div>