Scheduling infrastructure for absolutely everyone.
fix: onboard-pricing-options-self-host (#10105)
alannnc496b03e92f53
diff --git a/apps/web/components/setup/ChooseLicense.tsx b/apps/web/components/setup/ChooseLicense.tsxindex f713347081b..7c08e2d5f5f 100644--- a/apps/web/components/setup/ChooseLicense.tsx+++ b/apps/web/components/setup/ChooseLicense.tsx@@ -1,11 +1,10 @@import * as RadioGroup from "@radix-ui/react-radio-group";import classNames from "classnames";+import Link from "next/link";import { useState } from "react";import { useLocale } from "@calcom/lib/hooks/useLocale";-const ENTERPRISE_BOOKING_FEE = "$99"; // TODO: get this from a new API endpoint-const ChooseLicense = (props: {value: string;@@ -50,23 +49,19 @@ const ChooseLicense = (</ul></div></RadioGroup.Item>- <RadioGroup.Item value="EE">- <div- className={classNames(- "bg-default cursor-pointer space-y-2 rounded-md border p-4 hover:border-black",- value === "EE" && "ring-2 ring-black"- )}>- <h2 className="font-cal text-emphasis text-xl">{t("ee_enterprise_license")}</h2>- <p className="font-medium text-green-800">- {t("enterprise_booking_fee", { enterprise_booking_fee: ENTERPRISE_BOOKING_FEE })}- </p>- <p className="text-subtle">{t("enterprise_license_includes")}</p>- <ul className="text-subtle ml-4 list-disc text-left text-xs">- <li>{t("no_need_to_keep_your_code_open_source")}</li>- <li>{t("repackage_rebrand_resell")}</li>- <li>{t("a_vast_suite_of_enterprise_features")}</li>- </ul>- </div>+ <RadioGroup.Item value="EE" disabled>+ <Link href="https://cal.com/sales" target="_blank">+ <div className={classNames("bg-default h-full cursor-pointer space-y-2 rounded-md border p-4")}>+ <h2 className="font-cal text-emphasis text-xl">{t("custom_plan")}</h2>+ <p className="font-medium text-green-800">{t("contact_sales")}</p>+ <p className="text-subtle">Build on top of Cal.com</p>+ <ul className="text-subtle ml-4 list-disc text-left text-xs">+ <li>{t("no_need_to_keep_your_code_open_source")}</li>+ <li>{t("repackage_rebrand_resell")}</li>+ <li>{t("a_vast_suite_of_enterprise_features")}</li>+ </ul>+ </div>+ </Link></RadioGroup.Item></RadioGroup.Root></form>diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.jsonindex 4d35da9dd0d..6b692f484ab 100644--- a/apps/web/public/static/locales/en/common.json+++ b/apps/web/public/static/locales/en/common.json@@ -1623,12 +1623,9 @@"teams_plan_required": "Teams plan required","routing_forms_are_a_great_way": "Routing forms are a great way to route your incoming leads to the right person. Upgrade to a Teams plan to access this feature.","choose_a_license": "Choose a license",- "choose_license_description": "Cal.com comes with an accessible and free AGPLv3 license which some limitations which can be upgraded to an Enterprise license at any time. You can upgrade at anytime later.",+ "choose_license_description": "Cal.com comes with an accessible and free AGPLv3 license which has limitations. We are onboarding Enterprise customers for the commercial license which you can inquire about by contacting sales below.","license": "License","agplv3_license": "AGPLv3 License",- "ee_enterprise_license": "“/ee” Enterprise License",- "enterprise_booking_fee": "Starting at {{enterprise_booking_fee}}/month",- "enterprise_license_includes": "Everything for a commercial use case","no_need_to_keep_your_code_open_source": "No need to keep your code open source","repackage_rebrand_resell": "Repackage, rebrand and resell easily","a_vast_suite_of_enterprise_features": "A vast suite of enterprise features",@@ -1942,5 +1939,6 @@"insights_team_filter": "Team: {{teamName}}","insights_user_filter": "User: {{userName}}","insights_subtitle": "View booking insights across your events",+ "custom_plan": "Custom Plan","ADD_NEW_STRINGS_ABOVE_THIS_LINE_TO_PREVENT_MERGE_CONFLICTS": "↑↑↑↑↑↑↑↑↑↑↑↑↑ Add your new strings above here ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑"}