Fixes #23
This commit is contained in:
parent
f1f680843b
commit
e327918074
1 changed files with 18 additions and 13 deletions
|
|
@ -6,19 +6,21 @@
|
|||
|
||||
@section('canonical', route('ranges.products', ['publishedRange' => $publishedRange]))
|
||||
|
||||
@section('breadcrumb', request()->route()->getName())
|
||||
@section('breadcrumb',
|
||||
request()->route()->getName())
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="g-0 pb-md-5 position-relative hero">
|
||||
<img src="{{ Vite::asset('resources/assets/images/100LOCAL-V1.png') }}" alt="Logo 100% local" class="img-fluid">
|
||||
<img class="img-fluid" src="{{ Vite::asset('resources/assets/images/100LOCAL-V1.png') }}" alt="Logo 100% local">
|
||||
<div class="position-relative hero-fix-height">
|
||||
<img src="{{ Vite::asset('resources/assets/images/Panoramique2.jpg') }}" alt="Des saucisses de volailles cuites accompagnées de salade, d'oignons et de tomates cerise" class="img-fluid">
|
||||
<img class="img-fluid w-100" src="{{ asset($publishedRange->banner) }}" title="{{ $publishedRange->banner_title }}"
|
||||
alt="{{ $publishedRange->banner_alt }}">
|
||||
</div>
|
||||
<!-- breadcrumb -->
|
||||
<div class="container breadcrumb-obj small mt-3">
|
||||
<div class="breadcrumb-obj small container mt-3">
|
||||
<div class="row">
|
||||
<div class="col-12 d-flex ">
|
||||
<div class="col-12 d-flex">
|
||||
<p class="fst-italic me-2">Vous êtes ici</p>
|
||||
@include('modules/breadcrumb/breadcrumb-body', ['brParam' => $publishedRange])
|
||||
</div>
|
||||
|
|
@ -27,7 +29,7 @@
|
|||
<!-- END breadcrumb -->
|
||||
</div>
|
||||
|
||||
<div class="container-fluid pt-5 position-relative bckg-illustration bckg-illustration--fromage bckg-illustration--tomates">
|
||||
<div class="container-fluid position-relative bckg-illustration bckg-illustration--fromage bckg-illustration--tomates pt-5">
|
||||
<div class="row">
|
||||
<div class="col-md-8 offset-md-2">
|
||||
<div class="container">
|
||||
|
|
@ -41,15 +43,18 @@
|
|||
<!-- FICHES PRODUIT -->
|
||||
<div class="row mt-4 text-center">
|
||||
@foreach ($products as $product)
|
||||
<div class="col-md-4 product-item mb-5">
|
||||
<div class="card">
|
||||
<img src="{{ asset($product->sticker) }}" alt="{{ $product->sticker_alt }}" title="{{ $product->sticker_title }}" class="card-img-top">
|
||||
<div class="card-body">
|
||||
<h3 class="card-title text-uppercase font-amatic font-amatic-46 mt-4">{{ $product->name }}</h3>
|
||||
<a href="{{ route('products.show', ['publishedProduct' => $product]) }}" title="{{ $product->name }}" class="btn btn-primary text-uppercase">{{ __('Découvrir >') }}</a>
|
||||
<div class="col-md-4 product-item mb-5">
|
||||
<div class="card">
|
||||
<img class="card-img-top" src="{{ asset($product->sticker) }}" title="{{ $product->sticker_title }}"
|
||||
alt="{{ $product->sticker_alt }}">
|
||||
<div class="card-body">
|
||||
<h3 class="card-title text-uppercase font-amatic font-amatic-46 mt-4">{{ $product->name }}</h3>
|
||||
<a class="btn btn-primary text-uppercase"
|
||||
href="{{ route('products.show', ['publishedProduct' => $product]) }}"
|
||||
title="{{ $product->name }}">{{ __('Découvrir >') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue