NuevaBranch
This commit is contained in:
@@ -1,40 +1,36 @@
|
||||
<x-layout title="Login - Lauck">
|
||||
<div class="flex flex-col items-center space-y-6 w-full max-w-lg p-6">
|
||||
<!-- Título -->
|
||||
<h1 class="text-4xl font-bold text-white text-center drop-shadow-lg" > Bicicletería<span class="text-neon-lime"> Lauck</span> </h1>
|
||||
|
||||
<!--
|
||||
<x-section-header
|
||||
|
||||
<div class="justify-center">
|
||||
<x-section-header
|
||||
subtitle="Inicio de sesion"
|
||||
title="Bicicletería "
|
||||
highlight="Lauck"
|
||||
/>
|
||||
-->
|
||||
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col items-center space-y-6 w-full max-w-lg p-6">
|
||||
<div class="bg-zinc-900 p-8 rounded-xl shadow-lg w-full max-w-md border-2 border-gray-500">
|
||||
<form action="{{ route('login.attempt') }}" method="POST" class="space-y-5">
|
||||
@csrf
|
||||
{{-- No muestra los errores, ver --}}
|
||||
{{-- Bloque de errores de validación y autenticación --}}
|
||||
@if ($errors->any())
|
||||
<div class="bg-red-900 border border-red-700 text-white p-3 rounded-md">
|
||||
{{-- Muestra el primer mensaje de error sin lista --}}
|
||||
<p class="text-sm font-medium">
|
||||
{{ $errors->first() }}
|
||||
</p>
|
||||
</div>
|
||||
@endif
|
||||
{{-- Bloque de errores --}}
|
||||
@if ($errors->any())
|
||||
<div class="bg-red-900 border border-red-700 text-white p-3 rounded-md">
|
||||
<p class="text-sm font-medium">
|
||||
{{ $errors->first() }}
|
||||
</p>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div>
|
||||
<label class="block text-sm font-bold text-gray-600 mb-1">Correo electrónico</label>
|
||||
<input type="email" name="email" required
|
||||
class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-lime-400 text-gray-600">
|
||||
<x-forms.label class="block text-sm font-bold text-gray-600 mb-1">Correo electrónico</x-forms.label>
|
||||
<x-forms.input type="email" name="email" required
|
||||
class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-lime-400 text-gray-600"/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="block text-sm font-bold text-gray-600 mb-1">Contraseña</label>
|
||||
<input type="password" name="password" required
|
||||
class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-lime-400 text-gray-600">
|
||||
<x-forms.label class="block text-sm font-bold text-gray-600 mb-1">Contraseña</x-forms.label>
|
||||
<x-forms.input type="password" name="password" required
|
||||
class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-lime-400 text-gray-600"/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user