Use CSS classes to hide n-th elements instead of JS

This commit is contained in:
2026-05-27 17:12:13 +02:00
parent 57d1ec34c3
commit f8022b3f18
6 changed files with 33 additions and 93 deletions
@@ -4,10 +4,10 @@
@php
$random = \cache()->remember('random_home', 300, function () {
return \App\Models\Episode::inRandomOrder()->limit(7)->get(); ;
return \App\Models\Episode::inRandomOrder()->limit(16)->get(); ;
});
@endphp
<div class="mb-6">
@include('home.partials.tab.template', ['episodes' => $random, 'isThumbnail' => false, 'rowsCount' => 1])
@include('home.partials.tab.template', ['episodes' => $random, 'isThumbnail' => false])
</div>