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

View file

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

View file

@ -4,11 +4,11 @@ import {useIntl} from 'gatsby-plugin-intl';
import {defineMessages} from 'react-intl'; import {defineMessages} from 'react-intl';
import AlertWrapper from '../components/AlertWrapper'; import AlertWrapper from '../components/AlertWrapper';
import DatasetContainer from '../components/DatasetContainer'; // import DatasetContainer from '../components/DatasetContainer';
import DownloadPacket from '../components/DownloadPacket'; import DownloadPacket from '../components/DownloadPacket';
import J40MainGridContainer from '../components/J40MainGridContainer'; import J40MainGridContainer from '../components/J40MainGridContainer';
import Layout from '../components/layout'; import Layout from '../components/layout';
import ScoreStepsList from '../components/scoreStepsList'; // import ScoreStepsList from '../components/scoreStepsList';
interface MethodPageProps { interface MethodPageProps {
location: Location; location: Location;
@ -25,19 +25,10 @@ const IndexPage = ({location}: MethodPageProps) => {
}, },
methodologyPagep1: { methodologyPagep1: {
id: 'methodology.page.paragraph.first', id: 'methodology.page.paragraph.first',
defaultMessage: 'The cumulative index score is a metric that is intended to assist Federal agencies'+ defaultMessage: 'The methodology for determining disadvantaged communities for the purposes of '+
' in identifying disadvantaged communities for the purposes of the Justice 40'+ ' the Justice40 Initiative is currently in progress.',
' Initiative. The score methodology and included data sets are currently in beta and'+
' may change over time.',
description: 'methodology page paragraph 1', 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 ( return (
@ -55,9 +46,6 @@ const IndexPage = ({location}: MethodPageProps) => {
<p> <p>
{intl.formatMessage(messages.methodologyPagep1)} {intl.formatMessage(messages.methodologyPagep1)}
</p> </p>
<p>
{intl.formatMessage(messages.methodologyPagep2)}
</p>
</section> </section>
</Grid> </Grid>
<Grid col={12} tablet={{col: 6}}> <Grid col={12} tablet={{col: 6}}>
@ -66,6 +54,7 @@ const IndexPage = ({location}: MethodPageProps) => {
</Grid> </Grid>
</J40MainGridContainer> </J40MainGridContainer>
{/* // Temporarily removed while the app is demo'd to stakeholders
<J40MainGridContainer fullWidth={true}> <J40MainGridContainer fullWidth={true}>
<Grid row> <Grid row>
<Grid col> <Grid col>
@ -80,7 +69,7 @@ const IndexPage = ({location}: MethodPageProps) => {
<ScoreStepsList/> <ScoreStepsList/>
</Grid> </Grid>
</Grid> </Grid>
</J40MainGridContainer> </J40MainGridContainer> */}
</Layout> </Layout>
); );
}; };