({ title, partners }: PartnerSection)
| 84 | ); |
| 85 | |
| 86 | function PartnerSection({ title, partners }: PartnerSection) { |
| 87 | return ( |
| 88 | <section className={styles.partnersSection}> |
| 89 | <div className={clsx("container")}> |
| 90 | <header className={styles.sectionHeader}> |
| 91 | <h2 className="type-delta text-11-o-clock">{title}</h2> |
| 92 | </header> |
| 93 | <ul className={styles.partnersGrid}> |
| 94 | {partners.map((partner, idx) => ( |
| 95 | <li key={idx} className={styles.partnerItem}> |
| 96 | <img |
| 97 | src={`/img/partners/${partner.logo}`} |
| 98 | alt={partner.name} |
| 99 | className={styles.partnerLogo} |
| 100 | /> |
| 101 | </li> |
| 102 | ))} |
| 103 | </ul> |
| 104 | <hr className={styles.divider} /> |
| 105 | </div> |
| 106 | </section> |
| 107 | ); |
| 108 | } |
| 109 | |
| 110 | export default function Partners(): JSX.Element { |
| 111 | // Delayed GTM event to ensure the document has loaded with updated information |
nothing calls this directly
no outgoing calls
no test coverage detected