New contact form with friendlycaptcha

This commit is contained in:
Jorit Tijsen
2026-02-24 14:04:04 +01:00
parent 6786ac7ce1
commit 3b4030113b
80 changed files with 2860 additions and 1918 deletions

View File

@@ -112,5 +112,12 @@ Route::get('/cookie-statement', 'Controller@view_cookie_statement')->name('cooki
Route::get('/special/stmaarten', function() { return file_get_contents('http://api-dev.6fm.nl/special/stmaarten'); });
Route::get('/kabelkrant', function() { return view('kabelkrant'); });
// New contact form
Route::get('/contact', 'ContactController@show')->name('contact');
Route::post('/contact', 'ContactController@submit')->name('contact.submit');
Route::get('/contact/video/{filename}', 'ContactController@video')
->where(['filename' => '[A-Za-z0-9_\-\.]+'])
->name('contact.video');
// Catch all route for API-based static routes
Route::get('{slug}', 'Controller@static_page')->where('slug', '^.*')->name('static_page');