ClassQuiz - {data.user.username ? `@${data.user.username}` : 'User not found'}
{#if data.user.username === undefined}

{$t('public_user_page.user_not_found')}

{:else}
profile

@{data.user.username}

{$t('public_user_page.joined_on', { date: new Date(data.user.created_at).toLocaleDateString() })}

{/if}
{#if data.quizzes.length === 0}

{$t('public_user_page.no_original_quizzes')}

{:else} {#each data.quizzes as quiz}

{@html quiz.title}

{@html quiz.description}

{#if quiz.cover_image}
Not provided
{/if}
{#if $signedIn} {:else}
{/if}
{/each} {/if}
{#if start_game !== null} {/if}