Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 

43 рядки
1.2 KiB

  1. import { Metadata } from "next";
  2. import { getServerI18n } from "@/i18n";
  3. import Add from "@mui/icons-material/Add";
  4. import Button from "@mui/material/Button";
  5. import Stack from "@mui/material/Stack";
  6. import Typography from "@mui/material/Typography";
  7. import Link from "next/link";
  8. import { Suspense } from "react";
  9. const Bssp: React.FC = async () => {
  10. const { t } = await getServerI18n("bssp")
  11. return (
  12. <>
  13. <Stack
  14. direction="row"
  15. justifyContent="space-between"
  16. flexWrap="wrap"
  17. rowGap={2}
  18. >
  19. <Typography variant="h1" marginInlineEnd={2}>
  20. {t("Bssp")}
  21. </Typography>
  22. </Stack>
  23. <Suspense>
  24. {t("SSSSS")}
  25. <a href= "http://localhost:3000/bssp">{t("link")}</a>
  26. <form>
  27. <label>{t("First name:")}</label><br/>
  28. <input type="text" id="fname" name="fname"/><br/>
  29. <label>{t("Last name:")}</label><br/>
  30. <input type="text" id="lname" name="lname"/><br/><br/>
  31. <input type="submit" value="Submit"/>
  32. </form>
  33. </Suspense>
  34. </>
  35. )
  36. };
  37. export default Bssp;