mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-28 06:43:10 +00:00
Twelve example layouts imported `ZenSans` from `@hanzo/font/sans`, a name the package stopped exporting at 1.9.0 — the family is called Zen, so the binding is `Zen`. Every one of those layouts would fail to resolve the import against a current install, and the `^1.8.x` ranges they pinned kept resolving to the old export instead of surfacing it.
19 lines
561 B
TypeScript
19 lines
561 B
TypeScript
import { RootProvider } from '@hanzo/docs-ui/provider/next';
|
|
import './global.css';
|
|
import { Zen } from '@hanzo/font/sans';
|
|
import { ZenMono } from '@hanzo/font/mono';
|
|
import { DevClient } from '@hanzo/docs-local-md/dev/react-client';
|
|
|
|
export default function Layout({ children }: LayoutProps<'/'>) {
|
|
return (
|
|
<html lang="en" className={Zen.className} suppressHydrationWarning>
|
|
<body className="flex flex-col min-h-screen">
|
|
<RootProvider>
|
|
<DevClient />
|
|
{children}
|
|
</RootProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|