Files
zeekayandHanzo Dev 7d82a2c72a The docs are native: gui primitives, design tokens, and the real mark
@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]>
2026-08-16 23:31:50 -07:00

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),
});