some frontend changes
Build / Build-image (push) Successful in 1m11s

This commit is contained in:
2026-08-14 15:37:29 +02:00
parent cd9ffc012e
commit eca046c1ea
2 changed files with 18 additions and 8 deletions
+8 -2
View File
@@ -103,9 +103,15 @@
</GuessWord>
</template>
</div>
<form ref="main-form" @submit="onSubmit" onsubmit="return false">
<UForm class="space-y-2" ref="main-form" @submit="onSubmit" onsubmit="return false">
<UFormField>
<UInput v-model="guess" @keyup="onkeyup()" autofocus/>
</form>
</UFormField>
<UButton type="submit">
Guess
</UButton>
</UForm>
</template>
<template v-if="!correct && guesses.length >= maxGuesses">
You ran out of guesses. Todays TLA was {{ tla }}
+8 -4
View File
@@ -2,14 +2,14 @@
<h1>TLA suggestion form</h1>
<UCard>
<UForm>
<UFormField label="Acronym" required>
<UInput placeholder="Enter your TLA"></UInput>
<UFormField class="form-field" label="Acronym" required>
<UInput class="w-80" placeholder="Enter your TLA"></UInput>
</UFormField>
<UFormField label="Motto" required>
<UInput placeholder="Enter the motto for your TLA"></UInput>
<UInput class="w-80" placeholder="Enter the motto for your TLA"></UInput>
</UFormField>
<UFormField label="Contex" required>
<UTextarea style="w-full" placeholder="Provide context for your TLA. This will be displayed upon completing the riddle of the day, either by guessing it correctly, or by running out of guesses."></UTextarea>
<UTextarea class="w-80" rows="5" placeholder="Provide context for your TLA. This will be displayed upon completing the riddle of the day, either by guessing it correctly, or by running out of guesses."></UTextarea>
</UFormField>
<UButton>
salkdjf
@@ -18,3 +18,7 @@
</UCard>
</template>
<style>
</style>