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) && ( + - )} - + + )} ); } diff --git a/front/pages/index.tsx b/front/pages/index.tsx index 92cdd11e1421..7899159c93aa 100644 --- a/front/pages/index.tsx +++ b/front/pages/index.tsx @@ -787,16 +787,33 @@ export default function Home({ size="xs" className="lg:hidden" isTabs + onClickProPlan={() => + (window.location.href = `/api/auth/login?returnTo=${getReturnToUrl( + router.query + )}`) + } + onClickEnterprisePlan={() => setShowContactUsDrawer(true)} /> + (window.location.href = `/api/auth/login?returnTo=${getReturnToUrl( + router.query + )}`) + } + onClickEnterprisePlan={() => setShowContactUsDrawer(true)} /> + (window.location.href = `/api/auth/login?returnTo=${getReturnToUrl( + router.query + )}`) + } onClickEnterprisePlan={() => setShowContactUsDrawer(true)} /> diff --git a/front/pages/w/[wId]/subscription/index.tsx b/front/pages/w/[wId]/subscription/index.tsx index 21a5748bd393..fe6411d97222 100644 --- a/front/pages/w/[wId]/subscription/index.tsx +++ b/front/pages/w/[wId]/subscription/index.tsx @@ -423,7 +423,7 @@ export default function Subscription({ onClickProPlan={onClickProPlan} onClickEnterprisePlan={onClickEnterprisePlan} isProcessing={isProcessing} - display="landing" + display="subscribe" />