@extends('user.layout') @php $userLanguages = \App\Models\User\Language::where('user_id', \Illuminate\Support\Facades\Auth::id())->get(); $userDefaultLang = \App\Models\User\Language::where([['user_id', \Illuminate\Support\Facades\Auth::id()], ['is_default', 1]])->first(); @endphp @includeIf('user.partials.rtl-style') @php $permissions = \App\Http\Helpers\UserPermissionHelper::packagePermission(Auth::user()->id); $permissions = json_decode($permissions, true); @endphp @section('content')
{{ __('Home Sections') }}
@if (!is_null($userDefaultLang)) @if (!empty($userLanguages)) @endif @endif
@csrf @if ($userBs->theme == 'home_one' && (!empty($permissions) && in_array('Skill', $permissions)))

{{ __('Skills Section') }}


@endif @if (!empty($permissions) && in_array('Service', $permissions) && ($userBs->theme == 'home_one' || $userBs->theme == 'home_two' || $userBs->theme == 'home_three' || $userBs->theme == 'home_four' || $userBs->theme == 'home_five' || $userBs->theme == 'home_six' || $userBs->theme == 'home_seven'))

{{ __('Service Section') }}


@endif @if (!empty($permissions) && in_array('Portfolio', $permissions) && ($userBs->theme == 'home_one' || $userBs->theme == 'home_two' || $userBs->theme == 'home_four' || $userBs->theme == 'home_five' || $userBs->theme == 'home_six' || $userBs->theme == 'home_seven' || $userBs->theme == 'home_three'))

{{ __('Portfolio Section') }}


@if (isset($userBs->theme) && ($userBs->theme === 'home_two' || $userBs->theme === 'home_three'))

@endif
@endif @if (!empty($permissions) && in_array('Testimonial', $permissions))

{{ __('Testimonial Section') }}


@if ($userBs->theme == 'home_six')
...

@endif

@endif @if ($userBs->theme == 'home_six')

{{ __('Counter Section') }}


...

@endif @if ($userBs->theme != 'home_three' && (!empty($permissions) && in_array('Blog', $permissions)))

{{ __('Blog Section') }}


@endif @if (isset($userBs->theme) && ($userBs->theme === 'home_three' || $userBs->theme === 'home_four' || $userBs->theme === 'home_five' || $userBs->theme === 'home_seven'))

{{ __('FAQ Section') }}


@if ($userBs->theme == 'home_three')
...

@endif

@endif @if ($userBs->theme == 'home_three' || $userBs->theme == 'home_four' || $userBs->theme == 'home_five' || $userBs->theme == 'home_six' || $userBs->theme == 'home_seven')

{{ __('Quote Section') }}


@endif @if (isset($userBs->theme) && ($userBs->theme === 'home_three' || $userBs->theme === 'home_four' || $userBs->theme === 'home_five' || $userBs->theme === 'home_six' || $userBs->theme === 'home_seven'))

{{ __('Contact Section') }}


...

@endif
@endsection @section('scripts') @endsection