Collections {#if isShowingCollectionModal} (isShowingCollectionModal = false)} on:saveEdit={saveEdit} on:save={saveOrCreate} /> {/if}

{$t(`adventures.my_collections`)}

{currentCount} {activeView === 'owned' ? $t('navbar.collections') : activeView === 'shared' ? $t('collection.shared_collections') : $t('adventures.archived_collections')}

{#if currentCollections.length === 0}
{#if activeView === 'owned'} {:else if activeView === 'shared'} {:else} {/if}

{activeView === 'owned' ? $t('collection.no_collections_yet') : activeView === 'shared' ? $t('collection.no_shared_collections') : $t('collection.no_archived_collections')}

{activeView === 'owned' ? $t('collection.create_first') : activeView === 'shared' ? $t('collection.make_sure_public') : $t('collection.archived_appear_here')}

{#if activeView === 'owned'} {/if}
{:else}
{#each currentCollections as collection} {/each}
{#if activeView === 'owned' && (next || previous)}
{#each Array.from({ length: totalPages }, (_, i) => i + 1) as page} {/each}
{/if} {/if}

{$t('adventures.filters_and_sort')}

{$t(`adventures.sort`)}

{#if activeView === 'owned'}
{/if}