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.
25 lines
545 B
TypeScript
25 lines
545 B
TypeScript
import { PageHeader } from '@kit/ui/page';
|
|
|
|
import { MobileAppNavigation } from '~/(dashboard)/home/[account]/(components)/mobile-app-navigation';
|
|
|
|
export function AppHeader({
|
|
children,
|
|
title,
|
|
description,
|
|
account,
|
|
}: React.PropsWithChildren<{
|
|
title: string | React.ReactNode;
|
|
description?: string | React.ReactNode;
|
|
account: string;
|
|
}>) {
|
|
return (
|
|
<PageHeader
|
|
title={title}
|
|
description={description}
|
|
mobileNavigation={<MobileAppNavigation slug={account} />}
|
|
>
|
|
{children}
|
|
</PageHeader>
|
|
);
|
|
}
|