{#if notFound}
Lost

Adventure not Found

The adventure you were looking for could not be found. Please try a different adventure or check back later.

{/if} {#if isEditModalOpen} (isEditModalOpen = false)} on:save={saveEdit} /> {/if} {#if image_url} (image_url = null)} {adventure} /> {/if} {#if !adventure && !notFound}
{/if} {#if adventure} {#if data.user && data.user.pk == adventure.user_id}
{/if}
{#if adventure.images && adventure.images.length > 0} {/if}

{adventure.name}

{#if adventure.rating !== undefined && adventure.rating !== null}
{#each Array.from({ length: 5 }, (_, i) => i + 1) as star} {/each}
{/if}
{adventure.is_public ? 'Public' : 'Private'}
{#if adventure.location}
{adventure.location}
{/if} {#if adventure.activity_types && adventure.activity_types?.length > 0}
{adventure.activity_types.join(', ')}
{/if} {#if adventure.link} {/if}
{#if adventure.description}

{adventure.description}

{/if}

Adventure Details

Adventure Type

{adventure.type[0].toLocaleUpperCase() + adventure.type.slice(1)}

{#if data.props.collection} {/if}
{#if adventure.longitude && adventure.latitude}

Latitude

{adventure.latitude}° N

Longitude

{adventure.longitude}° W

{adventure.name}

{adventure.type.charAt(0).toUpperCase() + adventure.type.slice(1)}

{/if}
{/if} {data.props.adventure && data.props.adventure.name ? `${data.props.adventure.name}` : 'Adventure'}