mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
Fumadocs-based docs site migrated from OpenClaw (285 MDX files, 15 categories). Rebranded to Hanzo Bot with red theme, landing page, CI workflow. - 261 static pages (install, concepts, CLI, channels, providers, tools, gateway, etc.) - Mintlify compatibility components (CardGroup, Card, Info, Warning, Note) - CI: deploy-bot-docs.yml builds + pushes to GHCR + deploys to K8s - Static export via nginx:alpine Docker image - Deploys to docs.hanzo.bot
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>
|
|
);
|
|
}
|