import CreateTaskTemplate from "@/components/CreateTaskTemplate";
import { getServerI18n } from "@/i18n";
import Typography from "@mui/material/Typography";
import { Metadata } from "next";

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

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

  return (
    <>
      <Typography variant="h4">{t("Create Task Template")}</Typography>
      <CreateTaskTemplate />
    </>
  );
};

export default Projects;
