• @if (!empty(auth()->user()->photo)) @php $imgs = asset('storage/' . auth()->user()->photo); @endphp @else @php $imgs = asset('images/nopic.jpg'); @endphp @endif
  • User Image {{ Str::before(auth()->user()->name, ',') }}
    • User Image

      @if (auth()->user()->role == 'mahasiswa') {{ auth()->user()->username }}
      {{ auth()->user()->name }} @else {{ auth()->user()->name }}
      {{ auth()->user()->role }} @endif Member sejak {{ auth()->user()->created_at->format('M, Y') }}

    • Profil Sign out