Files
calendar/apps/web/components/settings/platform/dashboard/NoPlatformPlan.tsx
T
853f9bc436 perf: do not import from @calcom/ui barrel file (#20184)
* Icon and IconName

* Button and ButtonGroup

* UserAvatar

* AvatarGroup

* Avatar

* WizardLayout

* Dialogs

* EmptyScreen

* showToast and TextField

* Editor

* Skeleton

* Skeleton

* TopBanner and showToast

* Button again

* more

* perf: Remove app-store reference from @calcom/ui

* more

* Fixing types

* Icon

* Fixed casing

* dropdown

* more

* Select

* more

* Badge

* List

* more

* Divider

* more

* fix

* fix type check

* refactor

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix type check

* fix

* fix

* fix

* fix

* more

* more

* more

* more

* add index file to components/command

* fix

* fix

* fix

* fix imports

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix build errors

* fix build errors

* fix

---------

Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2025-03-19 19:00:55 -03:00

39 lines
1.1 KiB
TypeScript

import { useLocale } from "@calcom/lib/hooks/useLocale";
import { Button } from "@calcom/ui/components/button";
import { EmptyScreen } from "@calcom/ui/components/empty-screen";
export default function NoPlatformPlan() {
const { t } = useLocale();
return (
<EmptyScreen
Icon="credit-card"
headline={t("subscription_needed")}
description={t("subscription_needed_description")}
buttonRaw={
<div className="flex gap-2">
<Button
className="hover:bg-slate-300 hover:text-black"
color="secondary"
href="/settings/platform/new">
Subscribe
</Button>
<Button
color="secondary"
className="hover:bg-slate-300 hover:text-black"
href="https://cal.com/platform/pricing"
target="_blank">
Go to Pricing
</Button>
<Button
color="secondary"
className="hover:bg-slate-300 hover:text-black"
href="https://cal.com/sales"
target="_blank">
Contact Sales
</Button>
</div>
}
/>
);
}