import { UserWorkspace } from '@/app/home/(user)/_lib/server/load-user-workspace';

import { Header } from '@kit/ui/marketing';

import { AppLogo } from '@kit/shared/components/app-logo';

import { SiteHeaderAccountSection } from './site-header-account-section';

export function SiteHeader({
  accounts,
}: {
  accounts: UserWorkspace['accounts'];
}) {
  return (
    <Header
      logo={<AppLogo />}
      actions={<SiteHeaderAccountSection accounts={accounts} />}
    />
  );
}
