@extends('user.layout') @php $userDefaultLang = \App\Models\User\Language::where([ ['user_id', \Illuminate\Support\Facades\Auth::id()], ['is_default', 1], ])->first(); $userLanguages = \App\Models\User\Language::where('user_id', \Illuminate\Support\Facades\Auth::id())->get(); @endphp @includeIf('user.partials.rtl-style') @section('content')
{{ __('Sliders') }}
@if (!is_null($userDefaultLang)) @if (!empty($userLanguages)) @endif @endif
@if (count($sliders) == 0)

{{ __('NO SLIDER FOUND') . '!' }}

@else
@if ($userBs->theme === 'vegetables' || $userBs->theme === 'electronics' || $userBs->theme === 'manti' || $userBs->theme === 'clothing' || $userBs->theme === 'grocery2') @endif @foreach ($sliders as $slider) @if ($userBs->theme === 'vegetables' || $userBs->theme == 'electronics' || $userBs->theme === 'manti' || $userBs->theme === 'clothing' || $userBs->theme === 'grocery2') @endif @endforeach
#{{ __('Image') }}{{ __('Title') }} {{ __('Actions') }}
{{ $loop->iteration }} image {{ $slider->title }}
@csrf
@endif
@endsection