123movies-seo/resources/views/components/section.blade.php

12 lines
379 B
PHP
Raw Permalink Normal View History

2024-08-24 23:08:42 +03:00
<div class="tabbed-content mb-5">
<div class="tabbed-content__header">
<span class="title">{{ $title }}</span>
</div>
<div class="tab-content results">
@foreach ($items as $item)
@includeWhen($type == 'movie', 'components.movie_card')
@includeWhen($type == 'show', 'components.show_card')
@endforeach
</div>
</div>