@extends('frontend.layouts.master') @section('title','Al-Bazai | '.$subcategory->title) @section('lang') @if(app()->getLocale() == 'ar')
  • English
  • @else
  • عربي
  • @endif @endsection @section('content')
    @include('frontend.components.models',['dataModels' => $subcategory])
    @include('frontend.components.models',['dataModels' => $subcategory])
    @include('frontend.components.li-model',['liModels' => $subcategory ,'current'=> 'colors'])
    @if(count($subcategory->colors->where('type','exterior')) > 0)

    {{ (app()->getLocale() == 'ar') ? 'الألوان الخارجية' : 'Exterior Colors' }}

      @foreach($subcategory->colors->where('type','exterior') as $key => $color)
    • first) class="cl_item active" @else class="cl_item" @endif data-id="exterior_gal_it{{ $number++}}"> {{ $color->title ?? '' }} {{ $color->color_name ?? '' }}
    • @endforeach
    @endif
    @if(count($subcategory->colors->where('type','interior')) > 0)

    {{ (app()->getLocale() == 'ar') ? 'الألوان الداخلية' : 'Interior Colors' }}

      @foreach($subcategory->colors->where('type','interior') as $key => $color)
    • first) class="cl_item active" @else class="cl_item" @endif data-id="interior_gal_it{{ $number2++}}"> {{ $color->title ?? '' }} {{ $color->color_name ?? '' }}
    • @endforeach
    @endif
    @if($subcategory->id == 1) @if(!empty($subcategory->galleryOneItem)) @include('frontend.components.next-section-gallery',['sectionData' => $subcategory->galleryOneItem , 'modelName'=> route('web.category.gallery', $subcategory->slug)]) @endif @else @if(!empty($subcategory->specificationCar)) @include('frontend.components.next-section-specifi',['sectionData' => $subcategory->specificationCar , 'modelName'=> route('web.category.specification', $subcategory->slug)]) @endif @endif
    @endsection