Files
deer-flow/web/src/app/layout.tsx

37 lines
1.0 KiB
TypeScript
Raw Normal View History

2025-04-17 14:26:41 +08:00
// Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
// SPDX-License-Identifier: MIT
2025-04-17 12:02:23 +08:00
import "~/styles/globals.css";
import { type Metadata } from "next";
import { Geist } from "next/font/google";
2025-05-02 10:43:14 +08:00
import { ThemeProviderWrapper } from "~/components/deer-flow/theme-provider-wrapper";
2025-04-17 12:02:23 +08:00
2025-05-02 10:43:14 +08:00
import { Toaster } from "../components/deer-flow/toaster";
2025-04-30 21:09:14 +08:00
2025-04-17 12:02:23 +08:00
export const metadata: Metadata = {
2025-04-17 16:38:35 +08:00
title: "🦌 DeerFlow",
2025-04-17 12:02:23 +08:00
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 (
2025-04-20 11:18:05 +08:00
<html lang="en" className={`${geist.variable}`} suppressHydrationWarning>
<body className="bg-app">
2025-05-02 17:24:07 +08:00
<ThemeProviderWrapper>{children}</ThemeProviderWrapper>
2025-04-30 21:09:14 +08:00
<Toaster />
2025-04-17 12:02:23 +08:00
</body>
</html>
);
}