20 lines
480 B
TypeScript
20 lines
480 B
TypeScript
import { UserWorkspace } from '@/app/home/(user)/_lib/server/load-user-workspace';
|
|
|
|
import { AppLogo } from '@kit/shared/components/app-logo';
|
|
import { Header } from '@kit/ui/marketing';
|
|
|
|
import { SiteHeaderAccountSection } from './site-header-account-section';
|
|
|
|
export function SiteHeader({
|
|
accounts,
|
|
}: {
|
|
accounts: UserWorkspace['accounts'];
|
|
}) {
|
|
return (
|
|
<Header
|
|
logo={<AppLogo />}
|
|
actions={<SiteHeaderAccountSection accounts={accounts} />}
|
|
/>
|
|
);
|
|
}
|