Files
myeasycms-v2/apps/web/app/(dashboard)/home/[account]/(components)/app-header.tsx
giancarlo cb8b23e8c0 Remove billing and checkout redirect buttons and related services
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.
2024-03-25 11:39:41 +08:00

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>
);
}