@if(Session::has('success_message'))
{!! Session::get('success_message') !!}
@endif
@if(Session::has('error_message'))
{!! Session::get('error_message') !!}
@endif
@if (!$competitions->isEmpty())
{{-- Winner videos --}}
{!! __('winner.video.list.title') !!}
@forelse ($competitions as $competition)
{!! $competition->first()->competition_start_date !!} - {!! $competition->first()->competition_end_date !!}
@if($competition->count() >= 4)
@include('video.layout.slider', ['videos' => $competition, 'carousel_id' => 'winner_videos_carousel', 'winner' => true])
@else
@forelse ($competition as $video_co)
@include('video.layout.card', ['video' => $video_co, 'winner' => true])
@empty
@include('video.layout.empty', ['title' => __('video.notFoundSearch.title'), 'description' => __('video.notFoundSearch.description')])
@endforelse
@endif
@empty
@endforelse
{{-- Paginate --}}
@if (isset($video_list_data['query']) && $video_list_data['max_page'] > 1)
@endif
{{--
@forelse ($videos as $video)
@include('video.layout.card', ['video' => $video])
@empty
@include('video.layout.empty', ['title' => __('video.notFoundSearch.title'), 'description' => __('video.notFoundSearch.description')])
@endforelse
--}}
@else
@include('video.layout.empty', ['title' => __('video.notFound.title'), 'description' => __('video.notFound.description')])
@endif
@include('video/counter')