From d07c2342acaf62c6b4d5e9e754e9f2edd88426dc Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Wed, 10 Jan 2024 15:47:50 +0530 Subject: [PATCH] style: updated the UI of the pro plan modal (#70) --- web/components/license/pro-plan-modal.tsx | 39 +++++++++++------------ 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/web/components/license/pro-plan-modal.tsx b/web/components/license/pro-plan-modal.tsx index ca57182230..d484981828 100644 --- a/web/components/license/pro-plan-modal.tsx +++ b/web/components/license/pro-plan-modal.tsx @@ -67,7 +67,7 @@ export const ProPlanModal: FC = (props) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
@@ -81,31 +81,28 @@ export const ProPlanModal: FC = (props) => { leaveFrom="opacity-100 scale-100" leaveTo="opacity-0 scale-95" > - - + + Early-adopter pricing for believers
-

+

Build Plane to your specs. You decide what we prioritize and build for everyone. Also get tailored onboarding + implementation and priority support.

- + {PRICING_CATEGORIES.map((category, index) => ( classNames( - "w-full rounded-lg py-2 text-sm font-medium leading-5 text-slate-800", - "ring-white/60 ring-offset-2 ring-offset-blue-400 focus:outline-none", + "w-full rounded-lg py-2 text-sm font-medium leading-5", + "ring-white/60 ring-offset-2 ring-offset-custom-primary-90 focus:outline-none", selected - ? "bg-white text-blue-700 shadow" - : "text-blue-100 hover:bg-white/[0.12] hover:text-slate-600" + ? "bg-custom-background-100 text-custom-primary-100 shadow" + : "hover:bg-custom-background-80 text-custom-text-300 hover:text-custom-text-100" ) } onClick={() => setTabIndex(index)} @@ -113,7 +110,7 @@ export const ProPlanModal: FC = (props) => { <> {category} {category === "Yearly" && ( - + -28% )} @@ -124,16 +121,16 @@ export const ProPlanModal: FC = (props) => {
- +

$7 - /user/month + /user/month

    {MONTHLY_PLAN_ITEMS.map((item) => (
  • - + {item}

  • @@ -144,7 +141,7 @@ export const ProPlanModal: FC = (props) => {
- +

$5 - /user/month + /user/month

    {YEARLY_PLAN_ITEMS.map((item) => (
  • - + {item}

  • @@ -172,7 +169,7 @@ export const ProPlanModal: FC = (props) => {