--- // Define props from Astro const { title, subTitle, partners } = Astro.props; interface Partner { icon: any; name?: string; href?: string; } // Define TypeScript interface for props interface Props { title: string; subTitle?: string; partners: Partner[]; } const visiblePartners = partners.filter( partner => partner.href && partner.icon ); ---
{/* Title and description */}

{title}

{ subTitle && (

{subTitle}

) }
{/* Clients Group SVGs */} { visiblePartners.map(partner => (
)) }