{#await getData()}
{:then quizzes}
{$t('words.create')}
{$t('words.import')}
{$t('words.results')}
{$t('words.settings')}
{#if quizzes.length !== 0}
{ search_term = ''; quizzes_to_show = quizzes; suggestions = []; }} >
{#each quizzes_to_show as quiz}
{#if quiz.cover_image}
{/if}
{@html quiz.title}
{@html quiz.description}
{$t('words.edit')}
{ start_game = quiz.id; }} > {$t('words.start')}
{ // deleteQuiz(quiz.id); }} flex={true} >
{/each}
{:else}
{$t('overview_page.no_quizzes')}
{/if}
{:catch err}
{err}
{/await}