Build world campaigns rewards and recaps

This commit is contained in:
2026-05-01 11:44:41 +02:00
parent 28e7e46e13
commit 257b0dbef6
100 changed files with 11300 additions and 367 deletions

View File

@@ -10,6 +10,7 @@ use App\Models\Group;
use App\Models\GroupChallenge;
use App\Services\GroupChallengeService;
use App\Services\GroupService;
use App\Services\Worlds\WorldService;
use App\Support\Seo\SeoFactory;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
@@ -22,6 +23,7 @@ class GroupChallengeController extends Controller
public function __construct(
private readonly GroupService $groups,
private readonly GroupChallengeService $challenges,
private readonly WorldService $worlds,
) {
}
@@ -56,6 +58,7 @@ class GroupChallengeController extends Controller
return Inertia::render('Group/GroupChallengeShow', [
'group' => $groupPayload,
'challenge' => $challengePayload,
'linkedWorld' => $this->worlds->linkedWorldForChallenge($challenge),
'seo' => $seo,
])->rootView('collections');
}