// import CreateProject from "@/components/CreateProject";
// import { I18nProvider, getServerI18n } from "@/i18n";
import CreateProject from "../../../../components/CreateProject";
import { I18nProvider, getServerI18n } from "../../../../i18n";

import Typography from "@mui/material/Typography";
import { Metadata } from "next";

export const metadata: Metadata = {
  title: "Create Project",
};

const Projects: React.FC = async () => {
  const { t } = await getServerI18n("project");

  return (
    <>
      <Typography variant="h4">{t("Create Project")}</Typography>
      <I18nProvider namespaces={["project","navigation","common"]}>
        <CreateProject />
      </I18nProvider>
    </>
  );
};

export default Projects;
