@php $user = auth()->user(); $logo = \App\Models\Logo::select('logo')->first(); $logopath = asset('/uploads/logos/').'/'.$logo->logo; @endphp @if($user->user_type=="user") @else @endif @if($user->user_type=="user") Website @endif {{-- You have 4 new notifications View all Application Error Just now Settings Private message New user registration 2 days ago You have 7 unread mails View all David Grey 1 Minutes ago The meeting is cancelled Tim Cook 15 Minutes ago New product launch Johnson 18 Minutes ago Upcoming board meeting --}} @php $user = Auth::user(); @endphp {{ucwords($user->name)}} @if($user->user_type=="admin") Logout @csrf @endif
You have 4 new notifications
Just now
Private message
2 days ago
You have 7 unread mails
The meeting is cancelled
New product launch
Upcoming board meeting
{{ucwords($user->name)}}