import { isLocale, type Locale } from "@/i18n/routes";
import { getDict } from "@/i18n/dictionaries";
import { AdminShell } from "@/components/admin/admin-shell";
import { ProjectForm } from "@/components/admin/project-form";

export default function NewProjectPage() {
  const locale: Locale = "de";
  const dict = getDict(locale);
  return (
    <AdminShell locale={locale} title={dict.admin.newProject} active="newProject">
      <ProjectForm
        locale={locale}
        isNew
        initial={{
          slug: "",
          number: "",
          status: "Draft",
          category: "Sonstiges",
          stack: "",
          href: "",
          featured: false,
          summaryDe: "",
          summaryEn: "",
          stanceDe: "",
          stanceEn: "",
          bodyDe: "",
          bodyEn: "",
          sortIndex: 1000,
        }}
      />
    </AdminShell>
  );
}
