Almost done

This commit is contained in:
2025-09-06 01:50:13 +02:00
parent 362cd7019b
commit 985f6d9bf9
26 changed files with 832 additions and 98 deletions

View File

@@ -0,0 +1,22 @@
<script lang="ts">
import type { SimpleQuestion } from "./games/games";
interface Props {
question: SimpleQuestion;
showAnswer: boolean;
[key: string]: unknown;
}
let { question, showAnswer }: Props = $props();
</script>
<div class="mb-4 flex grow flex-col items-center text-6xl">
<div class="flex grow-1 items-center">
<div>{question.data.question}</div>
</div>
{#if showAnswer}
<div class="flex grow-1 items-center">
{question.data.answer}
</div>
{/if}
</div>