diff --git a/resources/views/fo/pages/products/product.blade.php b/resources/views/fo/pages/products/product.blade.php index 347cadb..c5fc877 100644 --- a/resources/views/fo/pages/products/product.blade.php +++ b/resources/views/fo/pages/products/product.blade.php @@ -1,23 +1,25 @@ @extends('fo.layout') -@section('title', __($productModel->name)) -@section('description', __('Description de la fiche produit')) +@section('title', __($productModel->seo_title)) +@section('description', $productModel->seo_description) @section('canonical', route('products.show', ['publishedProduct' => $productModel])) @section('ogPicture', asset($productModel->picture)) -@section('breadcrumb', request()->route()->getName()) +@section('breadcrumb', + request()->route()->getName()) @section('content')
+
Vous êtes ici
@include('modules/breadcrumb/breadcrumb-body', ['brParam' => $productModel]){{ $productModel->info_cooking }}
-{{ $productModel->info_cooking }}
+{{ $productModel->info_consumption }}
-{{ $productModel->info_consumption }}
+{{ __('Mode de préparation') }}
-{!! clean($productModel->preparation) !!}
+{{ __('Mode de préparation') }}
+{!! clean($productModel->preparation) !!}
@endif @if (isset($certifications) and $certifications->count() > 0) -{{ __('Certifications') }}
+{{ __('Certifications') }}
-{{ __('Ingrédients') }}
@@ -80,17 +85,18 @@{{ __('Valeurs nutritionnelles') }}
- @if($productModel->nutriscore->value > 1) -| {{ $nutri['label'] }} | -- | {{ $nutri['value'] }} | -
| {{ $nutri['label'] }} | ++ | {{ $nutri['value'] }} | +
+
Vous êtes ici
@include('modules/breadcrumb/breadcrumb-body', ['brParam' => $recipeModel]){!! clean($recipeModel->description) !!}
-{{ __('Produit(s) associé(s)') }}
@foreach ($products as $product) - + @endforeach{{ __('Ingrédients') }}
-{{ __('Ingrédients') }}
+