2023-06-08 11:42:59 +02:00
|
|
|
<?php
|
|
|
|
|
2023-06-19 15:01:24 +02:00
|
|
|
use App\Http\Controllers\MailRedirectController;
|
2023-06-12 14:59:45 +02:00
|
|
|
use App\Http\Controllers\ProjectsController;
|
2023-06-08 11:42:59 +02:00
|
|
|
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!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
Route::get('/', function () {
|
|
|
|
return view('dashboard');
|
|
|
|
})->name('dashboard');
|
2023-06-10 22:58:26 +02:00
|
|
|
|
|
|
|
Route::get('/about', function () {
|
|
|
|
return view('about');
|
|
|
|
})->name('about');
|
|
|
|
|
2023-06-19 15:01:24 +02:00
|
|
|
Route::get('/blog', function () {
|
|
|
|
return view('blog');
|
|
|
|
})->name('blog');
|
|
|
|
|
|
|
|
Route::get('mail', MailRedirectController::class)->name('mail');
|
|
|
|
|
2023-06-12 14:59:45 +02:00
|
|
|
Route::resource('/projects', ProjectsController::class);
|
2023-06-08 11:42:59 +02:00
|
|
|
|
2023-06-12 14:59:45 +02:00
|
|
|
require __DIR__ . '/auth.php';
|