Skip to content

Commit 6ea89ba

Browse files
committed
Change wording to add offline instructions
1 parent 7ca9d5a commit 6ea89ba

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/app/components/pages/NotFound.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from "react";
22
import {useLocation} from "react-router-dom";
33
import {Container} from "reactstrap";
44
import {TitleAndBreadcrumb} from "../elements/TitleAndBreadcrumb";
5-
import {siteSpecific} from "../../services";
5+
import {siteSpecific, WEBMASTER_EMAIL} from "../../services";
66

77
const buildContactUrl = (state: {overridePathname?: string}, pathname: string) => {
88
const page = encodeURIComponent((state && state.overridePathname) || pathname);
@@ -33,8 +33,10 @@ export const NotFound = () => {
3333
</a>.
3434
</p> :
3535
<p>
36-
It looks like you&apos;re offline. Please check your internet connection.
37-
</p>
36+
It looks like you are offline. You may want to check your internet connection, and then refresh this page to try again.
37+
<br />
38+
If you are still having issues, please <a href={`mailto:${WEBMASTER_EMAIL}`}>let us know</a>.
39+
</p> // Email link rather than contact form, as the contact form may not work offline
3840
}
3941
</div>
4042
</Container>;

0 commit comments

Comments
 (0)