|
@@ -119,20 +119,6 @@
|
|
|
</div>
|
|
|
|
|
|
<div class=" bg-white dark:bg-gray-950 min-h-screen w-full flex justify-center font-primary">
|
|
|
- <!-- <div class="hidden lg:flex lg:flex-1 px-10 md:px-16 w-full bg-yellow-50 justify-center">
|
|
|
- <div class=" my-auto pb-16 text-left">
|
|
|
- <div>
|
|
|
- <div class=" font-semibold text-yellow-600 text-4xl">
|
|
|
- {$i18n.t('Get up and running with')} <br /> {$i18n.t('large language models, locally.')}
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="mt-2 text-yellow-600 text-xl">
|
|
|
- {$i18n.t('Run Llama 2, Code Llama, and other models. Customize and create your own.')}
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div> -->
|
|
|
-
|
|
|
<div class="w-full sm:max-w-md px-10 min-h-screen flex flex-col text-center">
|
|
|
{#if ($config?.features.auth_trusted_header ?? false) || $config?.features.auth === false}
|
|
|
<div class=" my-auto pb-10 w-full">
|
|
@@ -183,7 +169,7 @@
|
|
|
<input
|
|
|
bind:value={name}
|
|
|
type="text"
|
|
|
- class=" px-5 py-3 rounded-2xl w-full text-sm outline-none border dark:border-none dark:bg-gray-900"
|
|
|
+ class="w-full text-sm outline-none bg-transparent"
|
|
|
autocomplete="name"
|
|
|
placeholder={$i18n.t('Enter Your Full Name')}
|
|
|
required
|
|
@@ -198,7 +184,7 @@
|
|
|
<input
|
|
|
bind:value={email}
|
|
|
type="email"
|
|
|
- class=" px-5 py-3 rounded-2xl w-full text-sm outline-none border dark:border-none dark:bg-gray-900"
|
|
|
+ class=" w-full text-sm outline-none bg-transparent"
|
|
|
autocomplete="email"
|
|
|
placeholder={$i18n.t('Enter Your Email')}
|
|
|
required
|
|
@@ -211,7 +197,7 @@
|
|
|
<input
|
|
|
bind:value={password}
|
|
|
type="password"
|
|
|
- class=" px-5 py-3 rounded-2xl w-full text-sm outline-none border dark:border-none dark:bg-gray-900"
|
|
|
+ class="w-full text-sm outline-none bg-transparent"
|
|
|
placeholder={$i18n.t('Enter Your Password')}
|
|
|
autocomplete="current-password"
|
|
|
required
|
|
@@ -223,7 +209,7 @@
|
|
|
{#if $config?.features.enable_login_form}
|
|
|
<div class="mt-5">
|
|
|
<button
|
|
|
- class=" bg-gray-900 hover:bg-gray-800 w-full rounded-2xl text-white font-medium text-sm py-3 transition"
|
|
|
+ class=" bg-gray-900 hover:bg-gray-800 w-full rounded-2xl text-white font-medium text-sm py-2.5 transition"
|
|
|
type="submit"
|
|
|
>
|
|
|
{mode === 'signin' ? $i18n.t('Sign in') : $i18n.t('Create Account')}
|