Files
consensus/docs/app/layout.tsx
T
zeekay aade1be43e deps: update docs to latest @hanzo/docs-* packages
Migrate from deprecated @hanzo/mdx + @hanzo/ui to the new
@hanzo/docs (16.4.1), @hanzo/docs-mdx (14.2.8), and
@hanzo/docs-ui (16.5.3) package stack. Update all import paths
to use correct subpath exports and switch CLI from hanzo-mdx
to docs-mdx.
2026-02-09 00:07:11 -08:00

51 lines
1.2 KiB
TypeScript

import "./global.css"
import { RootProvider } from "@hanzo/docs-ui/provider/next"
import { Inter } from "next/font/google"
import type { ReactNode } from "react"
const inter = Inter({
subsets: ["latin"],
variable: "--font-geist-sans",
display: "swap",
})
const interMono = Inter({
subsets: ["latin"],
variable: "--font-geist-mono",
display: "swap",
})
export const metadata = {
title: {
default: "Lux Consensus Documentation",
template: "%s | Lux Consensus",
},
description: "Quasar consensus engine with post-quantum finality for Lux blockchain",
}
export default function Layout({ children }: { children: ReactNode }) {
return (
<html
lang="en"
className={`${inter.variable} ${interMono.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>
</body>
</html>
)
}