From b648ce0b0cb453aadf77c738eec68712e36bb7c1 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Fri, 19 Sep 2025 11:36:06 -0400 Subject: [PATCH] remove old pricing config object --- .../components/pricing-modal/src/index.ts | 1 - .../pricing-modal/src/lib/pricing-config.ts | 95 ------------------- 2 files changed, 96 deletions(-) delete mode 100644 frontend/libs/components/pricing-modal/src/lib/pricing-config.ts diff --git a/frontend/libs/components/pricing-modal/src/index.ts b/frontend/libs/components/pricing-modal/src/index.ts index a02f1fb21c..8d176a31ec 100644 --- a/frontend/libs/components/pricing-modal/src/index.ts +++ b/frontend/libs/components/pricing-modal/src/index.ts @@ -1,5 +1,4 @@ export * from "./lib/pricing-modal"; -export * from "./lib/pricing-config"; export * from "./lib/pricing-modal-store"; export * from "./lib/credits-modal"; export * from "./lib/credits-modal-store"; diff --git a/frontend/libs/components/pricing-modal/src/lib/pricing-config.ts b/frontend/libs/components/pricing-modal/src/lib/pricing-config.ts deleted file mode 100644 index cf759ff8f8..0000000000 --- a/frontend/libs/components/pricing-modal/src/lib/pricing-config.ts +++ /dev/null @@ -1,95 +0,0 @@ -export interface PricingFeature { - text: string; - included: boolean; - tooltip?: string; -} - -export interface PricingTier { - id: string; - name: string; - monthlyPrice: number; - yearlyPrice: number; - originalMonthlyPrice?: number; - originalYearlyPrice?: number; - monthlyPriceId?: string; - yearlyPriceId?: string; - features: PricingFeature[]; - isPopular?: boolean; - colorScheme: "dark" | "green" | "purple" | "orange"; -} - -export const pricingConfig = { - header: { - title: "Purchase a subscription", - subtitle: - "Upgrade to gain access to Pro features and generate more, faster.", - }, - yearlyDiscount: 20, - tiers: [ - { - id: "free", - name: "Free", - monthlyPrice: 0, - yearlyPrice: 0, - features: [ - { text: "Free daily generations", included: true }, - { text: "Limited access to ArtCraft tools", included: true }, - ], - colorScheme: "dark" as const, - }, - { - id: "plus", - name: "Plus", - monthlyPrice: 8, - yearlyPrice: 96, - originalMonthlyPrice: 10, - originalYearlyPrice: 120, - monthlyPriceId: "price_1234567890abcdef", //dummy - yearlyPriceId: "price_abcdef1234567890", //dummy - features: [ - { text: "~1,010 Flux images", included: true }, - { text: "~36,000 real-time images", included: true }, - { text: "~180 enhanced images", included: true }, - { text: "~6 training jobs", included: true }, - { text: "Commercial license", included: true }, - ], - colorScheme: "green" as const, - }, - { - id: "pro", - name: "Pro", - monthlyPrice: 28, - yearlyPrice: 336, - originalMonthlyPrice: 35, - originalYearlyPrice: 420, - monthlyPriceId: "price_fedcba0987654321", //dummy - yearlyPriceId: "price_123456789fedcba0", //dummy - features: [ - { text: "~5,048 Flux images", included: true }, - { text: "~180,000 real-time images", included: true }, - { text: "~900 enhanced images", included: true }, - { text: "~30 training jobs", included: true }, - { text: "Commercial license", included: true }, - ], - colorScheme: "purple" as const, - }, - { - id: "max", - name: "Max", - monthlyPrice: 48, - yearlyPrice: 576, - originalMonthlyPrice: 60, - originalYearlyPrice: 720, - monthlyPriceId: "price_9876543210fedcba", //dummy - yearlyPriceId: "price_abcdef9876543210", //dummy - features: [ - { text: "~15,142 Flux images", included: true }, - { text: "~540,000 real-time images", included: true }, - { text: "~2,700 enhanced images", included: true }, - { text: "~90 training jobs", included: true }, - { text: "Commercial license", included: true }, - ], - colorScheme: "orange" as const, - }, - ] as PricingTier[], -};