File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/components/billing/plan-details Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
import { dayjsExt } from "@/common/dayjs" ;
2
2
import { Alert , AlertDescription , AlertTitle } from "@/components/ui/alert" ;
3
3
import { badgeVariants } from "@/components/ui/badge" ;
4
+ import { buttonVariants } from "@/components/ui/button" ;
5
+ import Link from "next/link" ;
4
6
import { PricingModal , type PricingModalProps } from "../pricing-modal" ;
5
7
6
8
interface PlanDetailsProps extends PricingModalProps { }
@@ -28,6 +30,12 @@ export function PlanDetails({ subscription, products }: PlanDetailsProps) {
28
30
</ p >
29
31
30
32
< 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 >
31
39
< PricingModal subscription = { subscription } products = { products } />
32
40
</ div >
33
41
</ div >
You can’t perform that action at this time.
0 commit comments