import { Card, CardBody, CardHeader } from '@heroui/card'; import { Chip } from '@heroui/chip'; import { Divider } from '@heroui/divider'; import { Image } from '@heroui/image'; import { Link } from '@heroui/link'; import { Spinner } from '@heroui/spinner'; import { useRequest } from 'ahooks'; import { BsCodeSlash, BsCpu, BsGithub, BsGlobe, BsPlugin, BsTelegram, BsTencentQq } from 'react-icons/bs'; import { IoDocument, IoRocketSharp } from 'react-icons/io5'; import logo from '@/assets/images/logo.png'; import WebUIManager from '@/controllers/webui_manager'; function VersionInfo () { const { data, loading, error } = useRequest(WebUIManager.GetNapCatVersion); return (
{error ? ( {error.message} ) : loading ? ( ) : (
WebUI v0.0.6 Core {data?.version}
)}
); } export default function AboutPage () { const features = [ { icon: , title: '高性能架构', desc: 'Node.js + Native 混合架构,资源占用低,响应速度快。', className: 'bg-primary-50 text-primary' }, { icon: , title: '全平台支持', desc: '适配 Windows、Linux 及 Docker 环境。', className: 'bg-success-50 text-success' }, { icon: , title: 'OneBot 11', desc: '深度集成标准协议,兼容现有生态。', className: 'bg-warning-50 text-warning' }, { icon: , title: '极易扩展', desc: '提供丰富的 API 接口与 WebHook 支持。', className: 'bg-secondary-50 text-secondary' } ]; const links = [ { icon: , name: 'GitHub', href: 'https://github.com/NapNeko/NapCatQQ' }, { icon: , name: 'Telegram', href: 'https://t.me/napcatqq' }, { icon: , name: 'QQ 群 1', href: 'https://qm.qq.com/q/F9cgs1N3Mc' }, { icon: , name: 'QQ 群 2', href: 'https://qm.qq.com/q/hSt0u9PVn' }, { icon: , name: '文档', href: 'https://napcat.napneko.icu/' }, ]; const cardStyle = "bg-default/40 backdrop-blur-lg border-none shadow-none"; return (
关于 - NapCat WebUI {/* 头部标题区 */}

NapCat Logo 关于 NapCat

现代化、轻量级的 QQ 机器人框架

{/* 主内容区:双栏布局 */}
{/* 左侧:介绍与特性 */}

项目简介

NapCat (瞌睡猫) 是一个致力于打破 QQ 机器人开发壁垒的开源项目。我们利用 NTQQ 的底层能力, 构建了一个无需 GUI 即可在服务器端稳定运行的 Headless 框架。

无论是个人开发者还是企业用户,NapCat 都能提供开箱即用的 OneBot 11 协议支持, 助您快速将创意转化为现实。

{features.map((item, index) => (
{item.icon}

{item.title}

{item.desc}

))}
{/* 右侧:信息与链接 */}

相关资源

{links.map((link, idx) => ( {link.icon} {link.name} 跳转 → ))}

技术栈

{['TypeScript', 'React', 'Vite', 'Node.js', 'Electron', 'HeroUI'].map((tech) => ( {tech} ))}
{/* 底部版权 - 移出 grid 布局 */}

Made with ❤️ by NapCat Team

MIT License © {new Date().getFullYear()}

); }