2023-04-12 13:55:26 +00:00
|
|
|
<?php
|
|
|
|
|
|
2023-04-17 11:22:49 +00:00
|
|
|
use App\Http\Controllers\HomeController;
|
2023-04-12 13:55:26 +00:00
|
|
|
use App\Http\Controllers\ProfileController;
|
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| 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!
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2023-04-17 11:22:49 +00:00
|
|
|
Route::get('/', [HomeController::class, 'index']);
|
|
|
|
|
Route::get('/apply-for-event/{id}', [HomeController::class, 'apply']);
|
|
|
|
|
Route::post('/submit',[HomeController::class, 'submit']);
|
|
|
|
|
Route::view('thank', 'success');
|
2023-04-12 13:55:26 +00:00
|
|
|
|
2023-04-17 06:45:43 +00:00
|
|
|
Route::view('scan', 'scan');
|
|
|
|
|
|
2023-04-12 13:55:26 +00:00
|
|
|
|
|
|
|
|
require __DIR__.'/auth.php';
|