Skip to content

Commit 9497194

Browse files
committed
feat: add link
1 parent 13fd7c1 commit 9497194

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/components/billing/plan-details/index.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { dayjsExt } from "@/common/dayjs";
22
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
33
import { badgeVariants } from "@/components/ui/badge";
4+
import { buttonVariants } from "@/components/ui/button";
5+
import Link from "next/link";
46
import { PricingModal, type PricingModalProps } from "../pricing-modal";
57

68
interface PlanDetailsProps extends PricingModalProps {}
@@ -28,6 +30,12 @@ export function PlanDetails({ subscription, products }: PlanDetailsProps) {
2830
</p>
2931

3032
<div className="flex items-center justify-center">
33+
<Link
34+
className={buttonVariants({ variant: "secondary" })}
35+
href="?upgrade=true"
36+
>
37+
Upgrade or manage plans
38+
</Link>
3139
<PricingModal subscription={subscription} products={products} />
3240
</div>
3341
</div>

0 commit comments

Comments
 (0)