import React from 'react' function EntityCard({ item, sectionKey }) { return (
{item.avatar ? : item.image ? :
}
{item.context_label ?
{item.context_label}
: null}
{item.title}
{item.subtitle ?
{item.subtitle}
: null}
{item.description ?

{item.description}

: null}
) } function RewardedCard({ item }) { const creator = item?.creator || null if (!creator) { return null } return (
{creator.avatar_url ? {creator.username :
}
{creator.name || creator.username || 'Creator'}
{item.badge_label}
{item.artwork?.title ?
{item.artwork.title}
: null}
) } export default function WorldRecapCreatorsPanel({ section }) { const items = Array.isArray(section?.items) ? section.items : [] const rewarded = Array.isArray(section?.rewarded) ? section.rewarded.filter(Boolean) : [] if (items.length === 0 && rewarded.length === 0) { return null } return (

{section.title || 'Creators and groups'}

{section.description ?

{section.description}

: null}
{items.length > 0 ?
{items.map((item) => )}
: null} {rewarded.length > 0 ? (
Rewarded contributors
{rewarded.map((item) => )}
) : null}
) }