<!doctype html><html lang="id"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>@yield('title','Dashboard') - NUTUGU</title><link rel="stylesheet" href="{{ asset('assets/css/app.css') }}"></head><body class="admin-body">
<div class="app-shell"><aside class="sidebar"><div class="brand"><div class="brand-mark">NU</div><div><strong>MWCNU TUGU</strong><small>KANTOR DIGITAL</small></div></div><nav>
<span class="nav-section">KENDALI</span><a class="{{ request()->routeIs('dashboard')?'active':'' }}" href="{{ route('dashboard') }}">⌂ <b>Dashboard</b></a><a href="{{ route('module.show','action-center') }}">⚡ Action Center</a><a href="{{ route('audit.index') }}">◉ Live Audit Log</a><a href="{{ route('module.show','timeline') }}">↻ Timeline Organisasi</a>
<span class="nav-section">ORGANISASI</span><a href="{{ route('members.index') }}">◎ Pengurus</a>@if(auth()->user()->isSuperAdmin())<a href="{{ route('rantings.index') }}">⌂ Ranting</a><a href="{{ route('units.index') }}">▦ Banom & Lembaga</a><a href="{{ route('module.show','users') }}">♙ Pengguna & Hak Akses</a>@endif
<span class="nav-section">PROGRAM & KEGIATAN</span><a href="{{ route('programs.index') }}">▣ Program Kerja</a><a href="{{ route('activities.index') }}">▧ Agenda & Kegiatan</a><a href="{{ route('attendance.index') }}">✓ Presensi Link</a><a href="{{ route('module.show','forms') }}">▤ Form Builder</a>
<span class="nav-section">ADMINISTRASI</span><a href="{{ route('letters.index') }}">✉ Surat Menyurat</a><a href="{{ route('module.show','documents') }}">▧ Dokumen & Arsip</a>
<span class="nav-section">PUBLIKASI</span><a href="{{ route('news.index') }}">▰ Berita</a>@if(auth()->user()->isSuperAdmin())<a href="{{ route('popups.index') }}">▣ Popup Pengumuman</a>@endif<a href="{{ route('module.show','documents') }}">▧ Galeri & Media</a>
<span class="nav-section">SUMBER DAYA</span><a href="{{ route('module.show','finance') }}">Rp Keuangan</a><a href="{{ route('module.show','assets') }}">◇ Aset & Inventaris</a><a href="{{ route('module.show','reports') }}">▥ Laporan & LPJ</a>
<span class="nav-section">SISTEM</span><a href="{{ route('module.show','settings') }}">⚙ Pengaturan</a><a href="{{ route('module.show','settings') }}">♢ Backup & Restore</a>
</nav><div class="sidebar-foot"><a href="{{ route('home') }}" target="_blank">Kunjungi Website Publik ↗</a></div></aside>
<main class="main"><header class="topbar"><button class="menu-btn" onclick="document.body.classList.toggle('sidebar-open')">☰</button><div><h1>@yield('page_title','Dashboard')</h1><small>@yield('page_subtitle','Pusat Kendali Organisasi')</small></div><div class="top-search">⌕ <input placeholder="Cari menu, data, surat, dokumen..."></div><div class="top-actions"><span>🔔</span><div class="user-chip"><div class="avatar">{{ strtoupper(substr(auth()->user()->name,0,1)) }}</div><div><b>{{ auth()->user()->name }}</b><small>{{ str_replace('_',' ',ucwords(auth()->user()->role,'_')) }}</small></div></div><form method="post" action="{{ route('logout') }}">@csrf<button class="btn" type="submit">Keluar</button></form></div></header>
<div class="content">@if(session('success'))<div class="alert success">{{ session('success') }}</div>@endif @if($errors->any())<div class="alert danger">{{ $errors->first() }}</div>@endif @yield('content')</div></main></div><script src="{{ asset('assets/js/app.js') }}"></script>@stack('scripts')</body></html>
