import { FC } from "react"; // types import { CircleX } from "lucide-react"; // services import { EModalWidth, ModalCore } from "@plane/ui"; // plane web components import { cn } from "@/helpers/common.helper"; // local components import { OnePlanUpgrade } from "./one-plan-upgrade"; import { ProPlanUpgrade } from "./pro-plan-upgrade"; const PRO_PLAN_FEATURES = [ "More Cycles features", "Full Time Tracking + Bulk Ops", "Workflow manager", "Automations", "Popular integrations", "Plane AI", ]; const ONE_PLAN_FEATURES = [ "OIDC + SAML for SSO", "Active Cycles", "Real-time collab + public views and page", "Link pages in work items and vice-versa", "Time-tracking + limited bulk ops", "Docker, Kubernetes and more", ]; const FREE_PLAN_UPGRADE_FEATURES = [ "OIDC + SAML for SSO", "Time tracking and bulk ops", "Integrations", "Public views and pages", ]; export type PaidPlanUpgradeModalProps = { isOpen: boolean; handleClose: () => void; }; export const PaidPlanUpgradeModal: FC = (props) => { const { isOpen, handleClose } = props; return (
Upgrade to a paid plan and unlock missing features.

Active Cycles, time tracking, bulk ops, and other features are waiting for you on one of our paid plans. Upgrade today to unlock features your teams need yesterday.

{/* Free plan details */}
Your plan
Free
$0 a user per month
    {FREE_PLAN_UPGRADE_FEATURES.map((feature) => (
  • {feature}

  • ))}
See full features list

} />
See full features list

} />
); };