diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index f0cda56..7cbc2c3 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -23,6 +23,6 @@ class HomeController extends Controller */ public function index() { - return view('dashboard'); + return view('home'); } } diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index ef7aad8..ea9ac94 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,106 +1,73 @@ - - - - - - Login - PrestamosTecmm - - - - - - -
-
-
-

PrestamosTecmm

-

Inicia sesión en tu cuenta

-
+@extends('layouts.app') - @if ($errors->any()) -
-
-
    - @foreach ($errors->all() as $error) -
  • {{ $error }}
  • - @endforeach -
-
-
- @endif +@section('content') +
+
+
+
+
{{ __('Login') }}
+ +
+
+ @csrf - - @csrf +
+ -
- -
-
- +
+ + + @error('email') + + {{ $message }} + + @enderror +
- -
-
-
- -
-
- +
+ + +
+ + + @error('password') + + {{ $message }} + + @enderror +
- -
-
-
-
- - -
+
+
+
+ - @if (Route::has('password.request')) - - ¿Olvidaste tu contraseña? - - @endif -
+ +
+
+
-
- -
- +
+
+ - @if (Route::has('register')) -
-

- ¿No tienes una cuenta? - - Regístrate aquí - -

+ @if (Route::has('password.request')) + + {{ __('Forgot Your Password?') }} + + @endif +
+
+ +
- @endif
- - -
-
-
-
- - +
+@endsection diff --git a/routes/web.php b/routes/web.php index 01d2c27..3b126a0 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,7 +1,6 @@ false,'reset'=>false]); +Auth::routes(); Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home'); - -Route::get('/usuarios', [usuariosController::class,'index'])->name('usuarios'); - -Route::get('/usuarios/nuevo', [usuariosController::class,'create'])->name('usuarios.create'); - -Route::post('/usuarios/store', [usuariosController::class,'store'])->name('usuarios.store'); diff --git a/vite.config.js b/vite.config.js index 89f26f5..dbbf333 100644 --- a/vite.config.js +++ b/vite.config.js @@ -5,7 +5,7 @@ export default defineConfig({ plugins: [ laravel({ input: [ - 'resources/css/app.css', + 'resources/sass/app.scss', 'resources/js/app.js', ], refresh: true,