roll up dns changes translations

This commit is contained in:
2021-08-31 09:12:57 +01:00
parent 5821804d42
commit 573c2cf8a0
21 changed files with 352 additions and 105 deletions
+6 -10
View File
@@ -87,16 +87,10 @@ const TitleContent = (props) => {
return (
<div className="govuk-panel govuk-grid-column-two-thirds govuk-panel--header">
<h1 className="govuk-panel__title">
Developments of National Significance
{t("dnsCommon:service-name")}
</h1>
<div className="govuk-panel__body">
<p className="govuk-body-s">
A Development of National Significance (DNS) is a type of
planning application for a large infrastructure project of
national importance in Wales. Here you can find out about
proposed DNS applications. This site is managed by the
Planning Inspectorate.
</p>
<p className="govuk-body-s">{t("dnsHome:title-paragraph")}</p>
</div>
<div className="govuk-form-group govuk-!-margin-bottom-0 flex-container">
<AutoSuggest
@@ -116,7 +110,9 @@ const TitleContent = (props) => {
)}
inputProps={{
className: "govuk-input govuk-!-font-size-16",
placeholder: "Search application name",
placeholder: t(
"dnsHome:title-application-search-placeholder"
),
value: value,
onChange: (_, { newValue, method }) => {
setValue(newValue);
@@ -126,7 +122,7 @@ const TitleContent = (props) => {
/>
<Link href="/dns/application-view">
<a className="govuk-button govuk-!-margin-bottom-0 govuk-!-margin-left-2">
Go
{t("dnsHome:title-application-search-button")}
</a>
</Link>
</div>