Популярные блюда
@foreach($recipes as $recipe)
@if(Str::length($recipe->video_url) > 1)
@endif
139.9 ккал
{{ $recipe->cooking_time }}
{{ $recipe->steps->count() }} этапов
{{ $recipe->title }}
{!! $recipe->description !!}
@endforeach
{{ $recipes->links() }}
@php $colorClasses = [ 'btn-primary', 'btn-green', 'btn-yellow', 'btn-red', 'btn-rose', 'btn-seaweed', 'btn-purple' ]; $colorsMaxIndex = count($colorClasses) - 1; $i = 0; @endphp
@if(!is_null($rawTypes)) @foreach($rawTypes as $keyType => $type)
{{ __('recipe.' . $keyType) }}
@foreach($type as $tagName => $tagsCount) {{ Str::of($tagName)->split('/-/')[1] }} {{ $tagsCount }} @php $i = ($colorsMaxIndex > $i) ? $i+1 : 0; @endphp @endforeach
@endforeach @endif