Incentive (E1): Teaser und Rangliste zu einer Incentive-Seite zusammengefasst

Eine Seite unter /incentive/{slug}: oben Teilnahme-Block mit Bedingungen
(oder fuer bestaetigte Teilnehmer der Kopf mit Rang, Punkten, Praemie und
Bedingungen zum Aufklappen), darunter Titelbild, Text, Kacheln, "So
funktioniert es", Galerie und das Live-Ranking mit Sprungmarke #ranking.
Die alte URL /incentive/{slug}/ranking leitet dorthin um, Dashboard und
Detailseite verlinken auf die Sprungmarke, show.blade.php entfaellt.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Kevin 2026-09-22 13:11:10 +00:00
parent 99370b39aa
commit a1d890215a
10 changed files with 1010 additions and 1401 deletions

View file

@ -244,7 +244,7 @@ Route::domain(config('app.pre_url_crm').config('app.domain').config('app.tld_car
// incentive
Route::get('/incentive/{slug}', 'User\IncentiveController@teaser')->name('user_incentive_teaser');
Route::get('/incentive/{slug}/ranking', 'User\IncentiveController@show')->name('user_incentive_show');
Route::get('/incentive/{slug}/ranking', 'User\IncentiveController@show')->name('user_incentive_show'); // leitet auf user_incentive_teaser#ranking um
Route::post('/incentive/{slug}/participate', 'User\IncentiveController@participate')->name('user_incentive_participate');
Route::get('/incentive/{slug}/details', 'User\IncentiveController@details')->name('user_incentive_details');
});