// 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("projects");

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

export default Projects;
