diff --git a/resources/views/recipe/show.blade.php b/resources/views/recipe/show.blade.php index 44744d5..d806ff8 100644 --- a/resources/views/recipe/show.blade.php +++ b/resources/views/recipe/show.blade.php @@ -268,163 +268,7 @@ -
-
- - - - - Рецепты - -
- - - - {{ $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 !!} - -
-
-
- @if (strlen(trim($recipe->video_url)) > 4) - - Посмотреть рецепт на YouTube - - - - - @endif -
-
- -
- -
-
-
продукты:
-
    - @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 -
-
-
-
Теги:
-
- @foreach($recipe->tags->unique() as $curTag) - {{ $curTag->name }} - @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.show', ['recipe' => $recipe]) -
-
- @livewire('recipe.comment.create', ['recipe' => $recipe, 'user' => Auth::user()]) -
-
@endsection @push('jq_scripts')