mirror of
https://github.com/hanzoai/icons.git
synced 2026-09-24 16:59:52 +00:00
Fork of lobe-icons (MIT) rebranded for Hanzo. Renamed all 6 published packages (@hanzoai/icons + -static-svg/png/webp/avatar + -rn) and every import across src/ + docs, repo URLs (lobehub/lobe-icons → hanzoai/icons), and prose (LobeHub → Hanzo). Fresh Hanzo Icons README dropping the upstream marketing chrome. Preserved: the MIT LICENSE + original copyright (required by the fork), the LobeHub brand icon itself (src/LobeHub/ — content, like any other brand), and external @lobehub/* build/demo deps (ui, lint, docs-kit, assets-logo, fluent-emoji-3d) that have no @hanzoai equivalent. CHANGELOG left as historical.
81 lines
2.3 KiB
TypeScript
81 lines
2.3 KiB
TypeScript
import { defineDocsConfig } from '@lobehub/docs-kit/src/config';
|
|
import type { DocumentationInventory } from '@lobehub/docs-kit/src/types';
|
|
|
|
import compatibility from './compatibility.json';
|
|
|
|
const legacyRedirects = compatibility as DocumentationInventory;
|
|
|
|
export default defineDocsConfig({
|
|
alias: {
|
|
'@': 'src',
|
|
'@hanzoai/icons': 'src',
|
|
},
|
|
atomDirs: [{ dir: 'src', subType: 'components', type: 'component' }],
|
|
description: 'Popular AI / LLM Model Brand SVG Logo and Icon Collection',
|
|
favicons: {
|
|
icon: 'https://lobehub.com/favicon.ico',
|
|
},
|
|
homePage: './docs/index.tsx',
|
|
legacyRedirects,
|
|
navSections: {},
|
|
publicDocs: [
|
|
'docs/editor/index.mdx',
|
|
'docs/features/model-tag.mdx',
|
|
'docs/features/icon-combine.mdx',
|
|
'docs/features/cdn-utils.mdx',
|
|
'docs/features/provder-icon.mdx',
|
|
'docs/features/model-icon.mdx',
|
|
'docs/features/provider-combine.mdx',
|
|
'docs/features/agent-icon.mdx',
|
|
'docs/features/icon-avatar.mdx',
|
|
],
|
|
siteUrl: 'https://icons.lobehub.com',
|
|
themeConfig: {
|
|
analytics: {
|
|
plausible: {
|
|
domain: 'icons.lobehub.com',
|
|
source: 'https://plausible.lobehub-inc.cn/js/script.js',
|
|
},
|
|
},
|
|
apiHeader: {
|
|
docUrl: '{github}/edit/master/{atomId}',
|
|
github: 'https://github.com/hanzoai/icons',
|
|
match: ['/components/'],
|
|
packageName: '@hanzoai/icons',
|
|
sourceUrl: '{github}/tree/master/{atomId}',
|
|
},
|
|
giscus: {
|
|
category: 'Q&A',
|
|
categoryId: 'DIC_kwDOLLYRIs4Cin-i',
|
|
repo: 'hanzoai/icons',
|
|
repoId: 'R_kgDOLLYRIg',
|
|
},
|
|
metadata: {
|
|
openGraph: {
|
|
image:
|
|
'https://repository-images.githubusercontent.com/750129442/59a8d16a-7ba1-4eda-b611-697d35cd04ab',
|
|
},
|
|
},
|
|
navItems: [
|
|
{ external: true, href: 'https://ui.lobehub.com', label: 'UI' },
|
|
{ external: true, href: 'https://charts.lobehub.com', label: 'Charts' },
|
|
{ href: '/changelog', label: 'Changelog' },
|
|
],
|
|
prefersColor: 'dark',
|
|
socialLinks: [
|
|
{
|
|
href: 'https://github.com/hanzoai/icons',
|
|
icon: 'github',
|
|
label: 'GitHub',
|
|
},
|
|
{ href: 'https://discord.gg/AYFPHvv2jT', icon: 'discord', label: 'Discord' },
|
|
{
|
|
href: 'https://www.npmjs.com/package/@hanzoai/icons',
|
|
icon: 'npm',
|
|
label: 'NPM',
|
|
},
|
|
],
|
|
},
|
|
title: 'Hanzo Icons',
|
|
});
|