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:
@@ -13,8 +13,7 @@ defineProps<{
|
|||||||
class="flex min-h-screen flex-col items-center justify-center bg-[#f2f6f8] p-6"
|
class="flex min-h-screen flex-col items-center justify-center bg-[#f2f6f8] p-6"
|
||||||
>
|
>
|
||||||
<div class="w-full max-w-[440px]">
|
<div class="w-full max-w-[440px]">
|
||||||
<div class="flex flex-col gap-8">
|
<div class="flex flex-col items-center gap-4 mb-8">
|
||||||
<div class="flex flex-col items-center gap-4">
|
|
||||||
<Link
|
<Link
|
||||||
:href="home()"
|
:href="home()"
|
||||||
class="flex flex-col items-center gap-2 font-medium"
|
class="flex flex-col items-center gap-2 font-medium"
|
||||||
@@ -34,13 +33,14 @@ defineProps<{
|
|||||||
</div>
|
</div>
|
||||||
<span class="sr-only">ClockyLog</span>
|
<span class="sr-only">ClockyLog</span>
|
||||||
</Link>
|
</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>
|
<h1 class="text-2xl font-semibold text-[#333]">{{ title }}</h1>
|
||||||
<p class="text-sm text-[#607d8b]">
|
<p class="text-sm text-[#607d8b]">
|
||||||
{{ description }}
|
{{ description }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -26,13 +26,13 @@ defineProps<{
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="status"
|
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 }}
|
{{ status }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="space-y-5">
|
|
||||||
<Form v-bind="email.form()" v-slot="{ errors, processing }">
|
<Form v-bind="email.form()" v-slot="{ errors, processing }">
|
||||||
|
<div class="grid gap-5">
|
||||||
<div class="grid gap-2">
|
<div class="grid gap-2">
|
||||||
<Label for="email" class="text-sm font-medium text-[#333]">Email address</Label>
|
<Label for="email" class="text-sm font-medium text-[#333]">Email address</Label>
|
||||||
<Input
|
<Input
|
||||||
@@ -47,7 +47,7 @@ defineProps<{
|
|||||||
<InputError :message="errors.email" />
|
<InputError :message="errors.email" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pt-2">
|
<div>
|
||||||
<Button
|
<Button
|
||||||
class="w-full h-11 bg-[#03a9f4] hover:bg-[#0298dd] text-base font-medium"
|
class="w-full h-11 bg-[#03a9f4] hover:bg-[#0298dd] text-base font-medium"
|
||||||
:disabled="processing"
|
:disabled="processing"
|
||||||
@@ -57,11 +57,11 @@ defineProps<{
|
|||||||
<span v-else>Email password reset link</span>
|
<span v-else>Email password reset link</span>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</Form>
|
</Form>
|
||||||
|
|
||||||
<div class="text-center text-sm text-[#607d8b]">
|
<div class="text-center text-sm text-[#607d8b] mt-5">
|
||||||
<span>Or, return to</span>
|
<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>
|
<TextLink :href="login()" class="text-[#03a9f4] hover:text-[#0288d1] decoration-transparent hover:decoration-current underline-offset-4">log in</TextLink>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ defineProps<{
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="status"
|
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 }}
|
{{ status }}
|
||||||
</div>
|
</div>
|
||||||
@@ -106,8 +106,12 @@ defineProps<{
|
|||||||
<span v-else>Log in</span>
|
<span v-else>Log in</span>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</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?
|
Don't have an account?
|
||||||
<TextLink
|
<TextLink
|
||||||
:href="register()"
|
:href="register()"
|
||||||
@@ -115,5 +119,4 @@ defineProps<{
|
|||||||
class="text-[#03a9f4] hover:text-[#0288d1] decoration-transparent hover:decoration-current underline-offset-4"
|
class="text-[#03a9f4] hover:text-[#0288d1] decoration-transparent hover:decoration-current underline-offset-4"
|
||||||
>Sign up</TextLink>
|
>Sign up</TextLink>
|
||||||
</div>
|
</div>
|
||||||
</Form>
|
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -98,8 +98,9 @@ defineOptions({
|
|||||||
<span v-else>Create account</span>
|
<span v-else>Create account</span>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
</Form>
|
||||||
|
|
||||||
<div class="text-center text-sm text-[#607d8b]">
|
<div class="text-center text-sm text-[#607d8b] mt-5">
|
||||||
Already have an account?
|
Already have an account?
|
||||||
<TextLink
|
<TextLink
|
||||||
:href="login()"
|
:href="login()"
|
||||||
@@ -107,5 +108,4 @@ defineOptions({
|
|||||||
tabindex="6"
|
tabindex="6"
|
||||||
>Log in</TextLink>
|
>Log in</TextLink>
|
||||||
</div>
|
</div>
|
||||||
</Form>
|
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -85,10 +85,10 @@ const inputEmail = ref(props.email);
|
|||||||
<span v-else>Reset password</span>
|
<span v-else>Reset password</span>
|
||||||
</Button>
|
</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>
|
<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>
|
<TextLink :href="login()" class="text-[#03a9f4] hover:text-[#0288d1] decoration-transparent hover:decoration-current underline-offset-4">log in</TextLink>
|
||||||
</div>
|
</div>
|
||||||
</Form>
|
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -23,15 +23,14 @@ defineProps<{
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="status === 'verification-link-sent'"
|
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.
|
A new verification link has been sent to the email address you provided during registration.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="space-y-5">
|
|
||||||
<Form
|
<Form
|
||||||
v-bind="send.form()"
|
v-bind="send.form()"
|
||||||
class="text-center"
|
class="flex flex-col gap-5"
|
||||||
v-slot="{ processing }"
|
v-slot="{ processing }"
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
@@ -43,10 +42,9 @@ defineProps<{
|
|||||||
</Button>
|
</Button>
|
||||||
</Form>
|
</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">
|
<TextLink :href="logout()" as="button" class="text-[#03a9f4] hover:text-[#0288d1] decoration-transparent hover:decoration-current underline-offset-4">
|
||||||
Log out
|
Log out
|
||||||
</TextLink>
|
</TextLink>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user