diff --git a/www/src/components/account/billing/BillingPricingCards.tsx b/www/src/components/account/billing/BillingPricingCards.tsx index b969507f4..0d01ebdea 100644 --- a/www/src/components/account/billing/BillingPricingCards.tsx +++ b/www/src/components/account/billing/BillingPricingCards.tsx @@ -3,7 +3,6 @@ import { Flex } from 'honorable' import { useCallback, useContext, useState } from 'react' import { useSearchParams } from 'react-router-dom' -import PlatformPlansContext from '../../../contexts/PlatformPlansContext' import SubscriptionContext from '../../../contexts/SubscriptionContext' import BillingDowngradeModal from './BillingDowngradeModal' @@ -42,10 +41,7 @@ function CurrentPlanButton() { function BillingPricingCards() { const [searchParams, setSearchParams] = useSearchParams() - const { clusterMonthlyPricing, userMonthlyPricing } = - useContext(PlatformPlansContext) - const { isProPlan, isEnterprisePlan, isTrialAvailable } = - useContext(SubscriptionContext) + const { isProPlan, isEnterprisePlan } = useContext(SubscriptionContext) const [downgradeModalOpen, setDowngradeModalOpen] = useState(false) @@ -139,76 +135,6 @@ function BillingPricingCards() { ) } /> - - ${clusterMonthlyPricing}/cluster/month -
${userMonthlyPricing}/user/month - - } - items={[ - { - label: 'Everything in Open-source plan', - checked: false, - }, - { - label: 'Unlimited users', - checked: true, - }, - { - label: 'Unlimited clusters', - checked: true, - }, - { - label: '24 hour SLA', - checked: true, - }, - { - label: 'Continuous deployment features', - checked: true, - }, - { - label: 'Advanced user management', - checked: true, - }, - { - label: 'Audit logs', - checked: true, - }, - { - label: 'VPN', - checked: true, - }, - { - label: 'Emergency hotfixes', - checked: true, - }, - ]} - callToAction={ - isProPlan ? ( - - ) : isEnterprisePlan ? ( - - ) : isTrialAvailable ? ( - - ) : ( - - ) - } - />
-
-
Professional
-
Unlimited
-
${clusterMonthlyPricing}/cluster/month
-
${userMonthlyPricing}/user/month
-
$200/pack of 5 services/month
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
24 hours
-
Best effort
-
Google OAuth + OIDC
-
- -
-
- -
-
- -
-
- -
-
- -
-
Available
-
- -
-
- -
-
- -
-
- -
-
, path: '/account', }, - { - text: 'Roadmap', - icon: , - path: '/roadmap', - }, + // { + // text: 'Roadmap', + // icon: , + // path: '/roadmap', + // }, ] function isActiveMenuItem(