mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
A dedicated standards site in the docs monorepo that SOURCES the HIPs from hanzoai/hips at build time (scripts/sync-hips.ts, wired as build:pre) rather than hand-copying them. Verified: sync pulls 240 HIPs → content/docs + index + meta.json. Standards landing page, branding, .gitignore'd generated content (single source = the hips repo). NOTE: not build-verified locally — the docs monorepo does not install on this box (mid @hanzo/docs-* → fumadocs-* rebrand; no sibling app has node_modules). Deps + imports aligned to the real fumadocs-* workspace packages; build-green is a CI concern once the monorepo's package scheme settles.
20 lines
410 B
TypeScript
20 lines
410 B
TypeScript
'use client';
|
|
|
|
import { ThemeProvider } from 'next-themes';
|
|
import type { ReactNode } from 'react';
|
|
|
|
export function Body({ children }: { children: ReactNode }) {
|
|
return (
|
|
<body className="antialiased">
|
|
<ThemeProvider
|
|
attribute="class"
|
|
defaultTheme="system"
|
|
enableSystem
|
|
disableTransitionOnChange
|
|
>
|
|
{children}
|
|
</ThemeProvider>
|
|
</body>
|
|
);
|
|
}
|