ldc-legaulois/routes/web-fo.php
2024-01-10 14:49:46 +01:00

21 lines
810 B
PHP

<?php
use App\Http\Controllers\Fo\HomeController;
use App\Http\Controllers\Fo\StaticPageController;
use Illuminate\Support\Facades\Route;
Route::middleware(['throttle:credentials'])
->name('fo.')
->group(function () {
// * Dev route only
if (app()->environment() === 'local') {
Route::view('/bs-demo', 'fo.pages.bs-demo')->name('bs-demo');
}
Route::get('/', [HomeController::class, 'index'])->name('homepage');
Route::get('/contact', [StaticPageController::class, 'contact'])->name('contact.show');
// * LEGALS
Route::get('/mentions-legales', [StaticPageController::class, 'legals'])->name('legals.show');
Route::get('/charte-de-confidentialite', [StaticPageController::class, 'policies'])->name('policies.show');
});