{{ config('app.name', 'Absensi Digital') }}
{{-- Notifikasi Bell --}} @auth
Notifikasi
@forelse($dropdownNotifications as $notification)

{{ $notification->data['title'] ?? 'Notifikasi' }}

{{ $notification->data['message'] ?? '-' }}

{{ $notification->created_at?->diffForHumans() }}

@empty
Tidak ada notifikasi baru
@endforelse
@php $notifRoute = match (auth()->user()->role->value) { 'super_admin', 'operator' => 'admin.notifications', 'teacher' => 'teacher.notifications', 'student' => 'student.notifications', default => 'dashboard', }; @endphp Lihat semua
@endauth {{-- Dark Mode Toggle --}} {{-- User Avatar Dropdown --}} @auth

{{ auth()->user()->name }}

{{ auth()->user()->email }}

  • Profil Saya
  • @csrf
@endauth