Skip to content

Commit fa6da43

Browse files
committed
[TOOL-3488] Dashboard: Add disclaimer for starter plan about verification hold on pricing card (#6308)
1 parent 733c1e6 commit fa6da43

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

apps/dashboard/src/@/components/blocks/pricing-card.tsx

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Button } from "@/components/ui/button";
44
import { ToolTipLabel } from "@/components/ui/tooltip";
55
import { TrackedLinkTW } from "@/components/ui/tracked-link";
66
import { cn } from "@/lib/utils";
7-
import { CheckIcon, CircleDollarSignIcon } from "lucide-react";
7+
import { CheckIcon, CircleAlertIcon, CircleDollarSignIcon } from "lucide-react";
88
import type React from "react";
99
import { TEAM_PLANS } from "utils/pricing";
1010
import { remainingDays } from "../../../utils/date-utils";
@@ -105,6 +105,23 @@ export const PricingCard: React.FC<PricingCardProps> = ({
105105
{!isCustomPrice && (
106106
<span className="text-muted-foreground">/ month</span>
107107
)}
108+
109+
{billingPlan === "starter" && (
110+
<ToolTipLabel
111+
contentClassName="max-w-[320px]"
112+
label="We will place a temporary hold of $25 to verify your card, this will be immediately released back to you after verification."
113+
>
114+
<Button
115+
asChild
116+
variant="ghost"
117+
className="h-auto w-auto p-1 text-muted-foreground hover:text-foreground"
118+
>
119+
<div>
120+
<CircleAlertIcon className="size-5 shrink-0" />
121+
</div>
122+
</Button>
123+
</ToolTipLabel>
124+
)}
108125
</div>
109126

110127
{remainingTrialDays > 0 && (

0 commit comments

Comments
 (0)