-
-
-
- Рецепты
-
-
-
- {{ $recipeViewsCount }}
-
- @livewire('recipe.like-count', ['recipe' => $recipe])
-
- {{ $recipe->comments_count }}
-
-
-
{{ $author['name'] }}
-

-
-
-
-
-
-
-

-
-
-
-
{{ $recipe->title }}
-
- {{ __('recipe.t' . $recipe->cooking_time . "m") }}
- {{ $recipe->steps->count() }} этапов
-
-
-
-
- {!! $recipe->description !!}
-
-
-
-
-
-
-
-
-
-
-
продукты:
-
- @foreach($recipe->ingredients as $ingredient)
- @php
- $localizedUnit = (isset($ingredient['unit']) && mb_strlen($ingredient['unit']) > 1)
- ? $ingredient['unit']
- : 'gr';
- @endphp
- @if(mb_strlen($ingredient['name']) > 1)
- - {{ $ingredient['name'] }} - {{ $ingredient['portion'] }} {{ __('recipe.' . $localizedUnit ) }}
- @endif
- @endforeach
-
-
-
-
-
-
-
-
-
- Комментировать
-
-
- @livewire('recipe.like', ['recipe' => $recipe])
-
-
-
- Поделится
-
-
-
-
-
-
-
-
Пошаговый фото рецепт - {{ $recipe->title }}
-
- @foreach($recipe->steps as $step)
-
-
- @if(isset($step['image']) && is_string($step['image']) && strlen($step["image"]) > 4)
-

- @endif
-
-
-
- {!! $step['description'] !!}
-
-
-
- @endforeach
-
-
-
-
-
- @livewire('recipe.comment.create', ['recipe' => $recipe, 'user' => Auth::user()])
-
-
@endsection
@push('jq_scripts')