FPSMS-frontend
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

27 righe
731 B

  1. // import CreateProject from "@/components/CreateProject";
  2. // import { I18nProvider, getServerI18n } from "@/i18n";
  3. import CreateProject from "../../../../components/CreateProject";
  4. import { I18nProvider, getServerI18n } from "../../../../i18n";
  5. import Typography from "@mui/material/Typography";
  6. import { Metadata } from "next";
  7. export const metadata: Metadata = {
  8. title: "Create Project",
  9. };
  10. const Projects: React.FC = async () => {
  11. const { t } = await getServerI18n("project");
  12. return (
  13. <>
  14. <Typography variant="h4">{t("Create Project")}</Typography>
  15. <I18nProvider namespaces={["project","navigation","common"]}>
  16. <CreateProject />
  17. </I18nProvider>
  18. </>
  19. );
  20. };
  21. export default Projects;