@extends('layouts.master') @section('title', $page->title . ' | ' . setting('site.title')) @section('content')
WE ARE HIRING : SEE OPEN POSITIONS
{{-- Department tabs — generated dynamically from the grouped team data. Any new department added in Voyager automatically appears here. --}}
@foreach($teams as $department => $members) @endforeach
{{-- One panel per department; only the active one is visible. Within a panel, members are sub-grouped by company_working_with (a heading per company); members with no company set render in a plain grid with no heading. --}} @foreach($teams as $department => $members) @php [$noCompany, $byCompany] = \App\Models\Team::groupByCompany($members); @endphp
@if($noCompany->isNotEmpty())
{{-- No "wow" here on purpose: cards live inside hidden tab panels, and WOW.js would leave off-screen ones permanently invisible. The panel's own fade-in (see .team-panel.active) animates them. --}} @foreach($noCompany as $member) @include('partials.team-member-card', ['member' => $member]) @endforeach
@endif @foreach($byCompany as $company => $companyMembers)
{{ $company }}
@foreach($companyMembers as $member) @include('partials.team-member-card', ['member' => $member]) @endforeach
@endforeach
@endforeach {{-- "All" panel: every active member across every department, in one grid. --}}
@foreach($teams->collapse() as $member) @include('partials.team-member-card', ['member' => $member]) @endforeach
@endsection @push('custom-js-scripts') @endpush