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.
20 lines
474 B
TypeScript
20 lines
474 B
TypeScript
import { PageBody, PageHeader } from '@kit/ui/page';
|
|
import { Trans } from '@kit/ui/trans';
|
|
|
|
import { withI18n } from '~/lib/i18n/with-i18n';
|
|
|
|
function UserSettingsLayout(props: React.PropsWithChildren) {
|
|
return (
|
|
<>
|
|
<PageHeader
|
|
title={<Trans i18nKey={'common:yourAccountTabLabel'} />}
|
|
description={'Manage your account settings'}
|
|
/>
|
|
|
|
<PageBody>{props.children}</PageBody>
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default withI18n(UserSettingsLayout);
|