import { NavLink } from 'react-router-dom'; import { Book, Home, Key, Folder, Settings, FileCode, FileText, ExternalLink, Database, GitBranch } from 'lucide-react'; import { cn } from '@/utils/cn'; const navItems = [ { to: '/', icon: Home, label: 'Главная' }, { to: '/workbench', icon: Database, label: 'SQL интерфейс' }, { to: '/schema', icon: GitBranch, label: 'Схема БД' }, { to: '/endpoints', icon: FileCode, label: 'Эндпоинты' }, { to: '/folders', icon: Folder, label: 'Папки' }, { to: '/api-keys', icon: Key, label: 'API Ключи' }, { to: '/logs', icon: FileText, label: 'Логи' }, { to: '/settings', icon: Settings, label: 'Настройки' }, { to: '/api-docs', icon: Book, label: 'Swagger', external: true }, ]; export default function Sidebar() { return ( ); }