@if($fresh_videos->count() >= 4 || $top_videos->count() >= 4 || $winner_videos)
{{-- Recently added videos --}}
@if ($fresh_videos->count() >= 4)
{!! __('video.list.recentlyAddedList.title') !!}
@include('video.layout.slider', ['videos' => $fresh_videos, 'carousel_id' => 'fresh_videos_carousel'])
{{--
@forelse ($fresh_videos as $fresh_video)
@include('video.layout.card', ['video' => $fresh_video])
@empty
@include('video.layout.empty', ['title' => __('video.notFoundSearch.title'), 'description' => __('video.notFoundSearch.description')])
@endforelse
--}}
@endif
{{-- First 9 videos --}}
@if ($top_videos->count() >= 4)
{!! __('video.list.topList.title') !!}
@include('video.layout.slider', ['videos' => $top_videos, 'carousel_id' => 'top_videos_carousel'])
{{--
@forelse ($top_videos as $top_video)
@include('video.layout.card', ['video' => $top_video])
@empty
@include('video.layout.empty', ['title' => __('video.notFoundSearch.title'), 'description' => __('video.notFoundSearch.description')])
@endforelse
--}}
@endif
{{-- Winner videos --}}
@if (isset($winner_videos))
{!! __('video.list.prevWinnerVideoList.title') !!}
@if ($winner_videos->count() >= 4)
@include('video.layout.slider', ['videos' => $winner_videos, 'carousel_id' => 'winner_videos_carousel', 'winner' => true])
@else
@forelse ($winner_videos as $winner_video)
@include('video.layout.card', ['video' => $winner_video, 'winner' => true])
@empty
@include('video.layout.empty', ['title' => __('video.notFoundSearch.title'), 'description' => __('video.notFoundSearch.description')])
@endforelse
{!! __('winner.video.uploadVideo.text') !!}
user())
onclick="formModalNew({
'url': '{{ route('login_player', app()->getLocale()) }}',
'title': '{!! __('link.login') !!}',
'button': '{!! __('button.go') !!}',
'modalFooterVisible': false,
'sendButtonClass': '',
'leftBgImage': '',
'leftContent': false,
},function () {}, function () {}, function () { window.location='{{ route('home', app()->getLocale())}}'; } );" @endif>{!! __('button.uploadVideo') !!}
@endif
@endif
@else
@include('video.layout.empty', ['title' => __('video.notFoundSearch.title'), 'description' => __('video.notFoundSearch.description')])
@endif