'use client' export interface SectionHeaderProps { title: string subtitle?: string showSeeAll?: boolean seeAllHref?: string onSeeAllClick?: () => void } export function SectionHeader({ title, subtitle, showSeeAll = false, seeAllHref, onSeeAllClick }: SectionHeaderProps) { const handleSeeAllClick = (e: React.MouseEvent) => { if (onSeeAllClick) { e.preventDefault() onSeeAllClick() } } return (

{title}

{subtitle && (

{subtitle}

)}
{showSeeAll && ( See all )}
) }