@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $navGroups = \App\Support\Navigation\StudentNav::groups('teachers'); @endphp
@forelse($teachers as $row) @php $photoPath = $row['teacher']->teacher?->photo_path; @endphp
{{ $loop->iteration }}. @if($photoPath) {{ $row['teacher']->name }} @else @endif
{{ $row['teacher']->name }}

{{ $row['subjects']->implode(', ') }}

{{ $row['teacher']->teacher?->phone ?? $row['teacher']->email }}
@empty

No teachers assigned to your section yet.

@endforelse