@if (checkFrontLanguageSession() != 'ar') {{ __('auth.home') }} {{-- {{ __('auth.features') }} --}} {{ __('auth.about') }} {{ __('messages.faqs.faqs') }} {{ __('auth.pricing') }} {{ __('auth.contact') }} {{ __('messages.language') }} @foreach (getAllLanguageWithFullData() as $key => $language) @if (array_key_exists($language->iso_code, \App\Models\User::FLAG)) @foreach (\App\Models\User::FLAG as $imageKey => $imageValue) @if ($imageKey == $language->iso_code) @endif @endforeach @else @if (count($language->media) != 0) @else @endif @endif {{ $language->name }} @endforeach @if (empty(getLogInUser())) {{ __('auth.sign_in') }} @else @if (getLogInUser()->hasrole('admin') || getLogInUser()->hasrole('user')) {{ __('messages.dashboard') }} @endif @if (getLogInUser()->hasrole('super_admin')) {{ __('messages.dashboard') }} @endif @endif @if (empty(getLogInUser())) {{ __('auth.sign_in') }} @else @if (getLogInUser()->hasrole('admin') || getLogInUser()->hasrole('user')) {{ __('messages.dashboard') }} @endif @if (getLogInUser()->hasrole('super_admin')) {{ __('messages.dashboard') }} @endif @endif @endif @if (checkFrontLanguageSession() == 'ar') {{ __('auth.home') }} {{-- {{ __('auth.features') }} --}} {{ __('auth.about') }} {{ __('messages.faqs.faqs') }} {{ __('auth.pricing') }} {{ __('auth.contact') }} {{ __('messages.language') }} @foreach (getAllLanguageWithFullData() as $key => $language) @if (array_key_exists($language->iso_code, \App\Models\User::FLAG)) @foreach (\App\Models\User::FLAG as $imageKey => $imageValue) @if ($imageKey == $language->iso_code) @endif @endforeach @else @if (count($language->media) != 0) @else @endif @endif {{ $language->name }} @endforeach @if (empty(getLogInUser())) {{ __('auth.sign_in') }} @else @if (getLogInUser()->hasrole('admin') || getLogInUser()->hasrole('user')) {{ __('messages.dashboard') }} @endif @if (getLogInUser()->hasrole('super_admin')) {{ __('messages.dashboard') }} @endif @endif @if (empty(getLogInUser())) {{ __('auth.sign_in') }} @else @if (getLogInUser()->hasrole('admin') || getLogInUser()->hasrole('user')) {{ __('messages.dashboard') }} @endif @if (getLogInUser()->hasrole('super_admin')) {{ __('messages.dashboard') }} @endif @endif @endif