> $staffByRole */ $staffByRole = User::with('profile') ->whereIn('role', self::STAFF_ROLES) ->where('is_active', true) ->orderByRaw("CASE role WHEN 'admin' THEN 0 WHEN 'moderator' THEN 1 ELSE 2 END") ->orderBy('username') ->get() ->groupBy('role'); return view('web.staff', [ 'page_title' => 'Staff — Skinbase', 'page_meta_description' => 'Meet the Skinbase team — admins and moderators who keep the community running.', 'page_canonical' => url('/staff'), 'hero_title' => 'Meet the Staff', 'hero_description' => 'The people behind Skinbase who keep the community running smoothly.', 'breadcrumbs' => collect([ (object) ['name' => 'Home', 'url' => '/'], (object) ['name' => 'Staff', 'url' => '/staff'], ]), 'staffByRole' => $staffByRole, 'roleLabels' => [ 'admin' => 'Administrators', 'moderator' => 'Moderators', ], 'center_content' => true, 'center_max' => '3xl', ]); } }