{#if isAdventureModalOpen} (isAdventureModalOpen = false)} on:save={saveOrCreate} /> {/if} {#if is_category_modal_open} (is_category_modal_open = false)} /> {/if} {$t('adventures.create_new')} { isAdventureModalOpen = true; adventureToEdit = null; }} > {$t('adventures.adventure')} {$t('navbar.my_adventures')} {count} {$t('adventures.count_txt')} {#if adventures.length === 0} {/if} {sidebarOpen ? $t(`adventures.close_filters`) : $t(`adventures.open_filters`)} {#each adventures as adventure} {/each} {#if totalPages > 1} {#each Array.from({ length: totalPages }, (_, i) => i + 1) as page} {#if currentPage != page} handleChangePage(page)} >{page} {:else} {page} {/if} {/each} {/if} (is_category_modal_open = true)} class="btn btn-neutral btn-sm min-w-full">{$t('categories.manage_categories')} {$t('adventures.sort')} {$t('adventures.order_direction')} {$t('adventures.order_by')} {$t('adventures.visited')} {$t('adventures.sources')} {$t('adventures.collection_adventures')} {$t('adventures.filter')} {$t('navbar.adventures')}
{$t('adventures.create_new')}
{count} {$t('adventures.count_txt')}
{$t('adventures.order_direction')}
{$t('adventures.order_by')}
{$t('adventures.visited')}
{$t('adventures.sources')}