diff --git a/resources/views/login.blade.php b/resources/views/login.blade.php index d390937..9875eac 100644 --- a/resources/views/login.blade.php +++ b/resources/views/login.blade.php @@ -1,48 +1,45 @@ - - - - - - - Bicicletería Lauck - Inicio de sesión - - - - -
+ +
-

Bicicletería Lauck

- - -
+

Bicicletería Lauck

+ + + +
@csrf -{{-- No muestra los errores, ver --}} - @if ($errors->any()) -
-
    - @foreach ($errors->all() as $error) -
  • {{ $error }}
  • - @endforeach -
-
- @endif + {{-- No muestra los errores, ver --}} + {{-- Bloque de errores de validación y autenticación --}} + @if ($errors->any()) +
+ {{-- Muestra el primer mensaje de error sin lista --}} +

+ {{ $errors->first() }} +

+
+ @endif
- + + 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">
- + + 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">
+ class="w-full bg-lime-400 font-bold text-white py-2 rounded-md hover:bg-lime-500 transition-colors">

@@ -51,7 +48,4 @@

- - - - + \ No newline at end of file diff --git a/resources/views/prueba.blade.php b/resources/views/prueba.blade.php new file mode 100644 index 0000000..08a0492 --- /dev/null +++ b/resources/views/prueba.blade.php @@ -0,0 +1,9 @@ + + +
+ Contraseña + +
+ +
\ No newline at end of file diff --git a/resources/views/register.blade.php b/resources/views/register.blade.php index 7c1a62b..6439a7f 100644 --- a/resources/views/register.blade.php +++ b/resources/views/register.blade.php @@ -1,25 +1,13 @@ - - - - - - - Bicicletería Lauck - Registro - - - - +
-

- Bicicletería Lauck -

+

Bicicletería Lauck

-
+

Registrarse

-

Por favor completá el formulario para crear una cuenta.

+

Por favor completá el formulario para crear una cuenta.

@csrf @@ -27,38 +15,38 @@
    @foreach ($errors->all() as $error) -
  • {{ $error }}
  • +
  • {{ $error }}
  • @endforeach
@endif
- +
- +
- +
- +
+ class="w-full bg-lime-500 font-bold text-white py-2 rounded-md hover:bg-lime-600 transition-colors">

@@ -68,6 +56,4 @@

- - - + \ No newline at end of file