feat: /admin/drafts — draft review page with approve/regen cover

This commit is contained in:
Nik (Claude)
2026-06-16 09:19:13 +03:00
parent d6cf4d3f0e
commit b9abbc4246
2 changed files with 339 additions and 1 deletions
+2 -1
View File
@@ -1,11 +1,12 @@
'use client';
import Link from 'next/link';
import { usePathname, useRouter } from 'next/navigation';
import { LayoutDashboard, FileText, Radio, Zap, Settings, LogOut, ExternalLink, MessageCircle } from 'lucide-react';
import { LayoutDashboard, FileText, Radio, Zap, Settings, LogOut, ExternalLink, MessageCircle, Clock } from 'lucide-react';
const NAV = [
{ href: '/admin', label: 'Дашборд', icon: LayoutDashboard, exact: true },
{ href: '/admin/articles', label: 'Статьи', icon: FileText },
{ href: '/admin/drafts', label: 'Черновики', icon: Clock },
{ href: '/admin/channels', label: 'Каналы', icon: Radio },
{ href: '/admin/autogen', label: 'Автогенерация', icon: Zap },
{ href: '/admin/notes', label: 'Заметки', icon: MessageCircle },