Removes content methodology page (#649)

* Revert "dockerize front end (#558)"

This reverts commit 89c23faf7a.

* comment out content from meth page

* updates download packet text

* updates copy
This commit is contained in:
Vim 2021-09-10 07:12:47 -07:00 committed by GitHub
parent 1b707cbc5c
commit 701dac0247
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 21 deletions

View file

@ -18,9 +18,8 @@ const DownloadPacket = () => {
},
downloadPacketInfo: {
id: 'downloadPacket.info.text',
defaultMessage: 'The package includes the draft list of prioritized communities (.csv and .xlsx) and'+
' information about how to use the list (.pdf). This information should not be used' +
' to make program resource allocation decisions.',
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.',
description: 'download packet info text',
},
downloadPacketButtonText: {

View file

@ -1,7 +1,6 @@
declare namespace CejstModuleScssNamespace {
export interface ICejstModuleScss {
explorePageHeader;
explorePageSubHeader: string;
explorePageHeaderText: string;
}
}

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,19 +25,10 @@ const IndexPage = ({location}: MethodPageProps) => {
},
methodologyPagep1: {
id: 'methodology.page.paragraph.first',
defaultMessage: 'The cumulative index score is a metric that is intended to assist Federal agencies'+
' in identifying disadvantaged communities for the purposes of the Justice 40'+
' Initiative. The score methodology and included data sets are currently in beta and'+
' may change over time.',
defaultMessage: 'The methodology for determining disadvantaged communities for the purposes of '+
' the Justice40 Initiative is currently in progress.',
description: 'methodology page paragraph 1',
},
methodologyPagep2: {
id: 'methodology.page.paragraph.second',
defaultMessage: 'Learn about the datasets used in the cumulative score and read about'+
' how the score is calculated. Download the list of prioritized communities along with the datasets'+
' used in the score.',
description: 'methodology page paragraph 2',
},
});
return (
@ -55,9 +46,6 @@ const IndexPage = ({location}: MethodPageProps) => {
<p>
{intl.formatMessage(messages.methodologyPagep1)}
</p>
<p>
{intl.formatMessage(messages.methodologyPagep2)}
</p>
</section>
</Grid>
<Grid col={12} tablet={{col: 6}}>
@ -66,6 +54,7 @@ const IndexPage = ({location}: MethodPageProps) => {
</Grid>
</J40MainGridContainer>
{/* // Temporarily removed while the app is demo'd to stakeholders
<J40MainGridContainer fullWidth={true}>
<Grid row>
<Grid col>
@ -80,7 +69,7 @@ const IndexPage = ({location}: MethodPageProps) => {
<ScoreStepsList/>
</Grid>
</Grid>
</J40MainGridContainer>
</J40MainGridContainer> */}
</Layout>
);
};