<?php

use Illuminate\Support\Facades\Route;
use App\Http\Controllers\UserController;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider and all of them will
| be assigned to the "web" middleware group. Make something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

// // Show forgot password form
// Route::get('/forgot-password', [UserController::class, 'showForgotPasswordForm'])->name('password.request');

// // Submit forgot password form
// Route::post('/forgot-password', [UserController::class, 'sendResetLinkEmail'])->name('password.email');

// // Show reset password form
// Route::get('/reset-password/{token}', [UserController::class, 'showResetPasswordForm'])->name('password.update');

// // Submit reset password form
// Route::post('/reset-password', [UserController::class, 'resetPassword'])->name('password.update');

Auth::routes();

Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
