<?php

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

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

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


// Route::get('/', function () {
//     // return view('web.home');
//     return redirect()->route('web.home');
// });

Route::get('/', [HomeController::class, 'index'])->name('web.home');

Route::get('/about-us', function () {
    return view('about-us');
});

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

Route::get('/privacy-policy', function () {
    return view('privacy-policy');
});

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

Route::get('/terms-and-conditions', function () {
    return view('terms-and-conditions');
});

