WeKnora/website-docs/homepage/app/layout.tsx

24 lines
968 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

import type { Metadata } from "next";
import "./globals.css";
import { themeInitializationScript } from "./theme";
export const metadata: Metadata = {
title: "WeKnora — 帮你找到答案,并将知识付诸实践",
description: "腾讯开源知识框架 WeKnora,集 RAG 问答、Agent 推理与自动 Wiki 于一体。v0.8.2 让智能体操作本机浏览器、以 MCP Server 对外提供知识库,并支持对话分叉与回滚;支持私有化部署。",
// Reuse the documentation favicon so the homepage adds nothing at the site root.
icons: { icon: "/docs/favicon.ico" },
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="zh-CN" className="h-full antialiased" suppressHydrationWarning>
<head><script dangerouslySetInnerHTML={{ __html: themeInitializationScript }} /></head>
<body className="min-h-full flex flex-col">{children}</body>
</html>
);
}