mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 06:12:14 +08:00
41 lines
1.2 KiB
TypeScript
41 lines
1.2 KiB
TypeScript
// Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
import "~/styles/globals.css";
|
|
|
|
import { type Metadata } from "next";
|
|
import { Geist } from "next/font/google";
|
|
|
|
import { ThemeProvider } from "~/components/theme-provider";
|
|
import { TooltipProvider } from "~/components/ui/tooltip";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "🦌 DeerFlow",
|
|
description:
|
|
"Deep Exploration and Efficient Research, an AI tool that combines language models with specialized tools for research tasks.",
|
|
icons: [{ rel: "icon", url: "/favicon.ico" }],
|
|
};
|
|
|
|
const geist = Geist({
|
|
subsets: ["latin"],
|
|
variable: "--font-geist-sans",
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{ children: React.ReactNode }>) {
|
|
return (
|
|
<html lang="en" className={`${geist.variable}`} suppressHydrationWarning>
|
|
<body className="bg-app h-screen w-screen overflow-hidden overscroll-none">
|
|
<ThemeProvider
|
|
attribute="class"
|
|
defaultTheme="system"
|
|
disableTransitionOnChange
|
|
>
|
|
<TooltipProvider>{children}</TooltipProvider>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|