Model: Qwen 3.6 35B A3

Prompt: forms for them should be in a container that's white, centerd on screen like forms are right now, just wrapped in white container

Stats:
Context: 98,313 tokens
Time: 17m 47s
This commit is contained in:
Darius Rapalis
2026-04-28 21:51:45 +03:00
parent 6ffefb4aa4
commit 3ed92810c3
6 changed files with 79 additions and 78 deletions

View File

@@ -13,8 +13,7 @@ defineProps<{
class="flex min-h-screen flex-col items-center justify-center bg-[#f2f6f8] p-6"
>
<div class="w-full max-w-[440px]">
<div class="flex flex-col gap-8">
<div class="flex flex-col items-center gap-4">
<div class="flex flex-col items-center gap-4 mb-8">
<Link
:href="home()"
class="flex flex-col items-center gap-2 font-medium"
@@ -34,13 +33,14 @@ defineProps<{
</div>
<span class="sr-only">ClockyLog</span>
</Link>
<div class="space-y-2 text-center">
</div>
<div class="rounded-2xl bg-white p-8 shadow-sm">
<div class="space-y-2 text-center mb-6">
<h1 class="text-2xl font-semibold text-[#333]">{{ title }}</h1>
<p class="text-sm text-[#607d8b]">
{{ description }}
</p>
</div>
</div>
<slot />
</div>
</div>

View File

@@ -26,13 +26,13 @@ defineProps<{
<div
v-if="status"
class="mb-2 text-center text-sm font-medium text-green-600"
class="mb-4 text-center text-sm font-medium text-green-600"
>
{{ status }}
</div>
<div class="space-y-5">
<Form v-bind="email.form()" v-slot="{ errors, processing }">
<div class="grid gap-5">
<div class="grid gap-2">
<Label for="email" class="text-sm font-medium text-[#333]">Email address</Label>
<Input
@@ -47,7 +47,7 @@ defineProps<{
<InputError :message="errors.email" />
</div>
<div class="pt-2">
<div>
<Button
class="w-full h-11 bg-[#03a9f4] hover:bg-[#0298dd] text-base font-medium"
:disabled="processing"
@@ -57,11 +57,11 @@ defineProps<{
<span v-else>Email password reset link</span>
</Button>
</div>
</div>
</Form>
<div class="text-center text-sm text-[#607d8b]">
<div class="text-center text-sm text-[#607d8b] mt-5">
<span>Or, return to</span>
<TextLink :href="login()" class="text-[#03a9f4] hover:text-[#0288d1] decoration-transparent hover:decoration-current underline-offset-4">log in</TextLink>
</div>
</div>
</template>

View File

@@ -31,7 +31,7 @@ defineProps<{
<div
v-if="status"
class="mb-2 text-center text-sm font-medium text-green-600"
class="mb-4 text-center text-sm font-medium text-green-600"
>
{{ status }}
</div>
@@ -106,8 +106,12 @@ defineProps<{
<span v-else>Log in</span>
</Button>
</div>
</Form>
<div class="text-center text-sm text-[#607d8b]">
<div
v-if="canRegister"
class="text-center text-sm text-[#607d8b] mt-5"
>
Don't have an account?
<TextLink
:href="register()"
@@ -115,5 +119,4 @@ defineProps<{
class="text-[#03a9f4] hover:text-[#0288d1] decoration-transparent hover:decoration-current underline-offset-4"
>Sign up</TextLink>
</div>
</Form>
</template>

View File

@@ -98,8 +98,9 @@ defineOptions({
<span v-else>Create account</span>
</Button>
</div>
</Form>
<div class="text-center text-sm text-[#607d8b]">
<div class="text-center text-sm text-[#607d8b] mt-5">
Already have an account?
<TextLink
:href="login()"
@@ -107,5 +108,4 @@ defineOptions({
tabindex="6"
>Log in</TextLink>
</div>
</Form>
</template>

View File

@@ -85,10 +85,10 @@ const inputEmail = ref(props.email);
<span v-else>Reset password</span>
</Button>
</div>
</Form>
<div class="text-center text-sm text-[#607d8b]">
<div class="text-center text-sm text-[#607d8b] mt-5">
<span>Or, return to</span>
<TextLink :href="login()" class="text-[#03a9f4] hover:text-[#0288d1] decoration-transparent hover:decoration-current underline-offset-4">log in</TextLink>
</div>
</Form>
</template>

View File

@@ -23,15 +23,14 @@ defineProps<{
<div
v-if="status === 'verification-link-sent'"
class="mb-2 text-center text-sm font-medium text-green-600"
class="mb-4 text-center text-sm font-medium text-green-600"
>
A new verification link has been sent to the email address you provided during registration.
</div>
<div class="space-y-5">
<Form
v-bind="send.form()"
class="text-center"
class="flex flex-col gap-5"
v-slot="{ processing }"
>
<Button
@@ -43,10 +42,9 @@ defineProps<{
</Button>
</Form>
<div class="text-center text-sm text-[#607d8b]">
<div class="text-center text-sm text-[#607d8b] mt-5">
<TextLink :href="logout()" as="button" class="text-[#03a9f4] hover:text-[#0288d1] decoration-transparent hover:decoration-current underline-offset-4">
Log out
</TextLink>
</div>
</div>
</template>