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.

35 lines
775 B

  1. import Link from 'next/link'
  2. import {Container, Row, Col} from "reactstrap";
  3. import {useTranslation} from "next-i18next";
  4. const Error = props => {
  5. const {t} = useTranslation();
  6. return (
  7. <Container>
  8. <Row>
  9. <Link href="/">
  10. <a className="d-block ml-auto mr-auto mb-4">
  11. <img src="/logos/logo-line-white.svg" alt="logo" height="128" />
  12. </a>
  13. </Link>
  14. </Row>
  15. <Row className="mt-4">
  16. <Col className="text-center">
  17. <h4>{props.value}</h4>
  18. </Col>
  19. </Row>
  20. <Row className="mt-4">
  21. <Col className="text-center">
  22. <Link href="/">
  23. <a className="btn btn-secondary">
  24. { t("common.backHomepage") }
  25. </a>
  26. </Link>
  27. </Col>
  28. </Row>
  29. </Container>
  30. );
  31. }
  32. export default Error