Skip to content

Commit 574940f

Browse files
committed
added spring sale to hub-billing
1 parent 580f9a6 commit 574940f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

layouts/hub-billing/single.html

+19
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,15 @@ <h2 class="inline-flex px-4 py-1 rounded-full text-sm font-medium tracking-wide
311311
{{ i18n "hub_billing_checkout_standard_title" . }}
312312
</h2>
313313
<div x-show="audience === 'business'">
314+
<p class="flex items-baseline gap-2">
315+
<span x-text="(subscriptionData.monthlyPrice.netAmount * 0.75).toLocaleString('{{ .Site.Language.Lang }}', { style: 'currency', currency: subscriptionData.monthlyPrice.currency })" class="font-bold leading-relaxed"></span>
316+
<span class="text-xs text-gray-700">
317+
{{ i18n "pricing_hub_standard_price_first_year" . }}
318+
</span>
319+
<span class="self-center px-1 rounded-xs text-xs text-white bg-red-600">
320+
-25% Spring Sale
321+
</span>
322+
</p>
314323
<p class="flex items-baseline gap-2">
315324
<span x-text="subscriptionData.monthlyPrice.netAmount.toLocaleString('{{ .Site.Language.Lang }}', { style: 'currency', currency: subscriptionData.monthlyPrice.currency })" class="text-5xl font-bold"></span>
316325
<span class="text-gray-700">{{ i18n "pricing_vat_excluded" . }}</span>
@@ -322,6 +331,15 @@ <h2 class="inline-flex px-4 py-1 rounded-full text-sm font-medium tracking-wide
322331
</p>
323332
</div>
324333
<div x-show="audience === 'consumer'">
334+
<p class="flex items-baseline gap-2">
335+
<span x-text="(subscriptionData.monthlyPrice.grossAmount * 0.75).toLocaleString('{{ .Site.Language.Lang }}', { style: 'currency', currency: subscriptionData.monthlyPrice.currency })" class="font-bold leading-relaxed"></span>
336+
<span class="text-xs text-gray-700">
337+
{{ i18n "pricing_hub_standard_price_first_year" . }}
338+
</span>
339+
<span class="self-center px-1 rounded-xs text-xs text-white bg-red-600">
340+
-25% Spring Sale
341+
</span>
342+
</p>
325343
<p class="flex items-baseline gap-2">
326344
<span x-text="subscriptionData.monthlyPrice.grossAmount.toLocaleString('{{ .Site.Language.Lang }}', { style: 'currency', currency: subscriptionData.monthlyPrice.currency })" class="text-5xl font-bold"></span>
327345
<span class="text-gray-700">{{ i18n "pricing_vat_included" . }}</span>
@@ -382,6 +400,7 @@ <h2 class="inline-flex px-4 py-1 rounded-full text-sm font-medium tracking-wide
382400
<h2 class="inline-flex px-4 py-1 rounded-full text-sm font-medium tracking-wide uppercase bg-primary-l2 text-dark mb-4">
383401
{{ i18n "hub_billing_checkout_enterprise_title" . }}
384402
</h2>
403+
<div class="md:h-[26px]"></div>
385404
<p class="text-5xl font-bold">
386405
{{ i18n "hub_billing_checkout_enterprise_statement" . }}
387406
</p>

0 commit comments

Comments
 (0)