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

{item.title}

{item.subtitle ?
{item.subtitle}
: null} {item.description ?

{item.description}

: null} {Array.isArray(item.meta) && item.meta.length > 0 ? (
{item.meta.map((entry) => ( {entry} ))}
) : null}
) } export default function WorldSection({ section }) { if (!section || !Array.isArray(section.items) || section.items.length === 0) { return null } return (

{section.title}

{section.description ?

{section.description}

: null}
{section.items.length} items
{section.items.map((item) => )}
) }