@extends('frontend.layouts.master') @section('style') @endsection @section('content') @include('frontend.partials.mobile-filter') {!! $category->description !!} @if (count($category->getMedia(Helper::CATEGORY_SLIDER_COLLECTION)) > 0) @foreach ($category->getMedia(Helper::CATEGORY_SLIDER_COLLECTION) as $media) @endforeach @endif @if (count($popularCategories) > 0) {{ __('routes.POPULAR CATEGORIES') }} @foreach ($popularCategories as $key => $popularCategory) getFirstMediaUrl(Helper::POPULAR_CATEGORY_COLLECTION)) || is_null($popularCategory->getFirstMediaUrl(Helper::POPULAR_CATEGORY_COLLECTION))) src="{{ asset('logo/logo.png') }}"> @else src="{{ $popularCategory->getFirstMediaUrl(Helper::POPULAR_CATEGORY_COLLECTION) ?? asset('logo/logo.png') }} "> @endif {{ $popularCategory->name }} @endforeach @endif {{ __("routes.Filter") }} @if (!auth('web')->check() || auth('web')->user()->hasRole('user')) @foreach ($products as $key => $product) @livewire('frontend.product-card', ['product' => $product]) @endforeach @endif {{ $products->links() }} @endsection @section('script') @endsection