@extends('layouts.site')
@section('meta_title')
@if ($currentCategory ?? null)
{{ locale_category_name($currentCategory) }} — {{ __('site.nav_products') }} — {{ brand_name() }}
@else
{{ __('site.nav_products') }} — {{ brand_name() }}
@endif
@endsection
@section('title', ($currentCategory ?? null) ? locale_category_name($currentCategory) : __('site.nav_products'))
@section('content')
@if (($currentCategory ?? null))
@endif
@include('partials.site.listing-category-hero', [
'category' => $currentCategory ?? null,
'eyebrow' => __('site.nav_products'),
])
@unless ($currentCategory ?? null)
{{ __('site.nav_products') }}
@endunless
@if ($products->total() === 0)
@else
@foreach ($products as $product)
@endforeach
@endif
@if (($currentCategory ?? null))
@include('partials.site.related-discovery', [
'categoryId' => $currentCategory->id,
'relatedProducts' => $relatedProducts ?? collect(),
'relatedServices' => $relatedServices ?? collect(),
'relatedArticles' => $relatedArticles ?? collect(),
])
@endif
@endsection