Add AI skills
This commit is contained in:
@@ -7,38 +7,42 @@
|
||||
</script>
|
||||
|
||||
<Window>
|
||||
<div class="flex flex-col items-start justify-center">
|
||||
{#if form?.success}
|
||||
{#if form?.success}
|
||||
<div class="mx-auto max-w-md text-center">
|
||||
<div
|
||||
class="mb-4 w-full rounded-lg border border-green-200 bg-green-50 p-4 text-green-700"
|
||||
class="rounded-lg border border-green-200 bg-green-50 p-6 text-green-700"
|
||||
>
|
||||
<p class="font-medium">Account created!</p>
|
||||
<p class="mt-1 text-sm">
|
||||
<p class="text-lg font-medium">Account created!</p>
|
||||
<p class="mt-2">
|
||||
We've sent a verification email. Check your inbox and click the link to verify your
|
||||
email address, then log in.
|
||||
</p>
|
||||
</div>
|
||||
{:else if form?.error}
|
||||
<div class="mb-4 w-full rounded-lg border border-red-200 bg-red-50 p-3 text-red-700">
|
||||
{form.error}
|
||||
</div>
|
||||
{/if}
|
||||
<form method="POST" class="flex flex-col items-start">
|
||||
<input type="text" name="firstName" placeholder="First Name" required class="mb-2" />
|
||||
<input type="text" name="lastName" placeholder="Last Name" required class="mb-2" />
|
||||
<input type="email" name="email" placeholder="Email Address" required class="mb-2" />
|
||||
<input type="password" name="password" placeholder="Password" required class="mb-2" />
|
||||
<input type="password" name="password2" placeholder="Verify Password" required class="mb-2" />
|
||||
<button type="submit" class="mx-auto rounded-full bg-blue-600 px-6 py-2 text-white"
|
||||
>Submit</button
|
||||
</div>
|
||||
{:else}
|
||||
<div class="flex flex-col items-start justify-center">
|
||||
{#if form?.error}
|
||||
<div class="mb-4 w-full rounded-lg border border-red-200 bg-red-50 p-3 text-red-700">
|
||||
{form.error}
|
||||
</div>
|
||||
{/if}
|
||||
<form method="POST" class="flex flex-col items-start">
|
||||
<input type="text" name="firstName" placeholder="First Name" required class="mb-2" />
|
||||
<input type="text" name="lastName" placeholder="Last Name" required class="mb-2" />
|
||||
<input type="email" name="email" placeholder="Email Address" required class="mb-2" />
|
||||
<input type="password" name="password" placeholder="Password" required class="mb-2" />
|
||||
<input type="password" name="password2" placeholder="Verify Password" required class="mb-2" />
|
||||
<button type="submit" class="mx-auto rounded-full bg-blue-600 px-6 py-2 text-white"
|
||||
>Submit</button
|
||||
>
|
||||
</form>
|
||||
<p class=" mx-auto my-6 text-center">Or</p>
|
||||
<button
|
||||
class="mx-auto"
|
||||
onclick={async () => {
|
||||
await authClient.signIn.social({ provider: 'google', callbackURL: '/account/setup' });
|
||||
}}><img src="light/web_light_sq_SU.svg" alt="Sign Up with Google" /></button
|
||||
>
|
||||
</form>
|
||||
<p class=" mx-auto my-6 text-center">Or</p>
|
||||
<button
|
||||
class="mx-auto"
|
||||
onclick={async () => {
|
||||
await authClient.signIn.social({ provider: 'google', callbackURL: '/account/setup' });
|
||||
}}><img src="light/web_light_sq_SU.svg" alt="Sign Up with Google" /></button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
</Window>
|
||||
|
||||
Reference in New Issue
Block a user