Get started on methodology page content updates

This commit is contained in:
Shelby Switzer 2021-09-15 16:17:34 -04:00
parent 1a9dbaa3ab
commit a58f83a352
3 changed files with 13 additions and 12 deletions

View file

@ -61,13 +61,15 @@ const DatasetContainer = () => {
const messages = defineMessages({
cumulativeScore: {
id: 'datasetContainer.header.cumulativeScore',
defaultMessage: 'Datasets used in cumulative score',
defaultMessage: 'Datasets used in methodology',
description: 'section label of which datasets are used in cumulative score',
},
subTitle: {
id: 'datasetContainer.subTitle',
defaultMessage: 'The datasets come from a variety of sources and ' +
'were selected after considering relevance, availability, recency and quality.',
'were selected based on relevance, availability, recency, and quality.' +
' The datasets seek to identify a range of human health, environmental, ' +
'climate-related, and other cumulative impacts on disadvantaged communities.',
description: 'description of the dataset section',
},
});

View file

@ -13,18 +13,18 @@ const DownloadPacket = () => {
const messages = defineMessages({
downloadPacketHeader: {
id: 'downloadPacket.header.text',
defaultMessage: 'Draft communities list (pre-decisional, 137MB)',
defaultMessage: 'Draft communities list (137MB)',
description: 'download packet header text',
},
downloadPacketInfo: {
id: 'downloadPacket.info.text',
defaultMessage: 'The package includes the draft list of prioritized communities (.csv and .xlsx).'+
' This information should not be used to make program resource allocation decisions.',
defaultMessage: 'The package includes the draft list of communities of focus (.csv and .xlsx) '+
'and information about how to use the list (.pdf)',
description: 'download packet info text',
},
downloadPacketButtonText: {
id: 'downloadPacket.button.text',
defaultMessage: 'Download packet',
defaultMessage: 'Download package',
description: 'download packet button text',
},
});

View file

@ -4,11 +4,11 @@ import {useIntl} from 'gatsby-plugin-intl';
import {defineMessages} from 'react-intl';
import AlertWrapper from '../components/AlertWrapper';
// import DatasetContainer from '../components/DatasetContainer';
import DatasetContainer from '../components/DatasetContainer';
import DownloadPacket from '../components/DownloadPacket';
import J40MainGridContainer from '../components/J40MainGridContainer';
import Layout from '../components/layout';
// import ScoreStepsList from '../components/scoreStepsList';
import ScoreStepsList from '../components/scoreStepsList';
interface MethodPageProps {
location: Location;
@ -25,8 +25,8 @@ const IndexPage = ({location}: MethodPageProps) => {
},
methodologyPagep1: {
id: 'methodology.page.paragraph.first',
defaultMessage: 'The methodology for determining disadvantaged communities for the purposes of '+
' the Justice40 Initiative is currently in progress.',
defaultMessage: 'The methodology for identifying communities of focus is currently ' +
'in a draft, pre-decisional form that may change over time as more datasets become available.',
description: 'methodology page paragraph 1',
},
});
@ -54,7 +54,6 @@ const IndexPage = ({location}: MethodPageProps) => {
</Grid>
</J40MainGridContainer>
{/* // Temporarily removed while the app is demo'd to stakeholders
<J40MainGridContainer fullWidth={true}>
<Grid row>
<Grid col>
@ -69,7 +68,7 @@ const IndexPage = ({location}: MethodPageProps) => {
<ScoreStepsList/>
</Grid>
</Grid>
</J40MainGridContainer> */}
</J40MainGridContainer>
</Layout>
);
};