25 lines
513 B
TypeScript
25 lines
513 B
TypeScript
import type { Metadata } from "next";
|
|
import { ThemeProvider } from "../components/ThemeProvider";
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "OpenClaw Documentation",
|
|
description: "OpenClaw 中文文档",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="zh-CN" suppressHydrationWarning>
|
|
<body>
|
|
<ThemeProvider>
|
|
{children}
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|