Init
This commit is contained in:
22
resources/views/series/partials/popular.blade.php
Normal file
22
resources/views/series/partials/popular.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<div class="pt-2 sm:px-2 lg:px-4 2xl:w-[450px]">
|
||||
<div class="bg-transparent rounded-lg overflow-hidden p-2">
|
||||
@if (count($popularWeekly) > 0)
|
||||
<p class="leading-normal font-bold text-xl dark:text-white pb-2">
|
||||
{{ __('home.popular-weekly') }}
|
||||
</p>
|
||||
<div class="text-center xl:text-left">
|
||||
<ul class="inline-block xl:block">
|
||||
@php $counter = 0; @endphp
|
||||
@foreach ($popularWeekly as $pEpisode)
|
||||
@php $episode = $pEpisode->episode; @endphp
|
||||
@if($counter >= 8)
|
||||
@continue
|
||||
@endif
|
||||
@include('stream.partials.episode-partial')
|
||||
@php $counter += 1; @endphp
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user