mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-10-01 23:43:17 -07:00
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:
parent
9b4d45a96c
commit
fb69a09485
17 changed files with 1227 additions and 856 deletions
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue