chore: create frontend project from boilerplate

This commit is contained in:
Henry Li
2026-01-14 09:50:26 +08:00
parent 3ff7613dd9
commit c628c7f8db
72 changed files with 15444 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
import { toNextJsHandler } from "better-auth/next-js";
import { auth } from "@/server/better-auth";
export const { GET, POST } = toNextJsHandler(auth.handler);

View File

@@ -0,0 +1,25 @@
import "@/styles/globals.css";
import { type Metadata } from "next";
import { Geist } from "next/font/google";
export const metadata: Metadata = {
title: "DeerFlow",
description: "A LangChain-based framework for building super agents.",
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}`}>
<body>{children}</body>
</html>
);
}

View File

@@ -0,0 +1,7 @@
export default async function LandingPage() {
return (
<main className="flex min-h-screen flex-col items-center justify-center">
Welcome to DeerFlow 2
</main>
);
}