mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-10-01 07:03:18 -07:00
Add Send feedback button census track feedback (#1232)
* Add send feedback btn to side panel * Update contact page copy * remove redundant constant
This commit is contained in:
parent
4b95583117
commit
9b4d45a96c
8 changed files with 156 additions and 12 deletions
|
@ -1,4 +1,7 @@
|
|||
import React from 'react';
|
||||
import {defineMessages} from 'react-intl';
|
||||
import {FormattedMessage, Link} from 'gatsby-plugin-intl';
|
||||
import LinkTypeWrapper from '../../components/LinkTypeWrapper';
|
||||
|
||||
export const PAGE_INTRO = defineMessages({
|
||||
PAGE_TILE: {
|
||||
|
@ -28,6 +31,49 @@ export const PAGE_INTRO = defineMessages({
|
|||
},
|
||||
});
|
||||
|
||||
export const CENSUS_TRACK_FEEDBACK = {
|
||||
TITLE: <FormattedMessage
|
||||
id={'contact.page.census.track.feedback.title'}
|
||||
defaultMessage={`Census track feedback`}
|
||||
description={'census track feedback section'}
|
||||
/>,
|
||||
PARAGRAPH1: <FormattedMessage
|
||||
id={'contact.page.census.track.feedback.para1'}
|
||||
defaultMessage={`
|
||||
To provide feedback about a specific census tract, either select the send feedback button after
|
||||
finding a tract on the {exploreLink} page or just use the email address provided above. Please
|
||||
include the census tract ID, county, state or territory information, in addition to your feedback.
|
||||
`}
|
||||
description={'census track feedback section'}
|
||||
values={{
|
||||
exploreLink: <Link to={'/cejst'}>Explore the tool</Link>,
|
||||
}}
|
||||
/>,
|
||||
PARAGRAPH2: <FormattedMessage
|
||||
id={'contact.page.census.track.feedback.para2'}
|
||||
defaultMessage={`
|
||||
If there are specific data indicators that could be improved or changed, please include that
|
||||
information in the body of the email.
|
||||
`}
|
||||
description={'census track feedback section'}
|
||||
/>,
|
||||
PARAGRAPH3: <FormattedMessage
|
||||
id={'contact.page.census.track.feedback.para1'}
|
||||
defaultMessage={`
|
||||
In addition, you can provide information about data via the {improvementSurvey}.
|
||||
`}
|
||||
description={'census track feedback section'}
|
||||
values={{
|
||||
improvementSurvey: <LinkTypeWrapper
|
||||
linkText={'improvement survey'}
|
||||
internal={false}
|
||||
url={`https://www.surveymonkey.com/r/cejst-survey`}
|
||||
openUrlNewTab={true}
|
||||
/>,
|
||||
}}
|
||||
/>,
|
||||
};
|
||||
|
||||
export const CONTACT_VIA_EMAIL = {
|
||||
ID: 'contact.general',
|
||||
DESCRIPTION: 'Contact page body text',
|
||||
|
|
|
@ -230,13 +230,25 @@ export const COMMUNITY = {
|
|||
defaultMessage={ 'Identified as disadvantaged?'}
|
||||
description={'asking IF the communities is focused on'}
|
||||
/>,
|
||||
SEND_FEEDBACK: <FormattedMessage
|
||||
id={'areaDetail.categorization.send.feedback'}
|
||||
defaultMessage={ 'send feedback'}
|
||||
description={'link to send feedback'}
|
||||
/>,
|
||||
SEND_FEEDBACK: {
|
||||
TITLE: <FormattedMessage
|
||||
id={'areaDetail.categorization.send.feedback.title'}
|
||||
defaultMessage={ 'Send feedback'}
|
||||
description={'link to send feedback'}
|
||||
/>,
|
||||
},
|
||||
};
|
||||
|
||||
export const SEND_FEEDBACK = defineMessages({
|
||||
EMAIL_BODY: {
|
||||
id: 'areaDetail.categorization.send.feedback.email.body',
|
||||
// eslint-disable-next-line max-len
|
||||
defaultMessage: `Please provide feedback about this census tract, including about the datasets, the data categories provided for this tract, the communities who live in this tract, and anything else relevant that we should know.
|
||||
`,
|
||||
description: 'link to send feedback',
|
||||
},
|
||||
});
|
||||
|
||||
export const SIDE_PANEL_CATEGORY = defineMessages({
|
||||
INDICATOR: {
|
||||
id: 'areaDetail.category.header.indicator',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue