committing everything before round 2
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="min-h-screen flex items-center justify-center bg-gray-50">
|
||||
<div class="w-full max-w-md px-4">
|
||||
|
||||
<div class="relative flex flex-col min-w-0 break-words bg-white shadow-soft-xl rounded-2xl bg-clip-border">
|
||||
<div class="card">
|
||||
|
||||
<div class="p-6 pb-0 text-center">
|
||||
<div class="inline-flex items-center justify-center w-14 h-14 rounded-xl bg-gradient-to-tl from-purple-700 to-pink-500 shadow-soft-2xl mb-4">
|
||||
@@ -15,24 +15,24 @@
|
||||
<div class="p-6">
|
||||
<form @submit.prevent="handleLogin">
|
||||
<div class="mb-4">
|
||||
<label class="mb-2 text-xs font-semibold text-slate-700 uppercase">Email</label>
|
||||
<label class="form-label">Email</label>
|
||||
<input
|
||||
v-model="form.email"
|
||||
type="email"
|
||||
required
|
||||
placeholder="you@example.com"
|
||||
class="text-sm focus:shadow-soft-primary-outline ease-soft block w-full rounded-lg border border-solid border-gray-300 bg-white bg-clip-padding py-2 px-3 text-gray-700 transition-all placeholder:text-gray-500 focus:border-fuchsia-300 focus:outline-none focus:transition-shadow"
|
||||
class="form-input"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="mb-4">
|
||||
<label class="mb-2 text-xs font-semibold text-slate-700 uppercase">Password</label>
|
||||
<label class="form-label">Password</label>
|
||||
<input
|
||||
v-model="form.password"
|
||||
type="password"
|
||||
required
|
||||
placeholder="••••••••"
|
||||
class="text-sm focus:shadow-soft-primary-outline ease-soft block w-full rounded-lg border border-solid border-gray-300 bg-white bg-clip-padding py-2 px-3 text-gray-700 transition-all placeholder:text-gray-500 focus:border-fuchsia-300 focus:outline-none focus:transition-shadow"
|
||||
class="form-input"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<button
|
||||
type="submit"
|
||||
:disabled="loading"
|
||||
class="inline-block w-full px-6 py-3 font-bold text-center text-white uppercase align-middle transition-all ease-in border-0 rounded-lg select-none shadow-soft-md bg-150 bg-x-25 leading-pro text-xs bg-gradient-to-tl from-purple-700 to-pink-500 hover:shadow-soft-2xl hover:scale-102 disabled:opacity-60 disabled:cursor-not-allowed disabled:hover:scale-100"
|
||||
class="inline-block w-full px-6 py-3 btn-primary"
|
||||
>
|
||||
{{ loading ? 'Signing in…' : 'Sign In' }}
|
||||
</button>
|
||||
@@ -56,7 +56,7 @@
|
||||
<div class="flex flex-col gap-3">
|
||||
<a
|
||||
href="/api/auth/github"
|
||||
class="inline-flex items-center justify-center w-full px-6 py-2.5 font-bold text-center text-slate-700 uppercase transition-all ease-in bg-white border border-solid border-gray-300 rounded-lg shadow-soft-sm text-xs hover:shadow-soft-md hover:scale-102"
|
||||
class="inline-flex items-center justify-center w-full px-6 py-2.5 btn-white"
|
||||
>
|
||||
<i class="fab fa-github mr-2 text-base"></i>
|
||||
Sign in with GitHub
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
<a
|
||||
href="/api/auth/gitea"
|
||||
class="inline-flex items-center justify-center w-full px-6 py-2.5 font-bold text-center text-slate-700 uppercase transition-all ease-in bg-white border border-solid border-gray-300 rounded-lg shadow-soft-sm text-xs hover:shadow-soft-md hover:scale-102"
|
||||
class="inline-flex items-center justify-center w-full px-6 py-2.5 btn-white"
|
||||
>
|
||||
<i class="fab fa-git-alt mr-2 text-base"></i>
|
||||
Sign in with Gitea
|
||||
|
||||
Reference in New Issue
Block a user