From eae76e5deb65b2ecb7b265ca14f24c1e0555e183 Mon Sep 17 00:00:00 2001 From: Nevo David Date: Sun, 11 Aug 2024 12:25:36 +0700 Subject: [PATCH] feat: main billing --- .../billing/main.billing.component.tsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/apps/frontend/src/components/billing/main.billing.component.tsx b/apps/frontend/src/components/billing/main.billing.component.tsx index 78889abc..48ffd033 100644 --- a/apps/frontend/src/components/billing/main.billing.component.tsx +++ b/apps/frontend/src/components/billing/main.billing.component.tsx @@ -107,8 +107,20 @@ export const Features: FC<{ if (currentPricing?.ai) { list.push(`AI auto-complete`); + list.push(`AI copilots`); + list.push(`AI Autocomplete`); } + list.push(`Advanced Picture Editor`); + + if (currentPricing?.image_generator) { + list.push( + `${currentPricing?.image_generation_count} AI Images per month` + ); + } + + list.push(`Marketplace full access`); + return list; }, [pack]); @@ -412,7 +424,9 @@ export const MainBillingComponent: FC<{ )} {subscription?.cancelAt && isGeneral() && (
- Your subscription will be cancel at {dayjs(subscription.cancelAt).local().format('D MMM, YYYY')}
+ Your subscription will be cancel at{' '} + {dayjs(subscription.cancelAt).local().format('D MMM, YYYY')} +
You will never be charged again
)}