From 701dac02474a217c34d530e40314dd349156d517 Mon Sep 17 00:00:00 2001 From: Vim <86254807+vim-usds@users.noreply.github.com> Date: Fri, 10 Sep 2021 07:12:47 -0700 Subject: [PATCH] Removes content methodology page (#649) * Revert "dockerize front end (#558)" This reverts commit 89c23faf7acb71e28d2bb3da4408e6346a0fea30. * comment out content from meth page * updates download packet text * updates copy --- .../src/components/DownloadPacket/index.tsx | 5 ++-- client/src/pages/cejst.module.scss.d.ts | 1 - client/src/pages/methodology.tsx | 23 +++++-------------- 3 files changed, 8 insertions(+), 21 deletions(-) diff --git a/client/src/components/DownloadPacket/index.tsx b/client/src/components/DownloadPacket/index.tsx index d7ea3b69..9d7d65dc 100644 --- a/client/src/components/DownloadPacket/index.tsx +++ b/client/src/components/DownloadPacket/index.tsx @@ -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: { diff --git a/client/src/pages/cejst.module.scss.d.ts b/client/src/pages/cejst.module.scss.d.ts index 417a9968..23f0657e 100644 --- a/client/src/pages/cejst.module.scss.d.ts +++ b/client/src/pages/cejst.module.scss.d.ts @@ -1,7 +1,6 @@ declare namespace CejstModuleScssNamespace { export interface ICejstModuleScss { explorePageHeader; - explorePageSubHeader: string; explorePageHeaderText: string; } } diff --git a/client/src/pages/methodology.tsx b/client/src/pages/methodology.tsx index de77d154..cd438146 100644 --- a/client/src/pages/methodology.tsx +++ b/client/src/pages/methodology.tsx @@ -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) => {
{intl.formatMessage(messages.methodologyPagep1)}
-- {intl.formatMessage(messages.methodologyPagep2)} -