🆙 Add fixed cms 🆙

This commit is contained in:
Remco
2026-02-02 19:30:21 +01:00
parent b1a2cab62d
commit b67e0ec2b9
3982 changed files with 193682 additions and 0 deletions
@@ -0,0 +1,23 @@
<?php
namespace App\Http\Controllers\Community\Teams;
use App\Models\Community\Teams\WebsiteTeam;
use Illuminate\Contracts\View\View;
class TeamsController
{
public function __invoke(): View
{
$employees = WebsiteTeam::query()
->where('hidden_rank', false)
->with(['users' => fn ($q) => $q
->select(['id', 'username', 'look', 'motto', 'team_id'])
->orderBy('username'),
])
->orderBy('rank_name')
->get();
return view('community.teams', compact('employees'));
}
}