feat: add admin user management (create, password change)

This commit is contained in:
AyrisAI
2026-05-15 19:12:42 +03:00
parent a2ba52e69b
commit 6f04e39bf3
5 changed files with 211 additions and 0 deletions

View File

@@ -33,6 +33,10 @@ export default async function AdminLayout({
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z" /></svg>
Ürünler
</AdminNavItem>
<AdminNavItem href="/admin/users">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" /><circle cx="9" cy="7" r="4" /><path d="M23 21v-2a4 4 0 0 0-3-3.87" /><path d="M16 3.13a4 4 0 0 1 0 7.75" /></svg>
Kullanıcılar
</AdminNavItem>
</nav>
<div className="admin-sidebar-footer">
<Link href="/" target="_blank" className="admin-view-site">