{#await getData()}
{:then quizzes}
{#if create_button_clicked}
{$t('words.quiz')}
{$t('words.quiztivity')}
{:else}
{ create_button_clicked = true; }}>{$t('words.create')}
{/if}
{$t('words.import')}
{$t('words.results')}
{$t('words.files_library')}
{$t('words.settings')}
{#if quizzes.length !== 0}
{ search_term = ''; items_to_show = all_items; }} >
{#each items_to_show as quiz}
{#if quiz.cover_image}
{/if}
{@html quiz.title}
{@html quiz.description ?? ''}
(analytics_quiz_selected = quiz)} >
{#if quiz.type === 'quiz'}
{ start_game = quiz.id; }} flex={true} >
{:else}
{/if}
{ deleteQuiz(quiz.id, quiz.type); }} flex={true} >
{/each}
{:else}
{$t('overview_page.no_quizzes')}
{/if}
{:catch err}
{err}
{/await}
{#if start_game !== null}
{/if}