Spaces:
Sleeping
Sleeping
Yuyuqt
add: books, borrowings, home, login, membership, register, reward, userinsights, wishlist, themes
6f32ae8 | @model LibraryManagement.Shared.Models.LoginRequest | |
| @{ | |
| ViewData["Title"] = "Sign In"; | |
| Layout = "_Layout"; | |
| } | |
| <div class="min-h-[calc(100vh-200px)] flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="max-w-md w-full space-y-8 bg-white p-10 rounded-2xl border border-slate-200 shadow-xl"> | |
| <div> | |
| <div class="mx-auto h-12 w-12 bg-slate-900 rounded-xl flex items-center justify-center text-white mb-4"> | |
| <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/><polyline points="10 17 15 12 10 7"/><line x1="15" y1="12" x2="3" y2="12"/></svg> | |
| </div> | |
| <h2 class="text-center text-3xl font-extrabold text-slate-900 tracking-tight">Welcome back</h2> | |
| <p class="mt-2 text-center text-sm text-slate-500"> | |
| Continue where you left off. | |
| </p> | |
| </div> | |
| <form class="mt-8 space-y-6" asp-action="Login" method="POST"> | |
| <div asp-validation-summary="ModelOnly" class="text-red-500 text-sm mb-4 bg-red-50 p-3 rounded-lg border border-red-100"></div> | |
| <div class="space-y-4"> | |
| <div> | |
| <label asp-for="Email" class="block text-sm font-medium text-slate-700 mb-1">Email Address</label> | |
| <input asp-for="Email" type="email" required class="appearance-none relative block w-full px-3 py-2 border border-slate-300 placeholder-slate-400 text-slate-900 rounded-md focus:outline-none focus:ring-slate-900 focus:border-slate-900 focus:z-10 sm:text-sm" placeholder="name@example.com"> | |
| <span asp-validation-for="Email" class="text-xs text-red-500 mt-1"></span> | |
| </div> | |
| <div> | |
| <div class="flex items-center justify-between mb-1"> | |
| <label asp-for="Password" class="block text-sm font-medium text-slate-700">Password</label> | |
| <a href="#" class="text-xs font-medium text-slate-900 hover:underline">Forgot password?</a> | |
| </div> | |
| <input asp-for="Password" type="password" required class="appearance-none relative block w-full px-3 py-2 border border-slate-300 placeholder-slate-400 text-slate-900 rounded-md focus:outline-none focus:ring-slate-900 focus:border-slate-900 focus:z-10 sm:text-sm" placeholder="••••••••"> | |
| <span asp-validation-for="Password" class="text-xs text-red-500 mt-1"></span> | |
| </div> | |
| </div> | |
| <div> | |
| <button type="submit" class="group relative w-full flex justify-center py-2.5 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-slate-900 hover:bg-slate-800 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-900 transition-all"> | |
| Sign In | |
| </button> | |
| </div> | |
| <div class="text-center"> | |
| <span class="text-sm text-slate-500">Don't have an account?</span> | |
| <a asp-action="Register" class="text-sm font-medium text-slate-900 hover:underline ml-1">Create one for free</a> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |