diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte index a517356..80a710b 100644 --- a/src/routes/about/+page.svelte +++ b/src/routes/about/+page.svelte @@ -1,6 +1,6 @@ About - +
diff --git a/src/routes/admin/+page.svelte b/src/routes/admin/+page.svelte index 25278d7..12e2b0a 100644 --- a/src/routes/admin/+page.svelte +++ b/src/routes/admin/+page.svelte @@ -84,113 +84,15 @@ - Sverdle - + Admin Menu + -

Sverdle

+
+

Admin Menu: Not yet implemented

-
{ - // prevent default callback from resetting the form - return ({ update }) => { - update({ reset: false }); - }; - }} -> - How to play - -
- {#each Array.from(Array(6).keys()) as row (row)} - {@const current = row === i} -

Row {row + 1}

-
- {#each Array.from(Array(5).keys()) as column (column)} - {@const answer = data.answers[row]?.[column]} - {@const value = data.guesses[row]?.[column] ?? ''} - {@const selected = current && column === data.guesses[row].length} - {@const exact = answer === 'x'} - {@const close = answer === 'c'} - {@const missing = answer === '_'} -
- {value} - - {#if exact} - (correct) - {:else if close} - (present) - {:else if missing} - (absent) - {:else} - empty - {/if} - - -
- {/each} -
- {/each} -
- -
- {#if won || data.answers.length >= 6} - {#if !won && data.answer} -

the answer was "{data.answer}"

- {/if} - - {:else} -
- - - - - {#each ['qwertyuiop', 'asdfghjkl', 'zxcvbnm'] as row} -
- {#each row as letter} - - {/each} -
- {/each} -
- {/if} -
-
- -{#if won} -
-{/if} +

Next on the list after proper graphs

+