From 1b4292c68b6f2323b3f77803149d0487c1c8249a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daphn=C3=A9=20Popin?= Date: Mon, 25 Mar 2024 12:19:19 +0100 Subject: [PATCH] Price Plans: Display Free Trial & cleanup (#4423) * Price Plans: Display Free Trial & cleanup * Fix button padding * Fix grandfathered see the Price table on subscription page --- front/components/PlansTables.tsx | 18 +++++++++++++----- front/pages/index.tsx | 17 +++++++++++++++++ front/pages/w/[wId]/subscription/index.tsx | 4 ++-- 3 files changed, 32 insertions(+), 7 deletions(-) diff --git a/front/components/PlansTables.tsx b/front/components/PlansTables.tsx index 275a9444f6c8..2c2508e2343a 100644 --- a/front/components/PlansTables.tsx +++ b/front/components/PlansTables.tsx @@ -189,18 +189,26 @@ export function ProPriceTable({ /> ) )} - - {plan && plan.code !== PRO_PLAN_SEAT_29_CODE && ( + + {display === "landing" && ( + +
+ Try it for free for 2 weeks +
+
+ )} + {onClick && (!plan || plan.code !== PRO_PLAN_SEAT_29_CODE) && ( +