{{--
@php $availableBrandsSection = $sections->get('available-brands') ?? null; @endphp @if($availableBrandsSection)

{{ $availableBrandsSection->title ?? __('Available Brands') }}

{{ $availableBrandsSection->name ?? __('Explore financing options from leading car manufacturers') }}

@else

{{ __('Available Brands') }}

{{ __('Explore financing options from leading car manufacturers') }}

@endif
@if(isset($parentBrands) && $parentBrands->isNotEmpty()) @foreach ($parentBrands as $brand)
@php $hasChildren = $brand->children()->active()->count() > 0; $brandUrl = $hasChildren ? route('website.brandSub', ['slug' => urlencode($brand->getTranslation('slug', app()->getLocale()))]) : $brand->link; @endphp
{{ $brand->getTranslation('name', app()->getLocale()) }}
@endforeach @endif
--}}