feat: add user management to admin panel (add, delete, change password)

This commit is contained in:
mstfyldz
2026-06-05 17:33:00 +03:00
parent 9d228b7c0a
commit 8fa63d0b25
3 changed files with 255 additions and 1 deletions
+2 -1
View File
@@ -2,7 +2,7 @@
import Link from 'next/link';
import { usePathname, useRouter } from 'next/navigation';
import { LayoutDashboard, Image as ImageIcon, Briefcase, Mail, LogOut, Settings } from 'lucide-react';
import { LayoutDashboard, Image as ImageIcon, Briefcase, Mail, LogOut, Settings, Users } from 'lucide-react';
import { logout } from '../actions';
const navItems = [
@@ -12,6 +12,7 @@ const navItems = [
{ name: 'Hizmetler', href: '/admin/services', icon: Briefcase },
{ name: 'İletişim Mesajları', href: '/admin/contact', icon: Mail },
{ name: 'Site Ayarları', href: '/admin/settings', icon: Settings },
{ name: 'Kullanıcılar', href: '/admin/users', icon: Users },
];
export function Sidebar() {