Make latest copy changes from Living Copy (#1055)

* Make latest copy changes

- update snapshots

* Update cypress test on feedback link

- update snapshot

* Update side panel and copy

- update snapshots

* Make 2nd EO link open in new tab

* Add latest changes from Living copy

* Add back HS indicator to map

* Add "X of Y thresholds exceed" to side panel

- update snapshots

* Update with latest copy

* Update to latest copy

- make BETA pill in logo bold
- correct exceed to exceeded
- update snapshots
- update page title to Meth & data

* Update total indicators to 21

* Update snapshot
This commit is contained in:
Vim 2021-12-17 16:17:57 -05:00 committed by GitHub
commit 409c7238ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 518 additions and 358 deletions

View file

@ -9,10 +9,14 @@ $sidePanelLabelFontColor: #171716;
font-weight: 600;
}
@mixin thresholdExceeded {
font-size: medium;
@include u-margin-top('05');
}
.versionInfo {
padding: .5rem 1rem .5rem 1.2rem;
font-size: medium;
font-weight: bold;
border-bottom: 1px solid $sidePanelBorderColor;
}
@ -26,7 +30,7 @@ $sidePanelLabelFontColor: #171716;
display: flex;
flex-direction: column;
align-items: center;
padding-bottom: 2rem;
@include u-padding-bottom(3);
.isInFocus {
padding: .5rem 1rem .25rem 1.2rem;
@ -44,6 +48,17 @@ $sidePanelLabelFontColor: #171716;
}
}
.showThresholdExceed {
@include thresholdExceeded;
display: block;
}
.hideThresholdExceed {
@include thresholdExceeded;
visibility: hidden;
}
.feedbackLink {
font-size: small;
@include u-margin-top(1);
@ -67,13 +82,3 @@ $sidePanelLabelFontColor: #171716;
font-size: medium;
}
}
//Divider styles
.divider {
@include sidePanelLabelStyle;
display: flex;
justify-content: space-between;
padding: 0.5rem 0.5rem 0.5rem 1.2rem;
border-top: 1px solid $sidePanelBorderColor;
border-bottom: 1px solid $sidePanelBorderColor;
}

View file

@ -3,14 +3,14 @@ declare namespace MapModuleScssNamespace {
areaDetailContainer: string;
categorization:string;
communityOfFocus:string;
communityOfFocusCircle:string;
censusRow:string;
censusLabel:string;
censusText: string;
divider:string;
feedbackLink:string;
isInFocus:string;
versionInfo: string;
showThresholdExceed:string;
hideThresholdExceed:string;
}
}

View file

@ -1,7 +1,7 @@
/* eslint-disable quotes */
// External Libs:
import React from 'react';
import {useIntl} from 'gatsby-plugin-intl';
import {useIntl, FormattedMessage} from 'gatsby-plugin-intl';
import {Accordion} from '@trussworks/react-uswds';
// Components:
@ -234,14 +234,14 @@ const AreaDetail = ({properties}:IAreaDetailProps) => {
isDisadvagtaged: properties[constants.IS_GTE_90_BELOW_100_POVERTY_AND_LOW_HIGH_SCHOOL_EDU] ?
properties[constants.IS_GTE_90_BELOW_100_POVERTY_AND_LOW_HIGH_SCHOOL_EDU] : null,
};
// const highSchool:indicatorInfo = {
// label: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATORS.HIGH_SCL),
// description: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATOR_DESCRIPTION.HIGH_SKL),
// value: properties[constants.HIGH_SCHOOL_PROPERTY_PERCENTILE] ?
// properties[constants.HIGH_SCHOOL_PROPERTY_PERCENTILE] : null,
// isDisadvagtaged: properties[constants.IS_GTE_90_BELOW_100_POVERTY_AND_LOW_HIGH_SCHOOL_EDU] ?
// properties[constants.IS_GTE_90_BELOW_100_POVERTY_AND_LOW_HIGH_SCHOOL_EDU] : null,
// };
const highSchool:indicatorInfo = {
label: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATORS.HIGH_SCL),
description: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_INDICATOR_DESCRIPTION.HIGH_SKL),
value: properties[constants.HIGH_SCHOOL_PROPERTY_PERCENTILE] ?
properties[constants.HIGH_SCHOOL_PROPERTY_PERCENTILE] : null,
isDisadvagtaged: properties[constants.IS_GTE_90_UNEMPLOYMENT_AND_LOW_HIGH_SCHOOL_EDU] ?
properties[constants.IS_GTE_90_UNEMPLOYMENT_AND_LOW_HIGH_SCHOOL_EDU] : null,
};
// Aggregate indicators based on categories
const categories = [
@ -297,7 +297,7 @@ const AreaDetail = ({properties}:IAreaDetailProps) => {
{
id: 'work-dev',
titleText: intl.formatMessage(EXPLORE_COPY.SIDE_PANEL_CATEGORY.WORK_DEV),
indicators: [lowMedInc, lingIso, unemploy, poverty],
indicators: [lowMedInc, lingIso, unemploy, poverty, highSchool],
isDisadvagtaged: properties[constants.IS_WORKFORCE_FACTOR_DISADVANTAGED_L] ?
properties[constants.IS_WORKFORCE_FACTOR_DISADVANTAGED_L] : null,
},
@ -369,8 +369,22 @@ const AreaDetail = ({properties}:IAreaDetailProps) => {
<h3>{EXPLORE_COPY.COMMUNITY.NOT_OF_FOCUS}</h3>
}
</div>
<div className={
properties[constants.TOTAL_NUMBER_OF_DISADVANTAGE_INDICATORS] > 0 ?
styles.showThresholdExceed : styles.hideThresholdExceed
}>
<FormattedMessage
id={'explore.page.threshold.count.exceed'}
description={"threshold exceeded count"}
defaultMessage={'{disadvCount} of {totalCount} thresholds exceeded'}
values={{
disadvCount: properties[constants.TOTAL_NUMBER_OF_DISADVANTAGE_INDICATORS],
totalCount: constants.TOTAL_NUMBER_OF_INDICATORS,
}}/>
</div>
{/* eslint-disable-next-line max-len */}
{/* <a className={styles.feedbackLink} href={sidePanelFeedbackHref}>{EXPLORE_COPY.COMMUNITY.SEND_FEEDBACK}</a> */}
</div>
{/* All category accordions in this component */}

View file

@ -52,6 +52,9 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
</h3>
<div />
</div>
<div>
of 21 thresholds exceeded
</div>
</div>
<div
aria-multiselectable="true"
@ -127,7 +130,9 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
<div>
Expected population loss rate
<div>
Economic loss rate to the population in fatalities and injuries resulting from natural hazards
Rate relative to the population in fatalities and injuries resulting from natural hazards each year
</div>
</div>
<div>
@ -171,7 +176,7 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
>
<div>
<div>
Clean, efficient energy
Clean energy and energy efficiency
</div>
<div
class=""
@ -192,7 +197,7 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
<div>
Energy cost burden
<div>
Energy costs divided by household income
Average annual energy costs divided by household income
</div>
</div>
<div>
@ -208,7 +213,7 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
>
<div>
<div>
PM2.5
PM2.5 in the air
<div>
Fine inhalable particles, 2.5 micrometers and smaller
</div>
@ -273,7 +278,7 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
>
<div>
<div>
Diesel particulate matter
Diesel particulate matter exposure
<div>
Diesel exhaust in the air
</div>
@ -291,7 +296,7 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
>
<div>
<div>
Traffic
Traffic proximity and volume
<div>
Count of vehicles at major roads within 500 meters
</div>
@ -378,7 +383,7 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
<div>
Lead paint
<div>
Pre-1960 housing
Percent of pre-1960 housing with a median home value is at or below 90th
</div>
</div>
<div>
@ -477,7 +482,7 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
>
<div>
<div>
Proximity to RMP sites
Proximity to RMP facilities
<div>
Risk Management Plan facilities within 5 km
</div>
@ -523,7 +528,7 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
>
<div>
<div>
Clean water and waste
Clean water and waste infrastructure
</div>
<div
class=""
@ -609,7 +614,7 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
<div>
Asthma
<div>
Number of people who have been told they have asthma
Weighted percent of people who have been told they have asthma
</div>
</div>
<div>
@ -627,7 +632,10 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
<div>
Diabetes
<div>
People ages 18 years and older who have diabetes other than diabetes during pregnancy
Weighted percent of people ages 18 years and older who have diabetes other than
diabetes during pregnancy
</div>
</div>
<div>
@ -645,7 +653,9 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
<div>
Heart disease
<div>
People ages 18 years and older who have been told they have heart disease
Weighted percent of people ages 18 years and older who have been told they have heart disease
</div>
</div>
<div>
@ -746,8 +756,9 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
<div>
Linguistic isolation
<div>
Households in which no one age 14 and over speaks English only or also speaks
a language other than English
Percent of limited speaking households, which are households where no one over age 14 speaks English well
</div>
</div>
<div>
@ -787,8 +798,10 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
<div>
Poverty
<div>
Percent of individuals in households where the household income is at or
below 100% of the federal poverty level
Percent of a tract's population in households where the household income is at or below
100% of the federal poverty level
</div>
</div>
<div>
@ -801,6 +814,26 @@ exports[`rendering of the AreaDetail checks if various text fields are visible 1
</div>
</div>
</li>
<li
data-cy="indicatorBox"
>
<div>
<div>
High school degree achievement rate
<div>
Percent of people ages 25 years or older whose education level is less than a high school diploma
</div>
</div>
<div>
N/A
<sup>
<span />
</sup>
</div>
</div>
</li>
</div>
</div>
</aside>

View file

@ -7,11 +7,11 @@ exports[`rendering of the BetaBanner checks if component renders 1`] = `
<div />
<div>
<span>
This is a Beta site.
This is a beta site.
</span>
<span>
It is an early, in-progress version of the tool with limited data
sets that will be continuously updated.
It is an early, in-progress version of the tool with limited datasets
that will be continuously updated.
</span>
</div>
</div>

View file

@ -85,13 +85,13 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<a
href="#energy-burden"
>
energy cost burden score
energy cost burden
</a>
OR
score OR
<a
href="#pm-25"
>
PM2.5
PM2.5 in the air
</a>
@ -126,7 +126,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<a
href="#diesel-pm"
>
diesel particulate matter
diesel particulate matter exposure
</a>
or
<a
@ -173,10 +173,10 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<a
href="#median-home"
>
the median home value
low median home value
</a>
is less than
90th percentile OR at or above the 90th percentile for the
is at or less than
90th percentile OR at or above the 10th percentile for the
<a
href="#house-burden"
>
@ -221,13 +221,13 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<a
href="#prox-npl"
>
proximity to NLP sites
proximity to NPL sites
</a>
OR
<a
href="#prox-rmp"
>
proximity to RMP sites
proximity to RMP facilities
</a>
@ -346,14 +346,14 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
IF
</strong>
at or above 90th percentile for
at or above the 90th percentile for
<a
href="#low-med-inc"
>
low median income relative to area median income
low median income
</a>
OR
at or above the 90th percentile for
as a percent of area median income OR
<a
href="#ling-iso"
>
@ -367,13 +367,13 @@ exports[`rendering of the Categories checks if component renders 1`] = `
unemployment
</a>
OR
for percentage individuals in households at or below 100% federal
percent individuals in households at or below 100% federal
<a
href="#poverty"
>
poverty
</a>
level at or above 90%
level
</p>
<p>
@ -388,7 +388,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
>
the high school degree achievement rates
</a>
for adults 25 years and older is less than 90%
for adults 25 years and older is at or less than 90%
</p>
<p>

View file

@ -3,4 +3,8 @@
.categoryContainer {
display: flex;
justify-content: space-between;
.category {
flex-basis: 80%;
}
}

View file

@ -1,6 +1,7 @@
declare namespace CategoryNamespace {
export interface ICategoryScss {
categoryContainer: string;
category:string;
disadvantageDot: string;
}
}

View file

@ -11,7 +11,7 @@ interface ICategory {
const Category = ({name, isDisadvantaged}:ICategory) => {
return (
<div className={styles.categoryContainer}>
<div>
<div className={styles.category}>
{name}
</div>
<DisadvantageDot isDisadvantaged={isDisadvantaged}/>

View file

@ -6,7 +6,7 @@ exports[`rendering of indicator dataset card checks if component renders 1`] = `
id="low-income"
>
<h3>
Low Income
Low income
</h3>
<div>

View file

@ -36,7 +36,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="low-income"
>
<h3>
Low Income
Low income
</h3>
<div>
@ -75,11 +75,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="exp-agr-loss-rate"
>
<h3>
Expected Agriculture Loss Rate
Expected agriculture loss rate
</h3>
<div>
Economic loss rate to agriculture resulting from natural hazards each year.
Percent of agriculture value at risk from losses due to natural hazards. Calculated by dividing
the agriculture value at risk in a census tract by the total agriculture value in that census
tract. Fourteen natural hazards that have some link to climate change include: avalanche,
coastal flooding, cold wave, drought, hail, heat wave, hurricane, ice storm, landslide,
riverine flooding, strong wind, tornado, wildfire, and winter weather.
</div>
<ul>
@ -113,11 +117,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="exp-bld-loss-rate"
>
<h3>
Expected Building Loss Rate
Expected building loss rate
</h3>
<div>
Economic loss rate to buildings resulting from natural hazards each year.
Percent of building value at risk from losses due to natural hazards. Calculated by dividing the
building value at risk in a census tract by the total building value in that census tract.
Fourteen natural hazards that have some link to climate change include: avalanche, coastal flooding,
cold wave, drought, hail, heat wave, hurricane, ice storm, landslide, riverine flooding, strong
wind, tornado, wildfire, and winter weather.
</div>
<ul>
@ -151,18 +159,22 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="exp-pop-loss-rate"
>
<h3>
Expected Population Loss Rate
Expected population loss rate
</h3>
<div>
Rate relative to the population in fatalities and injuries resulting from natural hazards each
year. Population loss is defined as the Spatial Hazard Events and Losses or National Centers
for Environmental Informations reported number of fatalities and injuries caused by the
hazard occurrence. To combine fatalities and injuries for the computation of population loss value,
an injury is counted as one-tenth (1/10) of a fatality. The NCEI Storm Events Database
classifies injuries and fatalities as direct or indirect. Both direct and indirect injuries
and fatalities are counted as population loss. This total number of injuries and fatalities is
then divided by the population in the census tract to get a per-capita rate of population risk.
Rate relative to the population in fatalities and injuries due to natural hazards each year.
Fourteen natural hazards that have some link to climate change include: avalanche, coastal
flooding, cold wave, drought, hail, heat wave, hurricane, ice storm, landslide, riverine
flooding, strong wind, tornado, wildfire, and winter weather.
Population loss is defined as the Spatial Hazard Events and Losses or National Centers
for Environmental Informations (NCEI) reported number of fatalities and injuries caused by the
hazard occurrence. To combine fatalities and injuries for the computation of population loss value,
an injury is counted as one-tenth (1/10) of a fatality. The NCEI Storm Events Database
classifies injuries and fatalities as direct or indirect. Both direct and indirect injuries
and fatalities are counted as population loss. This total number of injuries and fatalities
is then divided by the population in the census tract to get a per-capita rate of population risk.
</div>
<ul>
@ -196,7 +208,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="energy-burden"
>
<h3>
Energy burden
Energy cost burden
</h3>
<div>
Average annual energy cost ($) divided by household income.
@ -232,7 +244,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="pm-25"
>
<h3>
PM2.5
PM2.5 in the air
</h3>
<div>
Fine inhalable particles, with diameters that are generally
@ -270,7 +282,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="diesel-pm"
>
<h3>
Diesel particulate matter
Diesel particulate matter exposure
</h3>
<div>
Mixture of particles that is part of diesel exhaust in the air.
@ -347,8 +359,10 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Housing cost burden
</h3>
<div>
Households that are low income and spend more than 30% of their
income to housing costs.
The percent of households in a census tract that are both earning less than 80% of HUD Area Median
Family Income by county and are paying greater than 30% of their income to housing costs.
</div>
<ul>
<li>
@ -385,8 +399,9 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Lead paint
</h3>
<div>
Percent of housing units built pre-1960, used as an
indicator of potential lead paint exposure in homes.
Percent of housing units built pre-1960, used as an indicator of potential lead paint exposure in
tracts with median home values less than 90th percentile
</div>
<ul>
<li>
@ -419,10 +434,10 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="median-home"
>
<h3>
Median home value
Low median home value
</h3>
<div>
Median home value of owner-occupied housing units in the area.
Median home value of owner-occupied housing units in the census tract.
</div>
<ul>
<li>
@ -459,9 +474,9 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<div>
Count of hazardous waste facilities (Treatment, Storage, and Disposal Facilities and Large
Quantity Generators) within 5 km (or nearest beyond 5 km), each divided by distance in kilometers.
Count of hazardous waste facilities (Treatment, Storage, and Disposal Facilities and Large
Quantity Generators) within 5 km (or nearest beyond 5 km), each divided by distance in kilometers.
</div>
<ul>
<li>
@ -469,13 +484,14 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Responsible Party:
</span>
<a
href="https://www.census.gov/programs-surveys/acs"
href="https://enviro.epa.gov/facts/rcrainfo/search.html"
rel="noreferrer"
target="_blank"
>
Environmental Protection Agency (EPA) TSDF data calculated from EPA RCRAinfo database
as compiled by EPAs EJSCREEN
Environmental Protection Agency (EPA) Treatment Storage, and Disposal Facilities
(TSDF) data calculated from EPA RCRA info database as compiled by EPAs EJSCREEN
</a>
</li>
<li>
@ -496,7 +512,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="prox-npl"
>
<h3>
Proximity to National Priorities List (NPL) Sites
Proximity to National Priorities List (NPL) sites
</h3>
<div>
@ -534,7 +550,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="prox-rmp"
>
<h3>
Proximity to Risk Management Plan (RMP) Sites
Proximity to Risk Management Plan (RMP) facilities
</h3>
<div>
@ -613,7 +629,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Asthma
</h3>
<div>
Weighted number of respondents people who answer “yes” both
Weighted percent of people who answer “yes” both
to both of the following questions: “Have you ever been told by a doctor,
nurse, or other health professional that you have asthma?” and the question
“Do you still have asthma?”
@ -652,7 +668,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Diabetes
</h3>
<div>
People ages 18 years and older who report having ever been
Weighted percent of people ages 18 years and older who report having ever been
told by a doctor, nurse, or other health professionals that they have
diabetes other than diabetes during pregnancy.
</div>
@ -690,7 +706,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Heart disease
</h3>
<div>
People ages 18 years and older who report ever having been told
Weighted percent of people ages 18 years and older who report ever having been told
by a doctor, nurse, or other health professionals that they had angina or
coronary heart disease.
</div>
@ -728,7 +744,14 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Low life expectancy
</h3>
<div>
Average number of years of life a person who has attained a given age can expect to live.
Average number of years of life a person who has attained a given age can expect to live.
Note: Unlike most of the other datasets, high values of this indicator indicate low burdens.
For percentile calculations, the percentile is calculated in reverse order, so that the tract with
the highest median income relative to area median income (lowest burden on this measure) is at the
0th percentile, and the tract with the lowest median income relative to area median income
(highest burden on this measure) is at the 100th percentile.
</div>
<ul>
<li>
@ -758,7 +781,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</ul>
</div>
<div
id="median-income"
id="low-med-inc"
>
<h3>
Low median Income
@ -800,8 +823,9 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Linguistic Isolation
</h3>
<div>
Households in which no one age 14 and over speaks English only or also speaks
a language other than English
The percent of limited speaking households, which are households where no one over age 14 speaks English well.
</div>
<ul>
<li>

View file

@ -12,14 +12,15 @@ exports[`rendering of the HowYouCanHelp checks if various text fields are visibl
<a
href="/en/methodology"
>
Methodology and data
Methodology & data
</a>
page and send us feedback.
</li>
<li>
Find communities of interest and
<a
href="mailto:screeningtool.feedback@usds.gov"
href="mailto:Screeningtool-Support@omb.eop.gov"
target="blank"
>
share your feedback
</a>
@ -29,6 +30,7 @@ exports[`rendering of the HowYouCanHelp checks if various text fields are visibl
Respond to our request for information on
<a
href="https://www.federalregister.gov/"
target="blank"
>
federalregister.gov
</a>

View file

@ -21,8 +21,8 @@ const J40Footer = () => {
[
intl.formatMessage(COMMON_COPY.FOOTER.CONTACT),
<Address
key={'footeraddress'}
className={'j40-footer-address'}
key={'footeraddress'}
size={'big'}
items={[
COMMON_COPY.FOOTER_CEQ_ADDRESS.NAME,
@ -45,17 +45,17 @@ const J40Footer = () => {
</a>,
<a
key="foialink"
href={'https://www.whitehouse.gov/ceq/foia'}
target={'_blank'}
rel={'noreferrer'}
href={'https://www.whitehouse.gov/ceq/foia'}
data-cy={hyphenizeString(COMMON_COPY.FOOTER.FOIA.defaultMessage)}>
{intl.formatMessage(COMMON_COPY.FOOTER.FOIA)}
</a>,
<a
key={'privacylink'}
href={intl.formatMessage(COMMON_COPY.FOOTER.PRIVACY_LINK)}
target={'_blank'}
rel={'noreferrer'}
href={intl.formatMessage(COMMON_COPY.FOOTER.PRIVACY_LINK)}
data-cy={hyphenizeString(COMMON_COPY.FOOTER.PRIVACY.defaultMessage)}>
{intl.formatMessage(COMMON_COPY.FOOTER.PRIVACY)}
</a>,
@ -66,6 +66,8 @@ const J40Footer = () => {
className={'footer-link-first-child'}
key={'contactlink'}
href={intl.formatMessage(COMMON_COPY.FOOTER.FIND_CONTACT_LINK)}
target={'_blank'}
rel="noreferrer"
data-cy={hyphenizeString(COMMON_COPY.FOOTER.FIND_CONTACT.defaultMessage)}>
{intl.formatMessage(COMMON_COPY.FOOTER.FIND_CONTACT)}
</a>,

View file

@ -33,6 +33,7 @@
@include u-padding-top('05');
@include u-margin-left(1);
@include u-font("body", "2xs");
@include u-text('bold')
}
.navLinks {

View file

@ -147,11 +147,11 @@ exports[`rendering of the J40Header checks if component renders 1`] = `
<div />
<div>
<span>
This is a Beta site.
This is a beta site.
</span>
<span>
It is an early, in-progress version of the tool with limited data
sets that will be continuously updated.
It is an early, in-progress version of the tool with limited datasets
that will be continuously updated.
</span>
</div>
</div>

View file

@ -14,9 +14,9 @@ exports[`rendering of the MapLegend checks if snapshots have changed 1`] = `
class="secondary"
>
Communities identified for the purposes of Justice40 as disadvantaged have been
historically marginalized, underserved, and overburdened by pollution. These communities
meet or exceed the criteria in one or more areas of focus.
Communities identified as disadvantaged for the purposes of Justice40 have been
historically marginalized, underserved, and overburdened by pollution. These communities meet
or exceed the criteria in one or more areas of focus.
</p>

View file

@ -11,7 +11,7 @@ exports[`rendering of the SurveyButton checks if component renders 1`] = `
data-testid="button"
type="button"
>
Tell us how we're doing
Help improve the site & data
</button>
</div>
</DocumentFragment>

View file

@ -134,6 +134,8 @@ exports[`J40Footer renders correctly 1`] = `
class="footer-link-first-child"
data-cy="find-a-contact-at-usa-gov"
href="https://www.usa.gov/"
rel="noreferrer"
target="_blank"
>
Find a contact at USA.gov
</a>
@ -185,7 +187,7 @@ exports[`J40Footer renders correctly 1`] = `
data-testid="button"
type="button"
>
Tell us how we're doing
Help improve the site & data
</button>
</div>
</footer>

View file

@ -22,10 +22,10 @@ exports[`simulate app starting up, no click on map should match the snapshot of
</div>
<cite>
A census tract is generally between 1,200 and 8,000 people, with an optimum size of 4,000 people.
A census tract is generally between 1,200 and 8,000 people, with an average size of 4,000 people.
Census tracts are small, relatively permanent subdivisions of a county defined by the
U.S. Census Bureau and usually cover a contiguous area. The census tract level represents the
smallest geographical unity that can be presented in a statistically sound manner, given the
smallest geographical unit that can be presented in a statistically sound manner, given the
datasets that are being used.
</cite>