everything semi working before sample implementation
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<a href="{{ route('product-detail', $product) }}" style="text-decoration: none; color: inherit;">
|
||||
<div class="card" data-category="{{ $product->category->slug }}">
|
||||
<div class="product-card" data-category="{{ $product->category->slug }}">
|
||||
@if($product->images->count() > 0)
|
||||
<img src="{{ asset('storage/' . $product->images->first()->image_path) }}" alt="{{ $product->name }}" class="card-image" style="background-size: cover; background-position: center;">
|
||||
@else
|
||||
|
||||
Reference in New Issue
Block a user