Skip to content

Commit

Permalink
refactor: Price change
Browse files Browse the repository at this point in the history
  • Loading branch information
arshad-yaseen committed Dec 5, 2023
1 parent cebc650 commit 935e59f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/dashboard/billing-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function BillingForm({
<CardHeader>
{!isPro && (
<CardTitle className="mb-4 text-4xl">
$2{" "}
$5{" "}
<span className="text-lg font-medium text-muted-foreground">
/month
</span>
Expand Down
4 changes: 2 additions & 2 deletions components/upgrade-to-pro-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ function UpgradeToPRODialog({
</DialogTitle>
</DialogHeader>
<DialogDescription className="w-full px-8 text-center">
The free plan includes 1 credit for AI features. Upgrade to the PRO
plan for unlimited AI access.
Please upgrade to PRO or enter your own OpenAI API key to use all AI
features.
</DialogDescription>

<div className="mt-6 flex w-full flex-col items-center space-x-2">
Expand Down
4 changes: 2 additions & 2 deletions config/subscriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { env } from "@/env.mjs"
export const freePlan: SubscriptionPlan = {
name: "Free",
description:
"The free plan includes 1 credit for AI features. Upgrade to the PRO plan for unlimited AI access.",
"The free plan not include any credits for AI features. Upgrade to the PRO plan for unlimited AI access.",
stripePriceId: "",
}

Expand All @@ -14,4 +14,4 @@ export const proPlan: SubscriptionPlan = {
stripePriceId: env.STRIPE_PRO_MONTHLY_PLAN_ID || "",
}

export const free_credits = 1
export const free_credits = 0

1 comment on commit 935e59f

@vercel
Copy link

@vercel vercel bot commented on 935e59f Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.