mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 10:55:57 +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.
16 lines
497 B
TypeScript
16 lines
497 B
TypeScript
import './global.css';
|
|
import { RootProvider } from '@hanzo/docs/ui/provider/next';
|
|
import { Zen } from '@hanzo/font/sans';
|
|
import { ZenMono } from '@hanzo/font/mono';
|
|
import type { ReactNode } from 'react';
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html lang="en" className={Zen.className} suppressHydrationWarning>
|
|
<body className="flex flex-col min-h-screen">
|
|
<RootProvider>{children}</RootProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|