Deleted the billing-redirect-button, checkout-redirect-button, and embedded-stripe-checkout components. Additionally, removed the shadcn directory, which encompassed billing-related icons. This change streamlines the subscription settings interface and organizes the system's payment management. This update is a stepping stone towards improving the billing system's overall architecture.
29 lines
754 B
TypeScript
29 lines
754 B
TypeScript
import { PricingTable } from '@kit/billing/components/pricing-table';
|
|
|
|
import billingConfig from '~/config/billing.config';
|
|
import pathsConfig from '~/config/paths.config';
|
|
import { withI18n } from '~/lib/i18n/with-i18n';
|
|
|
|
import { SitePageHeader } from '../components/site-page-header';
|
|
|
|
export const metadata = {
|
|
title: 'Pricing',
|
|
};
|
|
|
|
function PricingPage() {
|
|
return (
|
|
<div className={'container mx-auto'}>
|
|
<div className={'my-8 flex flex-col space-y-16'}>
|
|
<SitePageHeader
|
|
title={'Pricing'}
|
|
subtitle={'Our pricing is designed to scale with your business.'}
|
|
/>
|
|
</div>
|
|
|
|
<PricingTable paths={pathsConfig.auth} config={billingConfig} />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default withI18n(PricingPage);
|