// Wander — Tour detail screen function DetailScreen({ tourId, onBack, onStart, onPaywall, dense }) { const { TOURS, STOPS } = window.WANDER_DATA; const tour = TOURS.find(t => t.id===tourId) || TOURS[0]; const isPro = tour.tier==='pro'; return (
{tour.formats.map(f => ( {formatIcon(f,12,'var(--w-slate)')} {f.toUpperCase()} ))}

{tour.title}

{tour.subtitle}
· By Local Storytellers

{tour.blurb}

👩‍🎨
Narrated by Mei Ling Ho
Singapore-based historian · 23 tours
{/* Audio player preview if narration is uploaded */} {tour.audio_url && (
Audio preview
)}
Stops on this walk
{STOPS.map((s,i) => (
{i+1}
{s.name}
{s.dist} · {s.duration}
))}
{isPro && (
Pro tour includes
The full story, not the postcard.
    {['Narration by a local historian','Hidden side-stops only locals know','AR overlays at key landmarks','Offline download for the whole route'].map(t => (
  • {t}
  • ))}
)}
{isPro ? : }
); } function Stat({ label, value }) { return (
{value}
{label}
); } Object.assign(window, { DetailScreen });