wip 3d
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
<a href="{{ route('Shop.Articles.show', ['id' => $article['semences']['article_id'] ?? false ]) }}">
|
||||
<div class="card">
|
||||
@if ($article['image'] !== null)
|
||||
<img src="{{ App\Repositories\Shop\Articles::getPreviewSrc($article['image'] ?? false) }}" class="card-img-top" alt="{{ $product_name }}">
|
||||
@else
|
||||
<img src="img/visuel-non-disponible.jpg" class="card-img-top">
|
||||
@endif
|
||||
<a href="{{ route('Shop.Articles.show', ['id' => $article['semences']['article_id'] ?? false ]) }}" class="green-dark">
|
||||
<div class="card bg-green-light">
|
||||
<img src="{{ App\Repositories\Shop\Articles::getPreviewSrc($article['image'] ?? false) }}" class="card-img-top" alt="{{ $product_name }}">
|
||||
<div class="card-body">
|
||||
<div class="row card-title">
|
||||
<div class="col-10" style="font-weight: bold; color: green;">
|
||||
<h2 style="font-size: 1.3em;">{{ $article['parent_name'] }}</h2>
|
||||
<div class="col-10">
|
||||
<div class="mb-0" style="font-size: 1.3em;">{{ $article['parent_name'] }}</div>
|
||||
{{ $article['product_name'] }}
|
||||
</div>
|
||||
<div class="col-2 p-0 text-right" style="font-size: 2em; color: red;">
|
||||
@@ -16,22 +12,22 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row" style="color: green;">
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<strong>Semence</strong>
|
||||
@if ($article['semences'] ?? false)
|
||||
<span style="font-size: 1.4em; font-weight: bold;">{{ $article['semences']['price'] ?? null }}</span> €<br>
|
||||
<span style="font-size: 1.4em">{{ $article['semences']['price'] ?? null }}</span> €<br>
|
||||
@else
|
||||
Indisponible<br>
|
||||
@endif
|
||||
Semence
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<strong>Plant</strong>
|
||||
@if ($article['plants'] ?? false)
|
||||
<span style="font-size: 1.4em; font-weight: bold;">{{ $article['plants']['price'] }}</span> €<br>
|
||||
<span style="font-size: 1.4em">{{ $article['plants']['price'] }}</span> €<br>
|
||||
@else
|
||||
Indisponible<br>
|
||||
@endif
|
||||
Plant
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user