{{--
  • {{ strtoupper(app()->getLocale()) }}
      @php $locales = [ 'en' => ['native' => 'English', 'short' => 'EN'], 'ar' => ['native' => 'العربية', 'short' => 'AR'], ]; @endphp @foreach($locales as $localeCode => $properties)
    • @csrf
    • @endforeach
  • --}}
    • {{ Auth::user()->name ?? (app()->getLocale() == 'ar' ? 'مدير' : 'Admin') }} {{ app()->getLocale() == 'ar' ? 'مدير النظام' : 'Admin' }}
    • {{--
    • {{ app()->getLocale() == 'ar' ? 'الإعدادات' : 'Settings' }}
    • --}}
    • {{ app()->getLocale() == 'ar' ? 'تسجيل الخروج' : 'Log Out' }}
      @csrf