@if($contests->count()) @php $favContests = Auth::user()->favContests ?? []; $favContestsIds = []; foreach ($favContests as $key => $favContest) { $favContestsIds[] = $favContest->contest_id; } @endphp
image
{{$context->title ?? 'Try your chance at winning'}}

{{$context->sub_title ?? 'Current Contest'}}

{!! $context->description ?? '

Participants buy tickets and lots are drawn to determine the winners.

' !!}
@foreach ($contests as $key => $contest) @include('application.contest.contast-card', ['contest' => $contest]) @endforeach
@if(count($contests) >= 6) @endif
@endif