mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-29 07:01:44 +00:00
New templates: - +next+hanzo-docs-mdx+org: Project docs with org-aware layout, project switcher dropdown, and auto-configured branding from org presets - +next+hanzo-docs-mdx+hub: Org landing page with card grid linking to all project docs, no sidebar/docs layout New plugin: - org-docs: Generates docs.config.ts with org preset and project slug Updates constants and orama-cloud plugin to support new template types.
18 lines
477 B
TypeScript
18 lines
477 B
TypeScript
import { Inter } from 'next/font/google';
|
|
import { RootProvider } from '@hanzo/docs-base-ui/provider/next';
|
|
import './global.css';
|
|
|
|
const inter = Inter({
|
|
subsets: ['latin'],
|
|
});
|
|
|
|
export default function Layout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html lang="en" className={inter.className} suppressHydrationWarning>
|
|
<body className="flex flex-col min-h-screen">
|
|
<RootProvider>{children}</RootProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|