category_ajax_min.blade.php
543 Bytes
@foreach ($category as $cat)
<div class="bloks-item">
<a href="{{ route('catalog_detail', $cat->id) }}">
<div class="item-wrapper">
<div class="blocks__item-text">
<h3 class="item-title">{{$cat->name}}</h3>
<div class="svg-wrapper">
</div>
</div>
<img class="bloks__item-img" width="150px" src="{{asset(Storage::url($cat->image))}}" alt="{{$cat->name}}">
</div>
</a>
</div>
@endforeach