mirror of
https://github.com/zoo-docs/docs.git
synced 2026-10-30 14:56:26 +00:00
@hanzo/docs 17 replaces the Tailwind/Base-UI stack. The home page now says what Zoo is — mission, DSO and PoAI with their papers, ecosystem, community — in gui primitives under a real nav, instead of a template's demo cards. Static search gains its index; the logo is the three-circle mark; linked headings paint at their own size. Co-authored-by: Hanzo Dev <[email protected]>
14 lines
508 B
TypeScript
14 lines
508 B
TypeScript
import { docs } from '@/docs/server';
|
|
import { loader } from '@hanzo/docs/core/source';
|
|
import { Icon } from '@/components/icons';
|
|
import { createElement } from 'react';
|
|
|
|
export const source = loader({
|
|
baseUrl: '/docs',
|
|
source: docs.toSource(),
|
|
// Frontmatter and meta.json name icons by their lucide name. Without a
|
|
// resolver the name is rendered as text, so a page called Gym would read
|
|
// "DumbbellGym" in the sidebar.
|
|
icon: (name) => (name ? createElement(Icon, { name }) : undefined),
|
|
});
|