UNPKG

dumi-theme-lobehub

Version:

dumi-theme-lobehub is a documentation site theme package designed for dumi2. It provides a more beautiful and user-friendly development and reading experience based on @lobehub/ui

96 lines 2.63 kB
import { Icon } from '@lobehub/ui'; import { Link } from 'dumi'; import { Bug, FileClock, GitFork, Github } from 'lucide-react'; import { jsx as _jsx } from "react/jsx-runtime"; export var getColumns = function getColumns(_ref) { var github = _ref.github; var resources = { items: [{ description: 'AIGC Components', openExternal: true, title: 'Lobe UI', url: 'https://github.com/lobehub/lobe-ui' }, { description: 'AI / LLM Icon Collection', openExternal: true, title: 'Lobe Icon', url: 'https://github.com/lobehub/lobe-icons' }, { description: 'Modern Charts', openExternal: true, title: 'Lobe Charts', url: 'https://github.com/lobehub/lobe-charts' }, { description: 'TTS / STT Library', openExternal: true, title: 'Lobe TTS', url: 'https://github.com/lobehub/lobe-tts' }], title: 'Resources' }; var community = { items: [github && { icon: /*#__PURE__*/_jsx(Icon, { icon: Bug, size: "small" }), openExternal: true, title: 'Report Bug', url: "".concat(github, "/issues/new/choose") }, github && { icon: /*#__PURE__*/_jsx(Icon, { icon: GitFork, size: "small" }), openExternal: true, title: 'Request Feature', url: "".concat(github, "/issues/new/choose") }].filter(Boolean), title: 'Community' }; var help = { items: [github && { icon: /*#__PURE__*/_jsx(Icon, { icon: Github, size: "small" }), openExternal: true, title: 'GitHub', url: github }, { LinkComponent: Link, icon: /*#__PURE__*/_jsx(Icon, { icon: FileClock, size: "small" }), title: 'Changelog', url: '/changelog' }].filter(Boolean), title: 'Help' }; var more = { items: [{ description: 'AI / LLM Chat Framework', openExternal: true, title: '🤯 Lobe Chat', url: 'https://github.com/lobehub/lobe-chat' }, { description: 'Virtual Idols for EveryOne', openExternal: true, title: '🧸 Lobe Vidol', url: 'https://github.com/lobehub/lobe-vidol' }, { description: 'Stable Diffusion Extension', openExternal: true, title: '🅰️ Lobe Theme', url: 'https://github.com/lobehub/sd-webui-lobe-theme' }, { description: 'AI i18next CLI', openExternal: true, title: '🌐 Lobe i18n', url: 'https://github.com/lobehub/lobe-commit' }], title: 'More Products' }; return [resources, community, help, more]; };