logo
  • {{TranslationHelper::translate('home', 'site') }}
  • {{TranslationHelper::translate('news', 'site') }}
  • {{ TranslationHelper::translate('general', 'site') }}
  • {{ TranslationHelper::translate('business', 'site') }}
  • {{ TranslationHelper::translate('entertainment', 'site') }}
  • {{ TranslationHelper::translate('health', 'site') }}
  • {{ TranslationHelper::translate('science', 'site') }}
  • {{ TranslationHelper::translate('sports', 'site') }}
  • {{ TranslationHelper::translate('technology', 'site') }}
  • @guest('end-user')
  • Login
  • {{ TranslationHelper::translate('register', 'site') }}
  • @endguest @auth('end-user')
  • {{ TranslationHelper::translate('My profile', 'site') }}
  • {{ TranslationHelper::translate('My Ads', 'site') }}
  • @csrf
    • {{ auth('end-user')->user()->unreadNotifications->count() }}
        @if (auth('end-user')->check()) @if (auth('end-user')->user()->unreadNotifications->count() == 0)
      • {{ TranslationHelper::translate('No new notifications', 'site') }}

      • @else
      • @foreach (auth('end-user')->user()->unreadNotifications as $notification)
        @if (app()->getLocale() == 'ar') {{ TranslationHelper::translate($notification->data['title'], 'site') }} @endif @if (app()->getLocale() == 'en') {{ $notification->data['title'] }} @endif
        {{ $notification->created_at->diffForHumans() }}
        @endforeach
      • @endif @endif
  • @endauth
  • {{ TranslationHelper::translate('Add', 'site') }}
@auth('end-user')
    • {{ TranslationHelper::translate('my_profile', 'site') }}
    • {{ TranslationHelper::translate('my_ads', 'site') }}
@endauth
  • @if (auth('end-user')->check()) @if (auth('end-user')->user()->unreadNotifications->count() == 0)
  • {{-- {{ auth('end-user')->user()->unreadNotifications->count() }} --}}

    {{ TranslationHelper::translate('No new notifications', 'site') }}

  • @else
  • {{ auth('end-user')->user()->unreadNotifications->count() }}
    {{ TranslationHelper::translate('Mark all as read', 'site') }}
    @foreach (auth('end-user')->user()->unreadNotifications as $notification)
    @if (app()->getLocale() == 'ar') {{ TranslationHelper::translate($notification->data['title'], 'site') }} @endif @if (app()->getLocale() == 'en') {{ $notification->data['title'] }} @endif
    {{ $notification->created_at->diffForHumans() }}
    @endforeach
  • @endif @endif
    {{ TranslationHelper::translate('Add', 'site') }}
    @guest('end-user')
    @if (app()->getLocale() == 'ar') {{ TranslationHelper::translate('login', 'site') }} @endif @if (app()->getLocale() == 'en' || app()->getLocale() == 'hi') {{ TranslationHelper::translate('login', 'site') }} @endif
    @endguest @auth('end-user')
    @if (app()->getLocale() == 'ar') {{ TranslationHelper::translate('log_out', 'site') }} @endif @if (app()->getLocale() == 'en' || app()->getLocale() == 'hi') {{ TranslationHelper::translate('log_out', 'site') }} @endif
    @endauth