mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
Wire project docs sync into pre-build step, add comprehensive dark theme CSS variables, integrate ProjectSwitcher into sidebar, and add custom Cloudflare Pages deployment script with batched uploads and retry logic.
16 lines
421 B
TypeScript
16 lines
421 B
TypeScript
'use client';
|
|
|
|
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
|
import type { ReactNode } from 'react';
|
|
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
|
|
|
export function Provider({ children }: { children: ReactNode }) {
|
|
return (
|
|
<RootProvider theme={{ defaultTheme: 'dark', enableSystem: false }}>
|
|
<TooltipProvider>
|
|
{children}
|
|
</TooltipProvider>
|
|
</RootProvider>
|
|
);
|
|
}
|