mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-16 04:01:39 -07:00
Change primary alert message, expiration date, update intl and tests (#1584)
* Change primary alert message, expiration date, update intl and tests * Update Request for Info box on Contact page
This commit is contained in:
parent
ae725f0a3e
commit
0cdc44aaab
14 changed files with 367 additions and 47 deletions
|
@ -4,13 +4,16 @@ import {useIntl} from 'gatsby-plugin-intl';
|
|||
|
||||
import * as CONTACT_COPY from '../../data/copy/contact';
|
||||
import * as styles from './RequestForInfo.module.scss';
|
||||
import * as COMMON_COPY from '../../data/copy/common';
|
||||
|
||||
const RequestForInfo = () => {
|
||||
const intl = useIntl();
|
||||
const commentPeriodExpired = new Date < COMMON_COPY.ALERTS.EXPIRATION_DATE;
|
||||
|
||||
return (
|
||||
<SummaryBox className={styles.rfiBox} heading={intl.formatMessage(CONTACT_COPY.RFI_BOX.TITLE)}>
|
||||
{CONTACT_COPY.RFI_BOX_BODY}
|
||||
<p>{CONTACT_COPY.RFI_BOX_BODY}</p>
|
||||
<p>{commentPeriodExpired && COMMON_COPY.ALERTS.ALERT_1_DESCRIPTION}</p>
|
||||
</SummaryBox>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -17,17 +17,32 @@ exports[`rendering of the RequestForInfo checks if component renders 1`] = `
|
|||
<div
|
||||
class="usa-summary-box__text"
|
||||
>
|
||||
During the beta period, comments may be submitted on the Climate and Economic Justice Screening Tool via CEQ’s Request for Information available on
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://www.federalregister.gov/d/2022-03920"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
federalregister.gov
|
||||
</a>
|
||||
.
|
||||
<p>
|
||||
During the beta period, comments may be submitted on the Climate and Economic Justice Screening Tool via CEQ’s Request for Information available on
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://www.federalregister.gov/d/2022-03920"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
federalregister.gov
|
||||
</a>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
The public comment period for
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://www.federalregister.gov/documents/2022/04/25/2022-08774/climate-and-economic-justice-screening-tool-beta-version"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
sending feedback
|
||||
</a>
|
||||
has been extended to May 25, 2022.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue