@if(app()->getLocale() === 'ar') @else @endif @php $isAdmin = auth()->check() && auth()->user()->isSuperAdmin(); @endphp
@auth @endauth
@yield('title', 'WapAPI')
{{ app()->getLocale() === 'ar' ? 'EN' : 'AR' }} @auth {{ auth()->user()->name }}
@csrf
@endauth
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @yield('content')
@stack('scripts')