import { cn } from '@/lib/utils'; import type { HeaderSection } from '../types'; import { Container, SfButton } from '../ui'; export function Header({ section }: { section: HeaderSection }) { const { logoText, links, cta } = section.content; const centered = section.variant === 'centered'; return (
{logoText} {cta && !centered && ( {cta.label} )}
); }