You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 line
556 B

  1. import { getServerI18n } from "@/i18n";
  2. import { Stack, Typography, Link } from "@mui/material";
  3. import NextLink from "next/link";
  4. export default async function NotFound() {
  5. const { t } = await getServerI18n("projects", "common");
  6. return (
  7. <Stack spacing={2}>
  8. <Typography variant="h4">{t("Not Found")}</Typography>
  9. <Typography variant="body1">{t("There was no any main projects!")}</Typography>
  10. <Link href="/projects" component={NextLink} variant="body2">
  11. {t("Return to all projects")}
  12. </Link>
  13. </Stack>
  14. );
  15. }