@php
$userProjects = Auth::user()->projects()->orderBy('name')->get();
@endphp
@if($userProjects->count() > 0)
@foreach($userProjects as $p)
{{ $p->name }}
@endforeach
+ New Project
@endif
{{-- Notification Bell --}}
@php($unreadCount = Auth::user()->unreadNotifications()->count())
@if($unreadCount > 0)
{{ $unreadCount > 99 ? '99+' : $unreadCount }}
@endif
Profile