Discover Events - Event Cactus
{#if isLoading}

Loading public events...

{:else if error}
⚠️

{error}

{:else if publicEvents.length === 0}
🔍

No Public Events Yet

There are no public events available at the moment. Be the first to create one!

{:else}

Public Events ({publicEvents.length})

Discover events created by the community

{#each publicEvents as event}

{event.name}

{formatDate(event.date)} at {formatTime(event.time)}
{event.location}
{event.type === 'limited' ? 'Limited' : 'Unlimited'} {#if event.type === 'limited' && event.attendee_limit} • {event.attendee_limit} max {/if}
{/each}
{/if}