@extends(get_view('index'))
@section('title'){{ $category->content->name ?? translate('category') }} - @endsection
@section('menu-active-products') active @endsection
@section('header')
@endsection
@section('content')
@include(get_view('components.pages.page-title'), ['title' => ($category->content->name ?? translate('category'))])
@php
$topCategories = Site::subCategoryList($category->id);
@endphp
@if ( $topCategories != null )
@foreach ( $topCategories as $item )
@include(get_view('components.category.single-category'), ['category' => $item])
@endforeach
@endif
@include(get_view('components.product.list'))
@if ( $category->content->content != null )
{!! $category->content->content !!}
@endif
@endsection
@section('footer')
@endsection