import {
  LuActivity,
  LuFileText,
  LuFolderOpen,
  LuInfo,
  LuLayoutDashboard,
  LuSettings,
  LuSignal,
  LuTerminal,
  LuZap,
  LuPackage,
  LuStore,
  LuPuzzle,
} from 'react-icons/lu';

export type SiteConfig = typeof siteConfig;
export interface MenuItem {
  label: string;
  icon?: React.ReactNode;
  autoOpen?: boolean;
  href?: string;
  items?: MenuItem[];
  customIcon?: string;
}

export const siteConfig = {
  name: 'NapCat',
  description: 'NapCat WebUI.',
  navItems: [
    {
      label: '基础信息',
      icon: <LuLayoutDashboard className='w-5 h-5' />,
      href: '/',
    },
    {
      label: '网络配置',
      icon: <LuSignal className='w-5 h-5' />,
      href: '/network',
    },
    {
      label: '猫猫日志',
      icon: <LuFileText className='w-5 h-5' />,
      href: '/logs',
    },
    {
      label: '接口调试',
      icon: <LuActivity className='w-5 h-5' />,
      href: '/debug/http',
    },
    {
      label: '实时调试',
      icon: <LuZap className='w-5 h-5' />,
      href: '/debug/ws',
    },
    {
      label: '文件管理',
      icon: <LuFolderOpen className='w-5 h-5' />,
      href: '/file_manager',
    },
    {
      label: '插件管理',
      icon: <LuPackage className='w-5 h-5' />,
      href: '/plugins',
    },
    {
      label: '插件商店',
      icon: <LuStore className='w-5 h-5' />,
      href: '/plugin_store',
    },
    {
      label: '扩展页面',
      icon: <LuPuzzle className='w-5 h-5' />,
      href: '/extension',
    },
    {
      label: '系统终端',
      icon: <LuTerminal className='w-5 h-5' />,
      href: '/terminal',
    },
    {
      label: '系统配置',
      icon: <LuSettings className='w-5 h-5' />,
      href: '/config',
    },
    {
      label: '关于我们',
      icon: <LuInfo className='w-5 h-5' />,
      href: '/about',
    },
  ] as MenuItem[],
  links: {
    github: 'https://github.com/NapNeko/NapCatQQ',
    docs: 'https://napcat.napneko.icu/',
  },
};
