feat: add multi-user admin panel and featured partners toggle on home page

This commit is contained in:
AyrisAI
2026-05-17 13:48:05 +03:00
parent 36e98a3883
commit 0504f12f5b
29 changed files with 1110 additions and 182 deletions

View File

@@ -1,5 +1,5 @@
import Link from 'next/link';
import { LayoutDashboard, Users, Briefcase, Settings, FileText, LogOut, Handshake } from 'lucide-react';
import { LayoutDashboard, Users, Briefcase, Settings, FileText, LogOut, Handshake, Shield } from 'lucide-react';
import { logout } from '../actions';
export default function AdminLayout({ children }: { children: React.ReactNode }) {
@@ -37,6 +37,10 @@ export default function AdminLayout({ children }: { children: React.ReactNode })
<Handshake className="w-5 h-5 text-white/60" />
Partnerler
</Link>
<Link href="/admin/users" className="flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-white/5 transition-colors text-sm font-medium">
<Shield className="w-5 h-5 text-white/60" />
Yöneticiler
</Link>
</nav>
<div className="mt-auto border-t border-white/10 pt-4">