Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions auto-analyst-frontend/app/checkout/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -531,9 +531,9 @@ export default function CheckoutPage() {
)}

<div className="mt-3 pt-2 border-t border-gray-100">
<p className="text-sm text-gray-500">
Billed {planDetails.cycle === 'year' ? 'yearly' : planDetails.cycle === 'day' ? 'daily' : 'monthly'}
</p>
<p className="text-sm text-gray-500">
Billed {planDetails.cycle === 'year' ? 'yearly' : planDetails.cycle === 'day' ? 'daily' : 'monthly'}
</p>
{billingCycle === 'yearly' && (
<p className="text-xs text-gray-400 mt-1">
Credits reset monthly, but you're billed yearly
Expand Down Expand Up @@ -581,9 +581,9 @@ export default function CheckoutPage() {
)}
{discountApplied && discountInfo && (
`You save $${
discountInfo.type === 'percent'
? ((planDetails.amount * discountInfo.value) / 100).toFixed(2)
: discountInfo.value.toFixed(2)
discountInfo.type === 'percent'
? ((planDetails.amount * discountInfo.value) / 100).toFixed(2)
: discountInfo.value.toFixed(2)
} with promo code!`
)}
{billingCycle === 'yearly' && planDetails.name === 'Standard' && discountApplied && discountInfo && (
Expand Down
2 changes: 1 addition & 1 deletion auto-analyst-frontend/app/pricing/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const pricingTiers = [
'Advanced data analysis',
'Access to all models',
'Priority support',
`${TrialUtils.getTrialDisplayText()} free trial`,
`${TrialUtils.getTrialDisplayText()}`,
],
highlight: true,
trial: true,
Expand Down
6 changes: 3 additions & 3 deletions auto-analyst-frontend/lib/credits-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ export interface TrialConfig {
* Trial period configuration - Change here to update across the entire app
*/
export const TRIAL_CONFIG: TrialConfig = {
duration: 5,
unit: 'minutes',
displayText: '5-Minute Trial',
duration: 2,
unit: 'days',
displayText: '2-Day Free Trial',
credits: 500
}

Expand Down
Loading