Update FE to Def M (#1235)

* Update to Def M

- update first column of meth page, formula intro, ID,AND, & remove THEN
- remove Low income box under download box
- update id as disadv. in each category
- modify AND clause in each category
- add dataset Higher ed enrollment
- update snapshots

* Fix HS and higher ed DOM id in links

* Update side panel description to def m

* Fix typo on AND part of the formula

* Update snapshots

* Update snapshot

* Resolve rebase error where Send feedback was removed

- add back send feedback button
- update snapshots

* Add back blue indicator boolean
This commit is contained in:
Vim 2022-02-03 15:07:44 -05:00 committed by GitHub
commit fb69a09485
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 1227 additions and 856 deletions

View file

@ -1,5 +1,4 @@
import React from 'react';
import {useIntl} from 'gatsby-plugin-intl';
import * as METHODOLOGY_COPY from '../../data/copy/methodology';
import * as styles from './MethodologyFormula.module.scss';
@ -9,12 +8,10 @@ import * as styles from './MethodologyFormula.module.scss';
// reserved words.
const MethodologyFormula = () => {
const intl = useIntl();
return (
<section className={styles.formulaContainer}>
<p>
{intl.formatMessage(METHODOLOGY_COPY.PAGE.FORMULA_INTRO)}
{METHODOLOGY_COPY.FORMULA.INTRO}
</p>
<p>
@ -25,9 +22,9 @@ const MethodologyFormula = () => {
{METHODOLOGY_COPY.FORMULA.AND}
</p>
<p>
{/* <p>
{METHODOLOGY_COPY.FORMULA.THEN}
</p>
</p> */}
</section>
);
};

View file

@ -5,26 +5,30 @@ exports[`rendering of the MethodologyFormula checks if component renders 1`] = `
<section>
<p>
Under the current formula, a census tract will be considered disadvantaged:
Under the current formula, a census tract will be
<strong>
identified as disadvantaged
</strong>
in one or more categories of criteria:
</p>
<p>
<span>
IF
</span>
it is above the threshold for one or more climate or environmental indicator
the tract is above the thresholds for a set of environmental, climate or socioeconomic related indicators
</p>
<p>
<span>
AND
</span>
it is above the threshold for one or more socioeconomic indicator
</p>
<p>
<span>
THEN
</span>
the community is considered disadvantaged.
the tract is above the thresholds for another set of income or education related indicators
</p>
</section>
</DocumentFragment>