import React from 'react' import WorldPreviewButton from './WorldPreviewButton' export default function WorldMiniPreviewPanel({ world, sections, previewUrl }) { return (

Live mini preview

Hero hierarchy, CTA, badges, section order, and attached content update immediately as you edit.

{world?.cover_url ? : null}
{world?.type || 'seasonal'} {world?.badge_label ? {world.badge_label} : null} {world?.is_featured ? Homepage feature : null}
{world?.title || 'Untitled world'}
{world?.tagline ?
{world.tagline}
: null} {world?.summary ?
{world.summary}
: null}
{world?.cta_label ? {world.cta_label} : null} {world?.badge_description ? {world.badge_description} : null}
Visible section order
{Array.isArray(sections) && sections.length > 0 ? sections.map((section) => (
{section.label}
{section.count} attached items
{section.count === 0 ? Empty : null}
{Array.isArray(section.items) && section.items.length > 0 ?
{section.items.map((item) => {item.title})}
: null}
)) :
No sections are visible yet. Enable sections and attach content to shape the public world.
}
) }