{#each pages as { title, id }}
changePage(id)}> {title}
{/each}