{{ $loop->first ? 'active' : '' }}
@foreach($product->images as $image)
<div class="carousel-item @if ($loop->first) active @endif">
<img src="{{ assets('assets\product\'. $image) }}" class="d-block w-100">
</div>
@endforeach
{{ $loop->first ? 'active' : '' }}
@foreach($product->images as $image)
<div class="carousel-item @if ($loop->first) active @endif">
<img src="{{ assets('assets\product\'. $image) }}" class="d-block w-100">
</div>
@endforeach
0 Comments