@extends('front.axies.master') @section('body')
{{ __('Home') }}   @isset($category['name'])
{{ __('Category') }}
 
{{ $category['name'] }}
@elseif(strlen(trim(request()->query('q', ''))))  
{{ substr(trim(request()->query('q', '')), 0, 100) }}
@else  
{{ __('Products') }}
@endisset
{{ __('Results') }}
{{ $products->total() }}
@foreach($products as $product)
{{ limit($product->name, 60) }} @if($product->price >= 0)
{{ price($product->price) }}
@endif
@endforeach
@if($products->hasPages())
@if(config('app.force_simple_pagination')) {{ $products->links('vendor.pagination.simple-tailwind') }} @else {{ $products->links('vendor.pagination.tailwind') }} @endif
@endif
{{ __('Filters') }}
@if(intval(config('app.filter_by_included_files')))
{{ __('Included files') }}
@foreach($included_files as $included_file)
@endforeach
{{ __("More file types") }}
@endif
{{ __('Categories') }}
@foreach(config('categories.category_parents') as $_category)
category_slug === $_category['slug'] ? 'checked' : null }} value="{{ $_category['id'] }}" type="radio" class="category w-[20px] h-[20px] appearance-none border-[1px] border-[#000] rounded-[.25rem] checked:bg-[#37495D] checked:border-0 relative before:content-['✓'] before:text-[#fff] before:text-transparent checked:before:text-[#fff] before:h-full before:w-full before:top-0 before:left-0 before:leading-1 before:flex before:items-center before:justify-center before:text-[.8rem] before:font-semibold" role="button">
@endforeach
{{ __("More categories") }}
@if(isset($category) && count(config("categories.category_children.{$category['id']}", [])) && empty(request()->query('q')))
{{ __('Subcategories') }}
@foreach(config("categories.category_children.{$category['id']}", []) as $subcategory)
subcategory_slug === $subcategory['slug'] ? 'checked' : null }} data-subcategory="{{ $subcategory['slug'] }}" value="{{ $subcategory['id'] }}" type="radio" class="subcategory w-[20px] h-[20px] appearance-none border-[1px] border-[#000] rounded-[.25rem] checked:bg-[#37495D] checked:border-0 relative before:content-['✓'] before:text-[#fff] before:text-transparent checked:before:text-[#fff] before:h-full before:w-full before:top-0 before:left-0 before:leading-1 before:flex before:items-center before:justify-center before:text-[.8rem] before:font-semibold" role="button">
@endforeach
{{ __("Show more") }}
@endif
{{ __("Rating") }}
1
2
3
4
5
{{ __("Price range") }}
@endsection