package templates

templ AdminSidebar(user User, currentPath string) {
	<aside class="w-64 border-r" style="background-color: var(--bg-secondary); border-color: var(--border)">
		<div class="p-6">
			<h2 class="text-lg font-semibold mb-6" style="color: var(--text-primary)">Admin Panel</h2>
			<nav class="space-y-2">
				<a href="/admin" class={activeClass(currentPath, "/admin")} style="color: var(--text-primary)">
					🏠 Dashboard
				</a>
				<a href="/admin/users" class={activeClass(currentPath, "/admin/users")} style="color: var(--text-primary)">
					👤 User Administration
				</a>
				<a href="/admin/library" class={activeClass(currentPath, "/admin/library")} style="color: var(--text-primary)">
					📚 Library Management
				</a>
				<a href="/admin/settings" class={activeClass(currentPath, "/admin/settings")} style="color: var(--text-primary)">
					⚙️ System Settings
				</a>
			</nav>
		</div>
	</aside>
}   