import { ClientLogo } from '~/components/ui/client-logo'; import { LogoMark } from '~/components/ui/logo-mark'; import { Text } from '~/components/ui/text'; import { cn } from '~/lib/utils'; import type { ArPageLayout, BrandIdentity } from '~/types/project'; interface ArPageHeaderProps { brand?: BrandIdentity; modelName: string; layout: ArPageLayout; // Placement, e.g. over the model className?: string; } // Client logo top-left with the model name under it; the thob mark top-right. Each part can be turned off per project. export function ArPageHeader({ brand, modelName, layout, className }: ArPageHeaderProps) { return (
{brand && } {/* A hidden name stays for screen readers: it is the page heading */} {modelName}
{layout.thobLogo && }
); }