mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
- New Fumadocs-based docs app at apps/dev-docs/ (port 3003) - Ported 16+ markdown docs from hanzoai/dev as MDX with navigation - Landing page with terminal preview, features grid, quick start - 28 docs pages: getting-started, usage, config, integrations, reference - Static export to out/ with shiki code highlighting - CI: add GITHUB_PAGES env, NODE_OPTIONS, SKIP_DTS for faster builds
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>
|
|
);
|
|
}
|