@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; @endphp @forelse($videosByCourse as $courseName => $videos)

{{ $courseName }}

{{ $videos->whereIn('id', $watched)->count() }} / {{ $videos->count() }} watched
@foreach($videos as $video) @php $isLocked = $locked->contains($video->id); @endphp {{ $video->title }} {{ $video->topic }}{{ $isLocked ? ' · Locked — clear overdue fees to watch' : '' }} @endforeach
@empty
No videos have been shared with your batches yet.
@endforelse