Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit bb826ce

Browse files
committed
Restore the removed contact page survey link
1 parent b116c90 commit bb826ce

File tree

5 files changed

+19
-13
lines changed

5 files changed

+19
-13
lines changed

client/src/components/AreaDetail/AreaDetail.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,8 @@ const AreaDetail = ({properties}: IAreaDetailProps) => {
872872
{/* Send Feedback button */}
873873
<a
874874
className={styles.sendFeedbackLink}
875-
href={intl.locale === `es` ? `${constants.CENSUS_TRACT_SURVEY_LINKS.ES}?tractid=${blockGroup}` : `${constants.CENSUS_TRACT_SURVEY_LINKS.EN}?tractid=${blockGroup}`}
875+
href={intl.locale === `es` ? `${constants.CENSUS_TRACT_SURVEY_LINKS.ES}?tractid=${blockGroup}` :
876+
`${constants.CENSUS_TRACT_SURVEY_LINKS.EN}?tractid=${blockGroup}`}
876877
target={"_blank"}
877878
rel="noreferrer"
878879
>

client/src/data/constants.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,4 +378,4 @@ export const CONTACT_SURVEY_LINKS = {
378378
export const CENSUS_TRACT_SURVEY_LINKS = {
379379
EN: 'https://eop.gov1.qualtrics.com/jfe/form/SV_8J5wGa8Ya4dMP9c',
380380
ES: 'https://eop.gov1.qualtrics.com/jfe/form/SV_eJXos5X4yekq6cC',
381-
};
381+
};

client/src/data/copy/contact.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,17 @@ export const CENSUS_TRACT_FEEDBACK = {
7676
// `}
7777
// description={'Navigate to the contact page, this is the census tract feedback section'}
7878
// />,
79-
// PARAGRAPH3: <FormattedMessage
80-
// id={'contact.page.census.tract.feedback.para3'}
81-
// defaultMessage={`
82-
// The best way to contact the Council on Environmental Quality (CEQ) is by filling out <link1>this form</link1>.
83-
// `}
84-
// description={'Navigate to the survey. Spanish should substitute <link2> to get Spanish link! Already coded to support'}
85-
// values={{
86-
// link1: COMMON_COPY.linkFn(CONTACT_SURVEY_LINKS.EN, false, true),
87-
// link1es: COMMON_COPY.linkFn(CONTACT_SURVEY_LINKS.ES, false, true),
88-
// }}
89-
// />,
79+
PARAGRAPH3: <FormattedMessage
80+
id={'contact.page.census.tract.feedback.para3'}
81+
defaultMessage={`
82+
The best way to contact the Council on Environmental Quality (CEQ) is by filling out <link1>this form</link1>.
83+
`}
84+
description={'Navigate to the survey. Spanish should substitute <link2> to get Spanish link! Already coded to support'}
85+
values={{
86+
link1: COMMON_COPY.linkFn(CONTACT_SURVEY_LINKS.EN, false, true),
87+
link1es: COMMON_COPY.linkFn(CONTACT_SURVEY_LINKS.ES, false, true),
88+
}}
89+
/>,
9090
};
9191

9292

client/src/intl/en.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@
259259
"defaultMessage": "https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf",
260260
"description": "Navigate to the Alerts on any page. This will be the link to the techinical support document."
261261
},
262+
"contact.page.census.tract.feedback.para3": {
263+
"defaultMessage": "The best way to contact the Council on Environmental Quality (CEQ) is by filling out <link1>this form</link1>.",
264+
"description": "Navigate to the survey. Spanish should substitute <link2> to get Spanish link! Already coded to support"
265+
},
262266
"contact.page.fab.survey.text": {
263267
"defaultMessage": "Help improve the tool",
264268
"description": "Navigate to the contact page, this is the text for floating action button"

client/src/pages/contact.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const ContactPage = ({location}: IContactPageProps) => {
3535
<h2>
3636
{intl.formatMessage(CONTACT_COPY.PAGE_INTRO.PAGE_SUB_HEADING)}
3737
</h2>
38+
<p>{CONTACT_COPY.CENSUS_TRACT_FEEDBACK.PARAGRAPH3}</p>
3839
<p>
3940
<FormattedMessage
4041
id={'contact.page.general'}

0 commit comments

Comments
 (0)