2017-05-12 00:23:56 +00:00
|
|
|
|
// @flow
|
2020-06-20 20:59:15 +00:00
|
|
|
|
import * as React from "react";
|
2020-11-30 04:04:58 +00:00
|
|
|
|
import { useTranslation, Trans } from "react-i18next";
|
2020-09-25 02:38:19 +00:00
|
|
|
|
import { Link } from "react-router-dom";
|
2020-06-20 20:59:15 +00:00
|
|
|
|
import CenteredContent from "components/CenteredContent";
|
|
|
|
|
import Empty from "components/Empty";
|
2020-08-09 05:53:59 +00:00
|
|
|
|
import PageTitle from "components/PageTitle";
|
2016-08-03 11:55:56 +00:00
|
|
|
|
|
2018-05-26 19:22:14 +00:00
|
|
|
|
const Error404 = () => {
|
2020-11-30 04:04:58 +00:00
|
|
|
|
const { t } = useTranslation();
|
|
|
|
|
|
2018-05-26 19:22:14 +00:00
|
|
|
|
return (
|
|
|
|
|
<CenteredContent>
|
2020-11-30 04:04:58 +00:00
|
|
|
|
<PageTitle title={t("Not found")} />
|
|
|
|
|
<h1>{t("Not found")}</h1>
|
2019-08-22 05:11:54 +00:00
|
|
|
|
<Empty>
|
2020-11-30 04:04:58 +00:00
|
|
|
|
<Trans>
|
|
|
|
|
We were unable to find the page you’re looking for. Go to the{" "}
|
|
|
|
|
<Link to="/home">homepage</Link>?
|
|
|
|
|
</Trans>
|
2019-08-22 05:11:54 +00:00
|
|
|
|
</Empty>
|
2018-05-26 19:22:14 +00:00
|
|
|
|
</CenteredContent>
|
|
|
|
|
);
|
|
|
|
|
};
|
2016-08-03 11:55:56 +00:00
|
|
|
|
|
|
|
|
|
export default Error404;
|