Make priority copy updates

This commit is contained in:
Ryon Coleman 2024-12-11 13:48:11 -05:00 committed by Carlos Felix
commit 048fec4886
27 changed files with 388 additions and 343 deletions

View file

@ -1,25 +0,0 @@
@use '../../styles/design-system.scss' as *;
.betaBannerContainer {
@include u-bg("gray-cool-2");
.betaBanner {
@include u-height(3);
max-width: 70.25rem; // Needs this exact value to align with GovBanner
@include u-font("body", "3xs");
@include u-margin-left(auto);
@include u-margin-right(auto);
@include u-padding-top(1);
padding-bottom: 1.75rem;
@include at-media-max("desktop") {
@include u-margin-left(2);
@include u-margin-right(0);
}
@include at-media-max("tablet-lg") {
@include u-height(6);
}
}
}

View file

@ -1,15 +0,0 @@
declare namespace BetaBannerNamespace {
export interface IBetaBannerScss {
betaBannerContainer: string;
betaBanner:string;
betaPillIcon:string;
betaHeading: string;
}
}
declare const BetaBannerScssModule: BetaBannerNamespace.IBetaBannerScss & {
/** WARNING: Only available when `css-loader` is used without `style-loader` or `mini-css-extract-plugin` */
locals: BetaBannerNamespace.IBetaBannerScss;
};
export = BetaBannerScssModule;

View file

@ -1,16 +0,0 @@
import * as React from 'react';
import {render} from '@testing-library/react';
import {LocalizedComponent} from '../../test/testHelpers';
import BetaBanner from './BetaBanner';
describe('rendering of the BetaBanner', () => {
const {asFragment} = render(
<LocalizedComponent>
<BetaBanner />
</LocalizedComponent>,
);
it('checks if component renders', () => {
expect(asFragment()).toMatchSnapshot();
});
});

View file

@ -1,16 +0,0 @@
import React from 'react';
import * as COMMON_COPY from '../../data/copy/common';
import * as styles from './BetaBanner.module.scss';
const BetaBanner = () => {
return (
<div className={styles.betaBannerContainer}>
<div className={styles.betaBanner}>
{COMMON_COPY.BETA_BANNER_CONTENT}
</div>
</div>
);
};
export default BetaBanner;

View file

@ -1,14 +0,0 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`rendering of the BetaBanner checks if component renders 1`] = `
<DocumentFragment>
<div>
<div>
<strong>
This tool has been updated.
</strong>
The 1.0 version of the tool was released on Nov 22, 2022.
</div>
</div>
</DocumentFragment>
`;

View file

@ -1,3 +0,0 @@
import BetaBanner from './BetaBanner';
export default BetaBanner;

View file

@ -1,8 +1,7 @@
import React from 'react';
import {GovBanner} from '@trussworks/react-uswds';
import {useIntl} from 'gatsby-plugin-intl';
import React from 'react';
import Language from '../Language';
import * as styles from './GovernmentBanner.module.scss';
@ -14,7 +13,6 @@ const GovernmentBanner = () => {
<div className={styles.bannerContainer}>
<GovBanner language={intl.locale === 'es' ? 'spanish' : 'english'}/>
<Language isDesktop={true}/>
</div>
</div>

View file

@ -135,24 +135,6 @@ exports[`rendering of the GovernmentBanner checks if component renders 1`] = `
</div>
</div>
</section>
<div>
<img
alt="language icon for selecting language"
src="test-file-stub"
/>
<a
class="usa-link"
href="#"
>
English
</a>
<a
class="usa-link"
href="#"
>
Español
</a>
</div>
</div>
</div>
</DocumentFragment>

View file

@ -1,25 +1,25 @@
import React, {useEffect, useState} from 'react';
import {Link, useIntl} from 'gatsby-plugin-intl';
import {
Grid,
// Alert,
Header,
Menu,
NavDropDownButton,
NavMenuButton,
PrimaryNav,
Grid,
NavDropDownButton,
Menu,
} from '@trussworks/react-uswds';
import BetaBanner from '../BetaBanner';
import J40MainGridContainer from '../J40MainGridContainer';
import GovernmentBanner from '../GovernmentBanner';
import Language from '../Language';
import {Link, useIntl} from 'gatsby-plugin-intl';
import React, {useEffect, useState} from 'react';
import {useWindowSize} from 'react-use';
import GovernmentBanner from '../GovernmentBanner';
import J40MainGridContainer from '../J40MainGridContainer';
import Language from '../Language';
// @ts-ignore
import siteLogo from '../../images/j40-logo-v2.png';
import * as styles from './J40Header.module.scss';
import * as COMMON_COPY from '../../data/copy/common';
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../../data/constants';
import * as COMMON_COPY from '../../data/copy/common';
import siteLogo from '../../images/j40-logo-v2.png';
import UpdateBanner from '../UpdateBanner';
import * as styles from './J40Header.module.scss';
interface IJ40Header {
@ -247,7 +247,7 @@ const J40Header = ({location}:IJ40Header) => {
{/* Banners */}
<GovernmentBanner />
<BetaBanner/>
<UpdateBanner/>
{/* Logo and Navigation */}
<J40MainGridContainer>

View file

@ -140,32 +140,27 @@ exports[`rendering of the J40Header checks if component renders 1`] = `
</div>
</div>
</section>
<div>
<img
alt="language icon for selecting language"
src="test-file-stub"
/>
<a
class="usa-link"
href="#"
>
English
</a>
<a
class="usa-link"
href="#"
>
Español
</a>
</div>
</div>
</div>
<div>
<div>
<strong>
This tool has been updated.
</strong>
The 1.0 version of the tool was released on Nov 22, 2022.
<div
class="usa-alert usa-alert--info"
data-testid="alert"
>
<div
class="usa-alert__body"
>
<h1
class="usa-alert__heading"
>
Version 2.0 of the tool is now available
</h1>
<p
class="usa-alert__text"
>
The Council on Environmental Quality (CEQ) made the 2.0 version of the tool available on Dec 19, 2024.
</p>
</div>
</div>
</div>
<div

View file

@ -26,7 +26,7 @@ exports[`rendering of ReleaseUpdate Component checks if component renders 1`] =
>
<div>
<div>
Version 2.0 Release update - Nov 22, 2022
Version 2.0 Release update - Dec 19, 2024
</div>
<div>
New & improved

View file

@ -0,0 +1,29 @@
@use '../../styles/design-system.scss' as *;
.updateBannerContainer {
@include u-bg("gray-cool-2");
@include u-padding-bottom(1);
@include u-padding-top(1);
}
.updateBanner {
max-width: 70.25rem; // Needs this exact value to align with GovBanner
@include u-font("body", "3xs");
@include u-line-height('ui', 2);
@include u-margin-left(auto);
@include u-margin-right(auto);
@include at-media-max("desktop-lg") {
@include u-margin-left(4);
@include u-margin-right(4);
}
@include at-media-max("desktop") {
@include u-margin-left(2);
@include u-margin-right(2);
}
}
.updateBannerAlert {
@include u-margin-top(2);
}

View file

@ -0,0 +1,16 @@
declare namespace UpdateBannerNamespace {
export interface IUpdateBannerScss {
updateBannerAlert: string;
updateBannerContainer: string;
updateBanner: string;
updatePillIcon: string;
updateHeading: string;
}
}
declare const UpdateBannerScssModule: UpdateBannerNamespace.IUpdateBannerScss & {
/** WARNING: Only available when `css-loader` is used without `style-loader` or `mini-css-extract-plugin` */
locals: UpdateBannerNamespace.IUpdateBannerScss;
};
export = UpdateBannerScssModule;

View file

@ -0,0 +1,31 @@
import {render} from '@testing-library/react';
import * as React from 'react';
import {LocalizedComponent} from '../../test/testHelpers';
import UpdateBanner, {cutoffDate} from './UpdateBanner';
describe('rendering of the UpdateBanner', () => {
const renderBanner = (mockCurrentDate: Date) => {
// make this testable at different dates so we can check large/small versions
jest.useFakeTimers()
.setSystemTime(mockCurrentDate);
const result = render(
<LocalizedComponent>
<UpdateBanner />
</LocalizedComponent>,
).asFragment();
jest.useRealTimers();
return result;
};
it('renders large version before cutoff date', () => {
const beforeCutoff = new Date(cutoffDate);
beforeCutoff.setDate(beforeCutoff.getDate() - 7);
expect(renderBanner(beforeCutoff)).toMatchSnapshot();
});
it('renders small version at cutoff date', () => {
expect(renderBanner(cutoffDate)).toMatchSnapshot();
});
});

View file

@ -0,0 +1,35 @@
import React from 'react';
import {Alert} from '@trussworks/react-uswds';
import * as COMMON_COPY from '../../data/copy/common';
import * as styles from './UpdateBanner.module.scss';
export const cutoffDate = new Date(2025, 0, 19); // 2025-01-19
const UpdateBanner = () => {
const currentDate = new Date();
// show large version before cutoff date
const showLarge = currentDate < cutoffDate;
if (showLarge) {
return (
<div className={styles.updateBanner}>
<Alert type={'info'} headingLevel={'h1'} heading={COMMON_COPY.UPDATE_BANNER_HEADING_LARGE}
className={styles.updateBannerAlert}>
{COMMON_COPY.UPDATE_BANNER_CONTENT_LARGE}
</Alert>
</div>
);
} else {
return (
<div className={styles.updateBannerContainer}>
<div className={styles.updateBanner}>
{COMMON_COPY.UPDATE_BANNER_CONTENT_SMALL}
</div>
</div>
);
}
};
export default UpdateBanner;

View file

@ -0,0 +1,40 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`rendering of the UpdateBanner renders large version before cutoff date 1`] = `
<DocumentFragment>
<div>
<div
class="usa-alert usa-alert--info"
data-testid="alert"
>
<div
class="usa-alert__body"
>
<h1
class="usa-alert__heading"
>
Version 2.0 of the tool is now available
</h1>
<p
class="usa-alert__text"
>
The Council on Environmental Quality (CEQ) made the 2.0 version of the tool available on Dec 19, 2024.
</p>
</div>
</div>
</div>
</DocumentFragment>
`;
exports[`rendering of the UpdateBanner renders small version at cutoff date 1`] = `
<DocumentFragment>
<div>
<div>
<strong>
This tool has been updated.
</strong>
The 2.0 version of the tool was released on Dec 19, 2024.
</div>
</div>
</DocumentFragment>
`;

View file

@ -0,0 +1,3 @@
import UpdateBanner from './UpdateBanner';
export default UpdateBanner;

View file

@ -1,10 +1,10 @@
/* eslint-disable max-len */
/* eslint-disable react/display-name */
import React from 'react';
import {FormattedDate, FormattedMessage} from 'gatsby-plugin-intl';
import React from 'react';
import {defineMessages} from 'react-intl';
import LinkTypeWrapper from '../../components/LinkTypeWrapper';
import DownloadLink from '../../components/DownloadLink';
import LinkTypeWrapper from '../../components/LinkTypeWrapper';
import {GITHUB_LINK} from '../../constants';
export interface IDefineMessage {
@ -29,17 +29,37 @@ export const linkFn = (to:string | IDefineMessage, isInternal:boolean, isOpenNew
export const FEEDBACK_EMAIL = 'Screeningtool-Support@omb.eop.gov';
export const METH_2_0_RELEASE_DATE = new Date(2022, 10, 22, 11, 59, 59); // Nov 22 2022
export const METH_BETA_RELEASE_DATE = new Date(2022, 1, 18, 11, 59, 59); // Feb 18 2022
export const METH_1_0_RELEASE_DATE = new Date(2022, 10, 22, 11, 59, 59); // Nov 22 2022
export const METH_2_0_RELEASE_DATE = new Date(2024, 11, 19, 11, 59, 59); // Dec 19 2024
// Beta Banner
export const BETA_BANNER_CONTENT = <FormattedMessage
id={'common.pages.alerts.banner.beta.content'}
defaultMessage={`<bold1>This tool has been updated.</bold1> The 1.0 version of the tool was released on {relDate}.`}
description={`Alert body that appears on landing page.`}
// Update Banner
export const UPDATE_BANNER_HEADING_LARGE = <FormattedMessage
id={'common.pages.alerts.banner.update.heading.large'}
defaultMessage={'Version 2.0 of the tool is now available'}
description={'Alert heading that appears at the top of pages'}
/>;
export const UPDATE_BANNER_CONTENT_LARGE = <FormattedMessage
id={'common.pages.alerts.banner.update.content.large'}
defaultMessage={`The Council on Environmental Quality (CEQ) made the 2.0 version of the tool available on {releaseDate}.`}
description={`Alert body that appears at the top of pages.`}
values={{
bold1: boldFn,
releaseDate: <FormattedDate
value={METH_2_0_RELEASE_DATE}
year="numeric"
month="short"
day="numeric"
/>,
}}
/>;
export const UPDATE_BANNER_CONTENT_SMALL = <FormattedMessage
id={'common.pages.alerts.banner.update.content.small'}
defaultMessage={`<bold>This tool has been updated.</bold> The 2.0 version of the tool was released on {relDate}.`}
description={`Alert body that appears at the top of pages.`}
values={{
bold: boldFn,
relDate: <FormattedDate
value={METH_2_0_RELEASE_DATE}
year="numeric"
@ -53,7 +73,7 @@ export const TSD = defineMessages({
URL: {
id: 'common.pages.tsd.url',
defaultMessage: `https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf`,
description: 'Navigate to the Alerts on any page. This will be the link to the techinical support document.',
description: 'Navigate to the Alerts on any page. This will be the link to the technical support document.',
},
});

View file

@ -1,14 +1,15 @@
/* eslint-disable max-len */
import {defineMessages, FormattedDate, FormattedMessage} from 'gatsby-plugin-intl';
import React from 'react';
import {defineMessages, FormattedMessage} from 'gatsby-plugin-intl';
import LinkTypeWrapper from '../../components/LinkTypeWrapper';
import {EJSCREEN, EXEC_ORDER_LINK, FED_RECOGNIZED_INDIAN_ENTITIES, CEJST_INSTRUCT, CEJST_MEMO, CEJST_INSTRUCT_ES, CEJST_MEMO_ES} from './about';
import {boldFn, linkFn, FEEDBACK_EMAIL} from './common';
import {PAGES_ENDPOINTS, DATA_SURVEY_LINKS, SITE_SATISFACTION_SURVEY_LINKS} from '../constants';
import {EXPLORE_PAGE_LINKS} from './explore';
import {DATA_SURVEY_LINKS, PAGES_ENDPOINTS, SITE_SATISFACTION_SURVEY_LINKS} from '../constants';
import {CEJST_INSTRUCT, CEJST_INSTRUCT_ES, CEJST_MEMO, CEJST_MEMO_ES, EJSCREEN, EXEC_ORDER_LINK, FED_RECOGNIZED_INDIAN_ENTITIES} from './about';
import {boldFn, FEEDBACK_EMAIL, linkFn, METH_2_0_RELEASE_DATE} from './common';
import {DOWNLOAD_FILES} from './downloads';
import {EXPLORE_PAGE_LINKS} from './explore';
import {VERSION_NUMBER} from './methodology';
export const PAGE_INTRO = defineMessages({
PAGE_TILE: {
@ -345,8 +346,11 @@ export const FAQ_ANSWERS = {
/>,
Q4_P1: <FormattedMessage
id={ 'faqs.page.answers.Q4_P1'}
defaultMessage={ 'Yes, the version 1.0 of the CEJST has some data for all the territories but not all the CEJST data are available or used for all U.S. territories. '}
defaultMessage={ 'Yes, version {currentVersion} of the CEJST has some data for all the territories, but not all the CEJST data are available or used for all U.S. territories.'}
description={ 'Navigate to the FAQs page, this will be an answer, Q4_P1'}
values={{
currentVersion: VERSION_NUMBER,
}}
/>,
Q4_P2: <FormattedMessage
id={ 'faqs.page.answers.Q4_P2'}
@ -472,7 +476,7 @@ export const FAQ_ANSWERS = {
/>,
Q10: <FormattedMessage
id={ 'faqs.page.answers.Q10'}
defaultMessage={ `Recent historic legislation, such as the Bipartisan Infrastructure Law and the Inflation Reduction Act, have created new programs or directed funds to existing programs. These investments are included in the Justice40 Initiative if they meet the eligibility criteria. Agencies will use the tool to help identify disadvantaged communities that will receive 40% of the overall benefits of those Justice40 programs.`}
defaultMessage={ `Historic legislation, such as the Bipartisan Infrastructure Law and the Inflation Reduction Act, has created new programs and directed funds to existing ones. These investments are included in the Justice40 Initiative if they meet the eligibility criteria. Agencies will use the tool to help identify disadvantaged communities that will receive 40% of the overall benefits of those Justice40 programs.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q10'}
// values={{
// link1: linkFn(`https://www.whitehouse.gov/wp-content/uploads/2021/07/M-21-28.pdf`, false, true),
@ -480,8 +484,11 @@ export const FAQ_ANSWERS = {
/>,
Q11: <FormattedMessage
id={ 'faqs.page.answers.Q11'}
defaultMessage={ `The Council on Environmental Quality (CEQ), the Office of Management and Budget (OMB), and the Climate Policy Office (CPO) released the Justice40 Interim Implementation Guidance on July 20, 2021. It directed agencies to develop interim definitions of disadvantaged communities. Agencies used their interim definitions during the tools beta phase. Agencies will now transition to using version 1.0 of the tool to geographically identify disadvantaged communities.`}
defaultMessage={ `The Council on Environmental Quality (CEQ), the Office of Management and Budget (OMB), and the Climate Policy Office (CPO) released the Justice40 Interim Implementation Guidance on July 20, 2021. It directed agencies to develop interim definitions of disadvantaged communities. Agencies used their interim definitions during the CEJSTs beta phase, and are now using version {currentVersion} as the primary tool to geographically identify disadvantaged communities.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q11'}
values={{
currentVersion: VERSION_NUMBER,
}}
/>,
Q12_P1: <FormattedMessage
id={ 'faqs.page.answers.Q12_P1'}
@ -616,10 +623,15 @@ export const FAQ_ANSWERS = {
/>,
Q17_P1: <FormattedMessage
id={ 'faqs.page.answers.Q17_P1'}
defaultMessage={ `The tool is now considered official because Federal agencies can now use version 1.0 of the Climate and Economic Justice Screening Tool (CEJST) to help identify disadvantaged communities. The 1.0 version was released in <link1>November, 2022</link1>. The tool is no longer in beta.`}
defaultMessage={`The tool was considered official when Federal agencies started using version 1.0 of the Climate and Economic Justice Screening Tool (CEJST) to help identify disadvantaged communities. The 1.0 version was released in <link1>November 2022</link1>. The current version, version {currentVersion}, was released in {currentVersionRelease}.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q17_P1'}
values={{
link1: linkFn('https://www.whitehouse.gov/ceq/news-updates/2022/11/22/biden-harris-administration-launches-version-1-0-of-climate-and-economic-justice-screening-tool-key-step-in-implementing-president-bidens-justice40-initiative/', false, true),
currentVersion: VERSION_NUMBER,
currentVersionRelease: (<FormattedDate value={METH_2_0_RELEASE_DATE}
year="numeric"
month="long"
/>),
}}
/>,
Q17_P2: <FormattedMessage

View file

@ -127,9 +127,17 @@
"defaultMessage": "Download new <link1>technical support</link1> and other documentation and <link2>send feedback</link2>.",
"description": "Alert title that appears at the top of pages."
},
"common.pages.alerts.banner.beta.content": {
"defaultMessage": "<bold1>This tool has been updated.</bold1> The 1.0 version of the tool was released on {relDate}.",
"description": "Alert body that appears on landing page."
"common.pages.alerts.banner.update.content.large": {
"defaultMessage": "The Council on Environmental Quality (CEQ) made the 2.0 version of the tool available on {releaseDate}.",
"description": "Alert body that appears at the top of pages."
},
"common.pages.alerts.banner.update.content.small": {
"defaultMessage": "<bold>This tool has been updated.</bold> The 2.0 version of the tool was released on {relDate}.",
"description": "Alert body that appears at the top of pages."
},
"common.pages.alerts.banner.update.heading.large": {
"defaultMessage": "Version 2.0 of the tool is now available",
"description": "Alert heading that appears at the top of pages"
},
"common.pages.alerts.census.tract.title": {
"defaultMessage": "Additional documentation now available",
@ -256,7 +264,7 @@
},
"common.pages.tsd.url": {
"defaultMessage": "https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf",
"description": "Navigate to the Alerts on any page. This will be the link to the techinical support document."
"description": "Navigate to the Alerts on any page. This will be the link to the technical support document."
},
"contact.page.census.tract.feedback.para3": {
"defaultMessage": "The best way to contact the Council on Environmental Quality (CEQ) is by filling out <link1>this form</link1>.",
@ -1591,11 +1599,11 @@
"description": "Navigate to the FAQs page, this will be Q9"
},
"faqs.page.answers.Q10": {
"defaultMessage": "Recent historic legislation, such as the Bipartisan Infrastructure Law and the Inflation Reduction Act, have created new programs or directed funds to existing programs. These investments are included in the Justice40 Initiative if they meet the eligibility criteria. Agencies will use the tool to help identify disadvantaged communities that will receive 40% of the overall benefits of those Justice40 programs.",
"defaultMessage": "Historic legislation, such as the Bipartisan Infrastructure Law and the Inflation Reduction Act, has created new programs and directed funds to existing ones. These investments are included in the Justice40 Initiative if they meet the eligibility criteria. Agencies will use the tool to help identify disadvantaged communities that will receive 40% of the overall benefits of those Justice40 programs.",
"description": "Navigate to the FAQs page, this will be an answer, Q10"
},
"faqs.page.answers.Q11": {
"defaultMessage": "The Council on Environmental Quality (CEQ), the Office of Management and Budget (OMB), and the Climate Policy Office (CPO) released the Justice40 Interim Implementation Guidance on July 20, 2021. It directed agencies to develop interim definitions of disadvantaged communities. Agencies used their interim definitions during the tools beta phase. Agencies will now transition to using version 1.0 of the tool to geographically identify disadvantaged communities.",
"defaultMessage": "The Council on Environmental Quality (CEQ), the Office of Management and Budget (OMB), and the Climate Policy Office (CPO) released the Justice40 Interim Implementation Guidance on July 20, 2021. It directed agencies to develop interim definitions of disadvantaged communities. Agencies used their interim definitions during the CEJSTs beta phase, and are now using version {currentVersion} as the primary tool to geographically identify disadvantaged communities.",
"description": "Navigate to the FAQs page, this will be an answer, Q11"
},
"faqs.page.answers.Q12_P1": {
@ -1683,7 +1691,7 @@
"description": "Navigate to the FAQs page, this will be an answer, Q16"
},
"faqs.page.answers.Q17_P1": {
"defaultMessage": "The tool is now considered official because Federal agencies can now use version 1.0 of the Climate and Economic Justice Screening Tool (CEJST) to help identify disadvantaged communities. The 1.0 version was released in <link1>November, 2022</link1>. The tool is no longer in beta.",
"defaultMessage": "The tool was considered official when Federal agencies started using version 1.0 of the Climate and Economic Justice Screening Tool (CEJST) to help identify disadvantaged communities. The 1.0 version was released in <link1>November 2022</link1>. The current version, version {currentVersion}, was released in {currentVersionRelease}.",
"description": "Navigate to the FAQs page, this will be an answer, Q17_P1"
},
"faqs.page.answers.Q17_P2": {
@ -1767,7 +1775,7 @@
"description": "Navigate to the FAQs page, this will be an answer, Q3_P3"
},
"faqs.page.answers.Q4_P1": {
"defaultMessage": "Yes, the version 1.0 of the CEJST has some data for all the territories but not all the CEJST data are available or used for all U.S. territories.",
"defaultMessage": "Yes, version {currentVersion} of the CEJST has some data for all the territories, but not all the CEJST data are available or used for all U.S. territories.",
"description": "Navigate to the FAQs page, this will be an answer, Q4_P1"
},
"faqs.page.answers.Q4_P2": {

View file

@ -140,32 +140,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</div>
</div>
</section>
<div>
<img
alt="language icon for selecting language"
src="test-file-stub"
/>
<a
class="usa-link"
href="#"
>
English
</a>
<a
class="usa-link"
href="#"
>
Español
</a>
</div>
</div>
</div>
<div>
<div>
<strong>
This tool has been updated.
</strong>
The 1.0 version of the tool was released on Nov 22, 2022.
<div
class="usa-alert usa-alert--info"
data-testid="alert"
>
<div
class="usa-alert__body"
>
<h1
class="usa-alert__heading"
>
Version 2.0 of the tool is now available
</h1>
<p
class="usa-alert__text"
>
The Council on Environmental Quality (CEQ) made the 2.0 version of the tool available on Dec 19, 2024.
</p>
</div>
</div>
</div>
<div

View file

@ -140,32 +140,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</div>
</div>
</section>
<div>
<img
alt="language icon for selecting language"
src="test-file-stub"
/>
<a
class="usa-link"
href="#"
>
English
</a>
<a
class="usa-link"
href="#"
>
Español
</a>
</div>
</div>
</div>
<div>
<div>
<strong>
This tool has been updated.
</strong>
The 1.0 version of the tool was released on Nov 22, 2022.
<div
class="usa-alert usa-alert--info"
data-testid="alert"
>
<div
class="usa-alert__body"
>
<h1
class="usa-alert__heading"
>
Version 2.0 of the tool is now available
</h1>
<p
class="usa-alert__text"
>
The Council on Environmental Quality (CEQ) made the 2.0 version of the tool available on Dec 19, 2024.
</p>
</div>
</div>
</div>
<div

View file

@ -140,32 +140,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</div>
</div>
</section>
<div>
<img
alt="language icon for selecting language"
src="test-file-stub"
/>
<a
class="usa-link"
href="#"
>
English
</a>
<a
class="usa-link"
href="#"
>
Español
</a>
</div>
</div>
</div>
<div>
<div>
<strong>
This tool has been updated.
</strong>
The 1.0 version of the tool was released on Nov 22, 2022.
<div
class="usa-alert usa-alert--info"
data-testid="alert"
>
<div
class="usa-alert__body"
>
<h1
class="usa-alert__heading"
>
Version 2.0 of the tool is now available
</h1>
<p
class="usa-alert__text"
>
The Council on Environmental Quality (CEQ) made the 2.0 version of the tool available on Dec 19, 2024.
</p>
</div>
</div>
</div>
<div
@ -458,7 +453,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
<div>
<div>
Version 2.0 Release update - Nov 22, 2022
Version 2.0 Release update - Dec 19, 2024
</div>
<div>
New & improved

View file

@ -140,32 +140,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</div>
</div>
</section>
<div>
<img
alt="language icon for selecting language"
src="test-file-stub"
/>
<a
class="usa-link"
href="#"
>
English
</a>
<a
class="usa-link"
href="#"
>
Español
</a>
</div>
</div>
</div>
<div>
<div>
<strong>
This tool has been updated.
</strong>
The 1.0 version of the tool was released on Nov 22, 2022.
<div
class="usa-alert usa-alert--info"
data-testid="alert"
>
<div
class="usa-alert__body"
>
<h1
class="usa-alert__heading"
>
Version 2.0 of the tool is now available
</h1>
<p
class="usa-alert__text"
>
The Council on Environmental Quality (CEQ) made the 2.0 version of the tool available on Dec 19, 2024.
</p>
</div>
</div>
</div>
<div
@ -611,7 +606,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="faq-id-3"
>
<p>
Yes, the version 1.0 of the CEJST has some data for all the territories but not all the CEJST data are available or used for all U.S. territories.
Yes, version 2.0 of the CEJST has some data for all the territories, but not all the CEJST data are available or used for all U.S. territories.
</p>
<p>
<strong>
@ -874,7 +869,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="faq-id-9"
>
<p>
Recent historic legislation, such as the Bipartisan Infrastructure Law and the Inflation Reduction Act, have created new programs or directed funds to existing programs. These investments are included in the Justice40 Initiative if they meet the eligibility criteria. Agencies will use the tool to help identify disadvantaged communities that will receive 40% of the overall benefits of those Justice40 programs.
Historic legislation, such as the Bipartisan Infrastructure Law and the Inflation Reduction Act, has created new programs and directed funds to existing ones. These investments are included in the Justice40 Initiative if they meet the eligibility criteria. Agencies will use the tool to help identify disadvantaged communities that will receive 40% of the overall benefits of those Justice40 programs.
</p>
</div>
<h2
@ -897,7 +892,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="faq-id-10"
>
<p>
The Council on Environmental Quality (CEQ), the Office of Management and Budget (OMB), and the Climate Policy Office (CPO) released the Justice40 Interim Implementation Guidance on July 20, 2021. It directed agencies to develop interim definitions of disadvantaged communities. Agencies used their interim definitions during the tools beta phase. Agencies will now transition to using version 1.0 of the tool to geographically identify disadvantaged communities.
The Council on Environmental Quality (CEQ), the Office of Management and Budget (OMB), and the Climate Policy Office (CPO) released the Justice40 Interim Implementation Guidance on July 20, 2021. It directed agencies to develop interim definitions of disadvantaged communities. Agencies used their interim definitions during the CEJSTs beta phase, and are now using version 2.0 as the primary tool to geographically identify disadvantaged communities.
</p>
</div>
<h2
@ -1167,7 +1162,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="faq-id-16"
>
<p>
The tool is now considered official because Federal agencies can now use version 1.0 of the Climate and Economic Justice Screening Tool (CEJST) to help identify disadvantaged communities. The 1.0 version was released in
The tool was considered official when Federal agencies started using version 1.0 of the Climate and Economic Justice Screening Tool (CEJST) to help identify disadvantaged communities. The 1.0 version was released in
<a
class="usa-link usa-link--external"
data-cy=""
@ -1175,9 +1170,9 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
rel="noreferrer"
target="_blank"
>
November, 2022
November 2022
</a>
. The tool is no longer in beta.
. The current version, version 2.0, was released in December 2024.
</p>
<p>
The tool will be improved over time. The Council on Environmental Quality (CEQ) will update the tool each year based on public feedback, research, and the availability of new data.

View file

@ -140,32 +140,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</div>
</div>
</section>
<div>
<img
alt="language icon for selecting language"
src="test-file-stub"
/>
<a
class="usa-link"
href="#"
>
English
</a>
<a
class="usa-link"
href="#"
>
Español
</a>
</div>
</div>
</div>
<div>
<div>
<strong>
This tool has been updated.
</strong>
The 1.0 version of the tool was released on Nov 22, 2022.
<div
class="usa-alert usa-alert--info"
data-testid="alert"
>
<div
class="usa-alert__body"
>
<h1
class="usa-alert__heading"
>
Version 2.0 of the tool is now available
</h1>
<p
class="usa-alert__text"
>
The Council on Environmental Quality (CEQ) made the 2.0 version of the tool available on Dec 19, 2024.
</p>
</div>
</div>
</div>
<div

View file

@ -140,32 +140,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</div>
</div>
</section>
<div>
<img
alt="language icon for selecting language"
src="test-file-stub"
/>
<a
class="usa-link"
href="#"
>
English
</a>
<a
class="usa-link"
href="#"
>
Español
</a>
</div>
</div>
</div>
<div>
<div>
<strong>
This tool has been updated.
</strong>
The 1.0 version of the tool was released on Nov 22, 2022.
<div
class="usa-alert usa-alert--info"
data-testid="alert"
>
<div
class="usa-alert__body"
>
<h1
class="usa-alert__heading"
>
Version 2.0 of the tool is now available
</h1>
<p
class="usa-alert__text"
>
The Council on Environmental Quality (CEQ) made the 2.0 version of the tool available on Dec 19, 2024.
</p>
</div>
</div>
</div>
<div

View file

@ -140,32 +140,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</div>
</div>
</section>
<div>
<img
alt="language icon for selecting language"
src="test-file-stub"
/>
<a
class="usa-link"
href="#"
>
English
</a>
<a
class="usa-link"
href="#"
>
Español
</a>
</div>
</div>
</div>
<div>
<div>
<strong>
This tool has been updated.
</strong>
The 1.0 version of the tool was released on Nov 22, 2022.
<div
class="usa-alert usa-alert--info"
data-testid="alert"
>
<div
class="usa-alert__body"
>
<h1
class="usa-alert__heading"
>
Version 2.0 of the tool is now available
</h1>
<p
class="usa-alert__text"
>
The Council on Environmental Quality (CEQ) made the 2.0 version of the tool available on Dec 19, 2024.
</p>
</div>
</div>
</div>
<div