Files
myeasycms-v2/apps/web/app/(marketing)/pricing/page.tsx
giancarlo 7579ee9a2c Refactor authentication flow and improve code organization
The update implemented a redirect functionality in the multi-factor authentication flow for a better user experience. It also involved a refactoring of some parts of the code, substituting direct routing paths with path configs for easier future modifications. Import statements were adjusted for better code organization and readability.
2024-03-27 15:07:15 +08:00

28 lines
759 B
TypeScript

import { PricingTable } from '@kit/billing-gateway/components';
import { SitePageHeader } from '~/(marketing)/_components/site-page-header';
import billingConfig from '~/config/billing.config';
import pathsConfig from '~/config/paths.config';
import { withI18n } from '~/lib/i18n/with-i18n';
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);