NTG
{{-- notification bell icon with dropdown board for notifications --}}
  • @php $messagenotifications = App\models\userMessage::where('friend_id', auth()->user()->id)->orderBy('created_at', 'desc')->latest()->take(6)->get(); @endphp {{ $messagenotifications->count() }}
      @foreach ($messagenotifications as $messagenotification)
    • {{-- @if($messagenotification->user_id == auth()->user()->id) --}} {{ $messagenotification->message }} {{-- @endif --}} @break($loop->index == 5)
    • @endforeach
    • {{ auth()->user()->name }} {{ auth()->user()->name ?? '' }}
        {{--
      • Settings
      • Activity Log
      • --}} {{--

      • --}}
      • @csrf Logout