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