Files
zeekay fd80f78fed fix(type): the binding is named for the face it holds
The docs layout named three different faces in one place: a binding called
`inter`, constructed from next/font/google so it actually held Inter, publishing
`--font-geist-sans`, which @hanzo/font does not set. Whichever a reader trusted,
two were wrong.

It takes Zen and ZenMono from @hanzo/font — named `sans` and `mono` for the role
they fill, setting the properties the package publishes.
2026-08-28 09:30:16 -07:00

58 lines
1.4 KiB
TypeScript

import "./global.css"
import { Analytics } from "./analytics"
import { RootProvider } from "fumadocs-ui/provider/next"
import { Zen } from '@hanzo/font'
import type { ReactNode } from "react"
const sans = Zen
const mono = ZenMono
export const metadata = {
title: {
default: "Hanzo MPC - Threshold Signature Documentation",
template: "%s | Hanzo MPC",
},
description: "Multi-Party Computation for threshold signatures - ECDSA, EdDSA, and Taproot",
openGraph: {
title: "Hanzo MPC",
description: "Multi-Party Computation for threshold signatures",
url: "https://mpc.hanzo.ai",
siteName: "Hanzo MPC",
type: "website",
},
twitter: {
card: "summary_large_image",
title: "Hanzo MPC",
description: "Multi-Party Computation for threshold signatures",
creator: "@hanzoai",
},
}
export default function Layout({ children }: { children: ReactNode }) {
return (
<html
lang="en"
className={`${sans.variable} ${mono.variable}`}
suppressHydrationWarning
>
<body className="min-h-svh bg-background font-sans antialiased">
<RootProvider
search={{
enabled: true,
}}
theme={{
enabled: true,
defaultTheme: "dark",
}}
>
<div className="relative flex min-h-svh flex-col bg-background">
{children}
</div>
</RootProvider>
<Analytics />
</body>
</html>
)
}