feat: implement full CRUD functionality for projects with image upload support and admin dashboard management

This commit is contained in:
Yolando
2026-03-28 21:11:36 +07:00
parent 0549f12a97
commit 01ecca4b28
17 changed files with 2399 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
import { ProjectForm } from "@/features/projects/project-form";
import { verifySession } from "@/core/security/session";
import { redirect } from "@/i18n/routing";
import { getLocale } from "next-intl/server";
export default async function CreateProjectPage() {
const session = await verifySession();
const locale = await getLocale();
if (!session) {
redirect({ href: "/admin/login", locale });
}
return (
<div className="min-h-screen bg-muted/10 px-6 py-12">
<ProjectForm />
</div>
);
}