added copy changes

This commit is contained in:
2021-10-15 10:01:33 +01:00
parent 86e02ac750
commit e1a6f60bf4
9 changed files with 133 additions and 44 deletions
+2 -2
View File
@@ -24,11 +24,11 @@ function Error({ statusCode }, props) {
<main className="govuk-main-wrapper govuk-!-padding-top-9 govuk-!-padding-bottom-9">
<div className="govuk-grid-row">
<div className="govuk-grid-column-two-thirds ">
<h1>Error</h1>
<h1>{t("common:error-page-title")}</h1>
<p className="govuk-body">
{statusCode
? `An error ${statusCode} occurred on server`
: "An error occurred on the client"}
: t("common:error-page-message")}
</p>
<Link href="/">
<a>Go back home</a>