Added ABCD-Question to Quiztivities

This commit is contained in:
Mawoka
2023-06-15 18:42:39 +02:00
parent 3cfd51e1cf
commit 2076e7cffb
10 changed files with 187 additions and 10 deletions
@@ -32,6 +32,10 @@
{#await import('$lib/quiztivity/components/memory/play.svelte') then c}
<svelte:component this={c.default} data={current_slide.data} />
{/await}
{:else if current_slide.type === QuizTivityTypes.ABCD}
{#await import('$lib/quiztivity/components/abcd/play.svelte') then c}
<svelte:component this={c.default} data={current_slide.data} />
{/await}
{/if}
</div>
<NavigationBar bind:current_slide_index question_count={quiztivity.pages.length} />