mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
Update links colors
- Language links - Download links - Simple links - External links - Side panel demographics links - return to top links - update snapshots
This commit is contained in:
parent
eeb7d07c40
commit
54c41b02a9
22 changed files with 112 additions and 17 deletions
|
@ -43,18 +43,21 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#exp-agr-loss-rate"
|
href="#exp-agr-loss-rate"
|
||||||
>
|
>
|
||||||
expected agriculture loss rate
|
expected agriculture loss rate
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#exp-bld-loss-rate"
|
href="#exp-bld-loss-rate"
|
||||||
>
|
>
|
||||||
expected building loss rate
|
expected building loss rate
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#exp-pop-loss-rate"
|
href="#exp-pop-loss-rate"
|
||||||
>
|
>
|
||||||
expected population loss rate
|
expected population loss rate
|
||||||
|
@ -68,12 +71,14 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -102,12 +107,14 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#energy-burden"
|
href="#energy-burden"
|
||||||
>
|
>
|
||||||
energy burden
|
energy burden
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#pm-25"
|
href="#pm-25"
|
||||||
>
|
>
|
||||||
PM2.5 in the air
|
PM2.5 in the air
|
||||||
|
@ -121,12 +128,14 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -157,12 +166,14 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#diesel-pm"
|
href="#diesel-pm"
|
||||||
>
|
>
|
||||||
diesel particulate matter exposure
|
diesel particulate matter exposure
|
||||||
</a>
|
</a>
|
||||||
or
|
or
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#traffic-vol"
|
href="#traffic-vol"
|
||||||
>
|
>
|
||||||
traffic proximity and volume
|
traffic proximity and volume
|
||||||
|
@ -178,12 +189,14 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -212,18 +225,21 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#lead-paint"
|
href="#lead-paint"
|
||||||
>
|
>
|
||||||
lead paint
|
lead paint
|
||||||
</a>
|
</a>
|
||||||
AND
|
AND
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#median-home"
|
href="#median-home"
|
||||||
>
|
>
|
||||||
median home value
|
median home value
|
||||||
</a>
|
</a>
|
||||||
is at or less than the 90th percentile OR at or above the 90th percentile for the
|
is at or less than the 90th percentile OR at or above the 90th percentile for the
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#house-burden"
|
href="#house-burden"
|
||||||
>
|
>
|
||||||
housing cost burden
|
housing cost burden
|
||||||
|
@ -237,12 +253,14 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -271,18 +289,21 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#prox-haz"
|
href="#prox-haz"
|
||||||
>
|
>
|
||||||
proximity to hazardous waste facilities
|
proximity to hazardous waste facilities
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#prox-npl"
|
href="#prox-npl"
|
||||||
>
|
>
|
||||||
proximity to National Priorities List (NPL) sites
|
proximity to National Priorities List (NPL) sites
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#prox-rmp"
|
href="#prox-rmp"
|
||||||
>
|
>
|
||||||
proximity to Risk Management Plan (RMP) facilities
|
proximity to Risk Management Plan (RMP) facilities
|
||||||
|
@ -296,12 +317,14 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -330,6 +353,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#waste-water"
|
href="#waste-water"
|
||||||
>
|
>
|
||||||
wastewater discharge
|
wastewater discharge
|
||||||
|
@ -343,12 +367,14 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -377,24 +403,28 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#asthma"
|
href="#asthma"
|
||||||
>
|
>
|
||||||
asthma
|
asthma
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#diabetes"
|
href="#diabetes"
|
||||||
>
|
>
|
||||||
diabetes
|
diabetes
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#heart-disease"
|
href="#heart-disease"
|
||||||
>
|
>
|
||||||
heart disease
|
heart disease
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#life-exp"
|
href="#life-exp"
|
||||||
>
|
>
|
||||||
low life expectancy
|
low life expectancy
|
||||||
|
@ -408,12 +438,14 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -442,24 +474,28 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-med-inc"
|
href="#low-med-inc"
|
||||||
>
|
>
|
||||||
low median income
|
low median income
|
||||||
</a>
|
</a>
|
||||||
as a percentage of area median income OR
|
as a percentage of area median income OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#ling-iso"
|
href="#ling-iso"
|
||||||
>
|
>
|
||||||
linguistic isolation
|
linguistic isolation
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#unemploy"
|
href="#unemploy"
|
||||||
>
|
>
|
||||||
unemployment
|
unemployment
|
||||||
</a>
|
</a>
|
||||||
OR percentage of individuals in households at or below 100% Federal
|
OR percentage of individuals in households at or below 100% Federal
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#poverty"
|
href="#poverty"
|
||||||
>
|
>
|
||||||
poverty
|
poverty
|
||||||
|
@ -473,12 +509,14 @@ exports[`rendering of the Categories checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
10% or more of adults 25 or older have not attained a
|
10% or more of adults 25 or older have not attained a
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-school"
|
href="#high-school"
|
||||||
>
|
>
|
||||||
high school degree
|
high school degree
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
|
|
@ -21,18 +21,21 @@ exports[`rendering of the CategoryCard checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#exp-agr-loss-rate"
|
href="#exp-agr-loss-rate"
|
||||||
>
|
>
|
||||||
expected agriculture loss rate
|
expected agriculture loss rate
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#exp-bld-loss-rate"
|
href="#exp-bld-loss-rate"
|
||||||
>
|
>
|
||||||
expected building loss rate
|
expected building loss rate
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#exp-pop-loss-rate"
|
href="#exp-pop-loss-rate"
|
||||||
>
|
>
|
||||||
expected population loss rate
|
expected population loss rate
|
||||||
|
@ -46,12 +49,14 @@ exports[`rendering of the CategoryCard checks if component renders 1`] = `
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
|
|
@ -44,7 +44,7 @@ const DatasetContainer = () => {
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<div className={styles.returnToTop}>
|
<div className={styles.returnToTop}>
|
||||||
<Link to={PAGES_ENDPOINTS.METHODOLOGY}>
|
<Link className={'usa-link'} to={PAGES_ENDPOINTS.METHODOLOGY}>
|
||||||
{METHODOLOGY_COPY.RETURN_TO_TOP.LINK}
|
{METHODOLOGY_COPY.RETURN_TO_TOP.LINK}
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1377,6 +1377,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="/en/methodology"
|
href="/en/methodology"
|
||||||
>
|
>
|
||||||
Return to top
|
Return to top
|
||||||
|
|
|
@ -5,3 +5,7 @@
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
filter: invert(57%) sepia(6%) saturate(3932%) hue-rotate(163deg) brightness(86%) contrast(88%);
|
filter: invert(57%) sepia(6%) saturate(3932%) hue-rotate(163deg) brightness(86%) contrast(88%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.downloadStyle {
|
||||||
|
@include u-color('blue-60v');
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
declare namespace DownloadLinkNamespace {
|
declare namespace DownloadLinkNamespace {
|
||||||
export interface IDownloadLink {
|
export interface IDownloadLink {
|
||||||
downloadIcon: string;
|
downloadIcon: string;
|
||||||
|
downloadStyle: string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ const DownloadLink = ({href, linkText}:IDownloadLink) => {
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<a href={href} download>{linkText}</a>
|
<a href={href} className={styles.downloadStyle} download>{linkText}</a>
|
||||||
<img
|
<img
|
||||||
className={styles.downloadIcon}
|
className={styles.downloadIcon}
|
||||||
src={fileDownloadIcon}
|
src={fileDownloadIcon}
|
||||||
|
|
|
@ -10,6 +10,7 @@ exports[`rendering of the HowYouCanHelp checks if various text fields are visibl
|
||||||
<li>
|
<li>
|
||||||
View the
|
View the
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="/en/methodology"
|
href="/en/methodology"
|
||||||
>
|
>
|
||||||
Methodology & data
|
Methodology & data
|
||||||
|
|
|
@ -79,7 +79,7 @@ exports[`J40Footer renders correctly 1`] = `
|
||||||
class="usa-footer__secondary-link"
|
class="usa-footer__secondary-link"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
class="footer-link-first-child"
|
class="usa-link footer-link-first-child"
|
||||||
href="/en/public-engagement"
|
href="/en/public-engagement"
|
||||||
>
|
>
|
||||||
Engagement calendar
|
Engagement calendar
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
.languageLink {
|
.languageLink {
|
||||||
@include u-display("inline-block");
|
@include u-display("inline-block");
|
||||||
@include u-margin-left(1.5);
|
@include u-margin-left(1.5);
|
||||||
|
@include u-color('blue-60v');
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: .8rem; // government banner text size not a token
|
font-size: .8rem; // government banner text size not a token
|
||||||
@include u-padding-top('2px');
|
@include u-padding-top('2px');
|
||||||
|
|
|
@ -41,7 +41,7 @@ const LinkTypeWrapper = (props:ILinkTypeWrapper) => {
|
||||||
if (props.internal) {
|
if (props.internal) {
|
||||||
return (
|
return (
|
||||||
<Link to={`${url}`}
|
<Link to={`${url}`}
|
||||||
className={props.className}
|
className={props.className ? `usa-link ${props.className}` : `usa-link`}
|
||||||
>
|
>
|
||||||
{props.linkText}
|
{props.linkText}
|
||||||
</Link>
|
</Link>
|
||||||
|
|
|
@ -28,6 +28,7 @@ exports[`testing all link types tests external links same tab 1`] = `
|
||||||
exports[`testing all link types tests internal links 1`] = `
|
exports[`testing all link types tests internal links 1`] = `
|
||||||
<DocumentFragment>
|
<DocumentFragment>
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="/en/methodology"
|
href="/en/methodology"
|
||||||
>
|
>
|
||||||
test link text
|
test link text
|
||||||
|
|
|
@ -16,8 +16,8 @@ describe('rendering of the SubPageNav', () => {
|
||||||
|
|
||||||
const firstLink = container.querySelector(`.usa-sidenav li:nth-child(${firstLinkActive}) a`);
|
const firstLink = container.querySelector(`.usa-sidenav li:nth-child(${firstLinkActive}) a`);
|
||||||
const secondLink = container.querySelector(`.usa-sidenav li:nth-child(${secondLinkIndex}) a`);
|
const secondLink = container.querySelector(`.usa-sidenav li:nth-child(${secondLinkIndex}) a`);
|
||||||
expect(firstLink?.className).toBe('usa-current');
|
expect(firstLink?.className).toBe('usa-link usa-current');
|
||||||
expect(secondLink?.className).not.toBe('usa-current');
|
expect(secondLink?.className).not.toBe('usa-link usa-current');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('checks if the second link is active', () => {
|
it('checks if the second link is active', () => {
|
||||||
|
@ -29,7 +29,7 @@ describe('rendering of the SubPageNav', () => {
|
||||||
|
|
||||||
const firstLink = container.querySelector(`.usa-sidenav li:nth-child(${firstLinkActive}) a`);
|
const firstLink = container.querySelector(`.usa-sidenav li:nth-child(${firstLinkActive}) a`);
|
||||||
const secondLink = container.querySelector(`.usa-sidenav li:nth-child(${secondLinkIndex}) a`);
|
const secondLink = container.querySelector(`.usa-sidenav li:nth-child(${secondLinkIndex}) a`);
|
||||||
expect(secondLink?.className).toBe('usa-current');
|
expect(secondLink?.className).toBe('usa-link usa-current');
|
||||||
expect(firstLink?.className).not.toBe('usa-current');
|
expect(firstLink?.className).not.toBe('usa-link usa-current');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
//emulate a link
|
//emulate a link
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
color:blue;
|
@include u-color('blue-60v');
|
||||||
text-decoration:underline;
|
text-decoration:underline;
|
||||||
|
|
||||||
min-width: 45px;
|
min-width: 45px;
|
||||||
|
|
|
@ -20,7 +20,7 @@ export interface IDefineMessage {
|
||||||
* */
|
* */
|
||||||
export const italicFn = (str:string) => <i>{str}</i>;
|
export const italicFn = (str:string) => <i>{str}</i>;
|
||||||
export const boldFn = (str:string) => <strong>{str}</strong>;
|
export const boldFn = (str:string) => <strong>{str}</strong>;
|
||||||
export const simpleLink = (href:string) => (str:string) => <a href={href}>{str}</a>;
|
export const simpleLink = (href:string) => (str:string) => <a className={'usa-link'} href={href}>{str}</a>;
|
||||||
// export const downloadLink = (href:string) => (str:string) => <a href={href} download>{str}</a>;
|
// export const downloadLink = (href:string) => (str:string) => <a href={href} download>{str}</a>;
|
||||||
export const downloadLink = (href:string) => (str:string) => <DownloadLink href={href} linkText={str} />;
|
export const downloadLink = (href:string) => (str:string) => <DownloadLink href={href} linkText={str} />;
|
||||||
// eslint-disable-next-line max-len
|
// eslint-disable-next-line max-len
|
||||||
|
|
|
@ -607,6 +607,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
class="j40-aboutcard-sm-link"
|
class="j40-aboutcard-sm-link"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="/en/methodology"
|
href="/en/methodology"
|
||||||
>
|
>
|
||||||
Methodology & data
|
Methodology & data
|
||||||
|
@ -661,6 +662,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
class="j40-aboutcard-sm-link"
|
class="j40-aboutcard-sm-link"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="/en/"
|
href="/en/"
|
||||||
>
|
>
|
||||||
Explore the map
|
Explore the map
|
||||||
|
@ -888,7 +890,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
class="usa-footer__secondary-link"
|
class="usa-footer__secondary-link"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
class="footer-link-first-child"
|
class="usa-link footer-link-first-child"
|
||||||
href="/en/public-engagement"
|
href="/en/public-engagement"
|
||||||
>
|
>
|
||||||
Engagement calendar
|
Engagement calendar
|
||||||
|
|
|
@ -400,6 +400,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
To provide feedback about a specific census tract, either select the send feedback button after
|
To provide feedback about a specific census tract, either select the send feedback button after
|
||||||
selecting a census tract on the
|
selecting a census tract on the
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="/en/"
|
href="/en/"
|
||||||
>
|
>
|
||||||
Explore the map
|
Explore the map
|
||||||
|
@ -535,7 +536,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
class="usa-footer__secondary-link"
|
class="usa-footer__secondary-link"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
class="footer-link-first-child"
|
class="usa-link footer-link-first-child"
|
||||||
href="/en/public-engagement"
|
href="/en/public-engagement"
|
||||||
>
|
>
|
||||||
Engagement calendar
|
Engagement calendar
|
||||||
|
|
|
@ -533,7 +533,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
class="usa-footer__secondary-link"
|
class="usa-footer__secondary-link"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
class="footer-link-first-child"
|
class="usa-link footer-link-first-child"
|
||||||
href="/en/public-engagement"
|
href="/en/public-engagement"
|
||||||
>
|
>
|
||||||
Engagement calendar
|
Engagement calendar
|
||||||
|
|
|
@ -428,7 +428,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
class="usa-footer__secondary-link"
|
class="usa-footer__secondary-link"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
class="footer-link-first-child"
|
class="usa-link footer-link-first-child"
|
||||||
href="/en/public-engagement"
|
href="/en/public-engagement"
|
||||||
>
|
>
|
||||||
Engagement calendar
|
Engagement calendar
|
||||||
|
|
|
@ -471,18 +471,21 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#exp-agr-loss-rate"
|
href="#exp-agr-loss-rate"
|
||||||
>
|
>
|
||||||
expected agriculture loss rate
|
expected agriculture loss rate
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#exp-bld-loss-rate"
|
href="#exp-bld-loss-rate"
|
||||||
>
|
>
|
||||||
expected building loss rate
|
expected building loss rate
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#exp-pop-loss-rate"
|
href="#exp-pop-loss-rate"
|
||||||
>
|
>
|
||||||
expected population loss rate
|
expected population loss rate
|
||||||
|
@ -496,12 +499,14 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -530,12 +535,14 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#energy-burden"
|
href="#energy-burden"
|
||||||
>
|
>
|
||||||
energy burden
|
energy burden
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#pm-25"
|
href="#pm-25"
|
||||||
>
|
>
|
||||||
PM2.5 in the air
|
PM2.5 in the air
|
||||||
|
@ -549,12 +556,14 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -585,12 +594,14 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#diesel-pm"
|
href="#diesel-pm"
|
||||||
>
|
>
|
||||||
diesel particulate matter exposure
|
diesel particulate matter exposure
|
||||||
</a>
|
</a>
|
||||||
or
|
or
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#traffic-vol"
|
href="#traffic-vol"
|
||||||
>
|
>
|
||||||
traffic proximity and volume
|
traffic proximity and volume
|
||||||
|
@ -606,12 +617,14 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -640,18 +653,21 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#lead-paint"
|
href="#lead-paint"
|
||||||
>
|
>
|
||||||
lead paint
|
lead paint
|
||||||
</a>
|
</a>
|
||||||
AND
|
AND
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#median-home"
|
href="#median-home"
|
||||||
>
|
>
|
||||||
median home value
|
median home value
|
||||||
</a>
|
</a>
|
||||||
is at or less than the 90th percentile OR at or above the 90th percentile for the
|
is at or less than the 90th percentile OR at or above the 90th percentile for the
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#house-burden"
|
href="#house-burden"
|
||||||
>
|
>
|
||||||
housing cost burden
|
housing cost burden
|
||||||
|
@ -665,12 +681,14 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -699,18 +717,21 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#prox-haz"
|
href="#prox-haz"
|
||||||
>
|
>
|
||||||
proximity to hazardous waste facilities
|
proximity to hazardous waste facilities
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#prox-npl"
|
href="#prox-npl"
|
||||||
>
|
>
|
||||||
proximity to National Priorities List (NPL) sites
|
proximity to National Priorities List (NPL) sites
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#prox-rmp"
|
href="#prox-rmp"
|
||||||
>
|
>
|
||||||
proximity to Risk Management Plan (RMP) facilities
|
proximity to Risk Management Plan (RMP) facilities
|
||||||
|
@ -724,12 +745,14 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -758,6 +781,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#waste-water"
|
href="#waste-water"
|
||||||
>
|
>
|
||||||
wastewater discharge
|
wastewater discharge
|
||||||
|
@ -771,12 +795,14 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -805,24 +831,28 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#asthma"
|
href="#asthma"
|
||||||
>
|
>
|
||||||
asthma
|
asthma
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#diabetes"
|
href="#diabetes"
|
||||||
>
|
>
|
||||||
diabetes
|
diabetes
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#heart-disease"
|
href="#heart-disease"
|
||||||
>
|
>
|
||||||
heart disease
|
heart disease
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#life-exp"
|
href="#life-exp"
|
||||||
>
|
>
|
||||||
low life expectancy
|
low life expectancy
|
||||||
|
@ -836,12 +866,14 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
is at or above the 65th percentile for
|
is at or above the 65th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-income"
|
href="#low-income"
|
||||||
>
|
>
|
||||||
low income
|
low income
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -870,24 +902,28 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
at or above the 90th percentile for
|
at or above the 90th percentile for
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#low-med-inc"
|
href="#low-med-inc"
|
||||||
>
|
>
|
||||||
low median income
|
low median income
|
||||||
</a>
|
</a>
|
||||||
as a percentage of area median income OR
|
as a percentage of area median income OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#ling-iso"
|
href="#ling-iso"
|
||||||
>
|
>
|
||||||
linguistic isolation
|
linguistic isolation
|
||||||
</a>
|
</a>
|
||||||
OR
|
OR
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#unemploy"
|
href="#unemploy"
|
||||||
>
|
>
|
||||||
unemployment
|
unemployment
|
||||||
</a>
|
</a>
|
||||||
OR percentage of individuals in households at or below 100% Federal
|
OR percentage of individuals in households at or below 100% Federal
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#poverty"
|
href="#poverty"
|
||||||
>
|
>
|
||||||
poverty
|
poverty
|
||||||
|
@ -901,12 +937,14 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</strong>
|
</strong>
|
||||||
10% or more of adults 25 or older have not attained a
|
10% or more of adults 25 or older have not attained a
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-school"
|
href="#high-school"
|
||||||
>
|
>
|
||||||
high school degree
|
high school degree
|
||||||
</a>
|
</a>
|
||||||
AND 80% or more of individuals 15 or older are not enrolled in
|
AND 80% or more of individuals 15 or older are not enrolled in
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="#high-ed-enroll-rate"
|
href="#high-ed-enroll-rate"
|
||||||
>
|
>
|
||||||
higher education
|
higher education
|
||||||
|
@ -2292,6 +2330,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a
|
<a
|
||||||
|
class="usa-link"
|
||||||
href="/en/methodology"
|
href="/en/methodology"
|
||||||
>
|
>
|
||||||
Return to top
|
Return to top
|
||||||
|
@ -2377,7 +2416,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
class="usa-footer__secondary-link"
|
class="usa-footer__secondary-link"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
class="footer-link-first-child"
|
class="usa-link footer-link-first-child"
|
||||||
href="/en/public-engagement"
|
href="/en/public-engagement"
|
||||||
>
|
>
|
||||||
Engagement calendar
|
Engagement calendar
|
||||||
|
|
|
@ -1026,7 +1026,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
class="usa-footer__secondary-link"
|
class="usa-footer__secondary-link"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
class="footer-link-first-child"
|
class="usa-link footer-link-first-child"
|
||||||
href="/en/public-engagement"
|
href="/en/public-engagement"
|
||||||
>
|
>
|
||||||
Engagement calendar
|
Engagement calendar
|
||||||
|
|
|
@ -428,7 +428,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
||||||
class="usa-footer__secondary-link"
|
class="usa-footer__secondary-link"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
class="footer-link-first-child"
|
class="usa-link footer-link-first-child"
|
||||||
href="/en/public-engagement"
|
href="/en/public-engagement"
|
||||||
>
|
>
|
||||||
Engagement calendar
|
Engagement calendar
|
||||||
|
|
Loading…
Add table
Reference in a new issue