Files
zeekay 05dbc79f05 fix(font): import the binding the package actually exports
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.
2026-08-28 08:37:06 -07:00

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>
);
}