@extends('layouts/eatvio') @section('page_title', 'Recipe ' . $recipe->title) @php $recipeViewsCount = views($recipe)->unique()->count(); @endphp @section('main_section')
Рецепты
{{ $recipeViewsCount }}
@livewire('recipe.like-count', ['recipe' => $recipe])
{{ $recipe->comments_count }}
{{ $author['name'] }}
@empty($author->profile_photo_path) thumb @else thumb @endempty
recipe

{{ $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
ЦЕННОСТЬ:
  • WIP
  • {{--
  • Калории: 139.9 ккал
  • Белки: 20.4 гр
  • Жиры: 5.7 гр
  • Углеводы: 1.8 гр
  • --}}
ЦЕННОСТЬ:
@foreach($recipe->tags->unique() as $curTag) {{ $curTag->name }} @endforeach

ПОШАГОВЫЙ ФОТО РЕЦЕПТ - КУРИНЫЕ РУЛЕТИКИ С СЫРОМ

    @foreach($recipe->steps as $step)
  1. @if(isset($step['image']) && is_string($step['image']) && strlen($step["image"]) > 4) step @endif
    {!! $step['description'] !!}
  2. @endforeach {{--
  3. step
    Режем куриную грудку тонкими ломтиками.
  4. step

    На край каждого кусочка филе кладем 1 ст. л. тертого сыра и порезанную зелень.

    Формируем рулетик из куриного филе с сыром и зеленью, подворачивая с боков, чтобы сыр при приготовлении не вытек. Скрепляем края половинками зубочисток.

  5. --}}

Отзывы

user
Артём
После данного плана питания стал чувствовать себя куда лучше! Обязательно продолжу работать с Дмитрием!
Лёгкий
5.0
user
Артём
После данного плана питания стал чувствовать себя куда лучше! Обязательно продолжу работать с Дмитрием!
Лёгкий
5.0
user
Артём
Курить план – это плохо! Гласит лозунг и кричит Минздрав. Ну, конечно …Ничем не хуже водки, а водку везде продают и ничего.. ... Говорят, некоторые годами курят план и живут нормальной жизнью…Ну, если они считают это нормальной жизнью, то пусть и дальше существуют…Я не хочу…Я теперь спрашиваю себя – а зачем мне жить, что б просто курить траву?..Теперь мне плохо и траву курить, Проклятый мир! Даже год не покурил… Мне нужно что-то получше.. почище….ярче!!!
Лёгкий
5.0
Рецепты
{{ $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') @endpush