Add account hierarchy framework with migrations, RLS policies, and UI components

This commit is contained in:
T. Zehetbauer
2026-03-31 22:18:04 +02:00
parent 7e7da0b465
commit 59546ad6d2
262 changed files with 11671 additions and 3927 deletions

View File

@@ -1,7 +1,7 @@
import type { ReactNode } from 'react';
import { PageBody } from '@kit/ui/page';
import { AppBreadcrumbs } from '@kit/ui/app-breadcrumbs';
import { PageBody } from '@kit/ui/page';
import { TeamAccountLayoutPageHeader } from '~/home/[account]/_components/team-account-layout-page-header';
@@ -16,7 +16,12 @@ interface CmsPageShellProps {
* Shared CMS page shell — wraps PageBody + header + breadcrumbs.
* Use in every CMS feature page to maintain consistent layout.
*/
export function CmsPageShell({ account, title, description, children }: CmsPageShellProps) {
export function CmsPageShell({
account,
title,
description,
children,
}: CmsPageShellProps) {
return (
<>
<TeamAccountLayoutPageHeader
@@ -25,9 +30,7 @@ export function CmsPageShell({ account, title, description, children }: CmsPageS
description={description ?? <AppBreadcrumbs />}
/>
<PageBody>
{children}
</PageBody>
<PageBody>{children}</PageBody>
</>
);
}