feat: implement basic web app

This commit is contained in:
Henry Li
2026-01-15 23:40:21 +08:00
parent b44144dd2c
commit 9f2b94ed52
49 changed files with 4142 additions and 626 deletions

View File

@@ -3,8 +3,10 @@ import "@/styles/globals.css";
import { type Metadata } from "next";
import { Geist } from "next/font/google";
import { ThemeProvider } from "@/components/theme-provider";
export const metadata: Metadata = {
title: "DeerFlow",
title: "Welcome to DeerFlow",
description: "A LangChain-based framework for building super agents.",
icons: [{ rel: "icon", url: "/favicon.ico" }],
};
@@ -18,8 +20,21 @@ export default function RootLayout({
children,
}: Readonly<{ children: React.ReactNode }>) {
return (
<html lang="en" className={`${geist.variable}`}>
<body>{children}</body>
<html
className={geist.variable}
suppressContentEditableWarning
suppressHydrationWarning
>
<body>
<ThemeProvider
attribute="class"
defaultTheme="dark"
enableSystem
disableTransitionOnChange
>
{children}
</ThemeProvider>
</body>
</html>
);
}