@if (!empty(auth()->user()->photo))
@php
$imgs = asset('storage/' . auth()->user()->photo);
@endphp
@else
@php
$imgs = asset('images/nopic.jpg');
@endphp
@endif
@if (auth()->user()->role == 'mahasiswa')
{{ auth()->user()->username }}
{{ auth()->user()->name }}
@else
{{ auth()->user()->name }}
{{ auth()->user()->role }}
@endif