add initial

This commit is contained in:
2025-04-02 00:17:25 +02:00
commit 792d71523c
39 changed files with 7525 additions and 0 deletions

View File

@ -0,0 +1,12 @@
"use server";
import { redirect } from "next/navigation";
import { isLoggedIn } from "../write/auth";
import FormComponent from "./Form";
export default async function Login() {
if (await isLoggedIn()) {
redirect("/blog/write");
}
return <FormComponent />;
}