import { getServerI18n } from "@/i18n";
import { Stack, Typography, Link } from "@mui/material";
import NextLink from "next/link";

export default async function NotFound() {
  const { t } = await getServerI18n("qcItem", "common");

  return (
    <Stack spacing={2}>
      <Typography variant="h4">{t("Not Found")}</Typography>
      <Typography variant="body1">
        {t("The edit detail scheduling page was not found!")}
      </Typography>
      <Link href="/scheduling/detail" component={NextLink} variant="body2">
        {t("Return to all detail scheduling")}
      </Link>
    </Stack>
  );
}
