feat(project): init

This commit is contained in:
zhangheng
2026-04-25 11:26:33 +08:00
commit 9bf212f67c
63 changed files with 11141 additions and 0 deletions

8
app/page.tsx Normal file
View File

@@ -0,0 +1,8 @@
import { redirect } from "next/navigation";
import { getCachedCurrentUser } from "@/lib/auth";
export default async function HomePage() {
const user = await getCachedCurrentUser();
redirect(user ? "/studio" : "/login");
}