From 8b1718c9b34beece65c90eb89910640648716c7e Mon Sep 17 00:00:00 2001 From: Johannes <72809645+jobenjada@users.noreply.github.com> Date: Wed, 7 Feb 2024 10:10:34 +0100 Subject: [PATCH] chore: tweak billing page for clarity (#2028) --- .../billing/components/PricingTable.tsx | 28 +++++++++++-------- packages/ui/BillingSlider/index.tsx | 8 +++--- packages/ui/PricingCard/index.tsx | 17 ++++------- 3 files changed, 27 insertions(+), 26 deletions(-) diff --git a/apps/web/app/(app)/environments/[environmentId]/settings/billing/components/PricingTable.tsx b/apps/web/app/(app)/environments/[environmentId]/settings/billing/components/PricingTable.tsx index a342e9861a..f31ee788e9 100644 --- a/apps/web/app/(app)/environments/[environmentId]/settings/billing/components/PricingTable.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/settings/billing/components/PricingTable.tsx @@ -112,7 +112,7 @@ export default function PricingTableComponent({ unlimited: false, }, { - title: "Multi Language Surveys", + title: "Multi-Language Surveys", comingSoon: true, }, { @@ -153,11 +153,15 @@ export default function PricingTableComponent({ comingSoon: false, }, { - title: "File Uploads upto 1 GB", + title: "File Uploads up to 1 GB", + comingSoon: false, + }, + { + title: "Custom Domain", comingSoon: true, }, { - title: "Multi Language Surveys", + title: "Multi-Language Surveys", comingSoon: true, }, ]; @@ -255,11 +259,13 @@ export default function PricingTableComponent({
-

Get the most out of Formbricks

+

+ Unlock the full power of Formbricks, for free. +

- Get access to all features by upgrading to a paid plan. + Add a credit card, get access to all features.
- With our metered billing you will not be charged until you exceed the free tier limits.{" "} + You will not be charged until you exceed the free tier limits.

@@ -267,8 +273,8 @@ export default function PricingTableComponent({ )} - +
@@ -26,12 +26,12 @@ export const BillingSlider = React.forwardRef + className="absolute h-full bg-slate-400">
+ className="absolute mt-4 h-6 w-px bg-slate-400">
+ className="absolute mt-16 text-sm text-slate-700">

Free Tier Limit
diff --git a/packages/ui/PricingCard/index.tsx b/packages/ui/PricingCard/index.tsx index 5e176857f5..8d4c808554 100644 --- a/packages/ui/PricingCard/index.tsx +++ b/packages/ui/PricingCard/index.tsx @@ -66,7 +66,7 @@ export const PricingCard = ({ ) : null} -

{subtitle}

+

{subtitle}

{metric && perMetricCharge && (
@@ -95,9 +95,9 @@ export const PricingCard = ({
{team.billing.features[featureNameKey].status === "inactive" && ( -

+

You're on the Free plan in {title}.
- Upgrade now to unlock the below features: + Upgrade now to unlock the following:

)} @@ -118,8 +118,7 @@ export const PricingCard = ({
-
-
+
{!team.billing.features[featureNameKey].unlimited && (
{team.billing.features[featureNameKey].status !== "inactive" ? ( @@ -160,12 +159,8 @@ export const PricingCard = ({
)} {team.billing.features[featureNameKey].status === "inactive" && ( - )}