mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
- Synced with upstream fumadocs changes - Accepted upstream changes for all conflicts - Deleted files that no longer exist upstream - Maintains @hanzo package namespace
24 lines
628 B
TypeScript
24 lines
628 B
TypeScript
import { RootProvider } from '@hanzo/docs/ui/provider/next';
|
|
import './global.css';
|
|
import { Inter, JetBrains_Mono } from 'next/font/google';
|
|
import type { ReactNode } from 'react';
|
|
|
|
const inter = Inter({
|
|
subsets: ['latin'],
|
|
});
|
|
|
|
const mono = JetBrains_Mono({
|
|
subsets: ['latin'],
|
|
variable: '--font-mono',
|
|
});
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html lang="en" className={`${inter.className} ${mono.variable}`} suppressHydrationWarning>
|
|
<body className="flex flex-col min-h-screen">
|
|
<RootProvider>{children}</RootProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|