mirror of
https://github.com/luxfi/math.git
synced 2026-09-24 00:25:16 +00:00
35 lines
909 B
TypeScript
35 lines
909 B
TypeScript
import "@hanzo/font/css"
|
|
import "./global.css"
|
|
import { RootProvider } from "fumadocs-ui/provider/next"
|
|
import type { ReactNode } from "react"
|
|
|
|
export const metadata = {
|
|
title: {
|
|
default: "Mathematical Utilities Documentation",
|
|
template: "%s | Mathematical Utilities",
|
|
},
|
|
description: "High-performance math operations for blockchain",
|
|
}
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html lang="en" 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>
|
|
)
|
|
}
|