33 lines
1.9 KiB
PHP
33 lines
1.9 KiB
PHP
<div class="bg-white shadow-xl rounded-2xl p-8" style="border-top:4px solid #6366f1">
|
|
<div class="text-center mb-8">
|
|
<div class="mx-auto h-14 w-14 rounded-xl flex items-center justify-center text-white font-bold text-xl mb-4 shadow-lg" style="background:linear-gradient(135deg,#4338ca,#6366f1)">T2</div>
|
|
<h2 class="text-2xl font-bold text-gray-900">TerManager2</h2>
|
|
<p class="text-gray-500 text-sm mt-1">Accedi per continuare</p>
|
|
</div>
|
|
|
|
<form method="POST" action="{{ route('login.store') }}" class="space-y-5">
|
|
@csrf
|
|
<div>
|
|
<label for="email" class="block text-sm font-medium text-gray-700">Email</label>
|
|
<input name="email" value="{{ old('email') }}" type="email" id="email" autocomplete="email"
|
|
class="mt-1 block w-full rounded-lg border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 text-sm px-4 py-2.5">
|
|
@error('email') <p class="mt-1 text-sm text-red-600">{{ $message }}</p> @enderror
|
|
</div>
|
|
|
|
<div>
|
|
<label for="password" class="block text-sm font-medium text-gray-700">Password</label>
|
|
<input name="password" type="password" id="password" autocomplete="current-password"
|
|
class="mt-1 block w-full rounded-lg border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 text-sm px-4 py-2.5">
|
|
@error('password') <p class="mt-1 text-sm text-red-600">{{ $message }}</p> @enderror
|
|
</div>
|
|
|
|
<div class="flex items-center">
|
|
<input name="remember" value="1" {{ old('remember') ? 'checked' : '' }} type="checkbox" id="remember"
|
|
class="h-4 w-4 text-indigo-600 border-gray-300 rounded focus:ring-indigo-500">
|
|
<label for="remember" class="ml-2 text-sm text-gray-600">Ricordami</label>
|
|
</div>
|
|
|
|
<x-btn variante="primary" type="submit" class="w-full">Accedi</x-btn>
|
|
</form>
|
|
</div>
|