Frontend release branch to main (#1829)

* Add Geolocation from behind feature flag

* Comment updates from PR feedback

* Modify geolocate icon and beacon to be black

* Upgrade lb dependencies

- upgrade uswds to 2.13.3
- upgrade trussworks to 3.1.0
- fix breaking changes on Accordion, Search, SummaryBox, Collections,

* Fixes links that were off center

* Modify styling for geolocation

* Modify geolocation message

* Add mobile and desktop geolocating

* Modify disabled label tooltip message

* Add indicators to Puerto Rico (to release branch) (#1688)

* Add indicators to Puerto Rico

* Remove linguistic iso in Puerto Rico only

* Adds demographics v1

- This uses the built-in accordion component

* Add custom Accordion component to match designs

* Update AreaDetail snapshots

* Adding some better comments

* Add USWDS expand to demographics side panel

* Remove justice40-tool from prefix-path

* Update staging link to new CDN link

* Remove messaging on mobile

* Prettify test file

* Add TractInfo component

* Style TractDemo component

* Move Methodology version to bottom of sidepanel

* Add custom expand / collapse component
- adds a11y
- adds chevron from USWDS icons

* Align Geolocate icon and Search

- align geolocate and search according to mock for desktop and mobile

* Add tribal toggle (UI only)

* Refactor Sources/Layers to allow for tribal switching

- Remove census tracts layers into it's own component
- Create a tribal layer component
- Update LayerSelector component tests
- update OS map to react to layer selector
-

* Add tribal info to side panel and feature selection

- create a state variable to keep track of weather or not the layer was toggled
- allow mapInfoPanel to reset on layer switch
- allow AreaDetail to show census and tribal info
- allow LayerSelector to set layer toggled
- Add selectedFeature to both MapTribal and MapTract components
- create various tribal constants for styling
- i18n constants

* Update snapshots

* Update tribal path on production build

* Comment update

* add QA feedback

- swap expand/collapse icons
- add parens and slash to copy

* Add initial AK points

- corrects filter expression
- adds radius and color to constants

* Update staging deploy script

- update domain name
- update path

* Update AK layer id

- make AK layer clickable

* Add OS map functionality

- split source/layers between Map*Layers.tsx and getOSBaseMap file
- update getOSBaseMap to return eithe tribal or tracts layers/sources

* Add geolocation locked signal to local storage

* Make source/layer comments correspond

- getOSBaseMap and Map*Layers should have the same layer comments
- modify constants to have matching styles between Tribal and Tracts

* Remove zooming in on Alaska data point

* Update Tribal shortname ID

* Adjust CSS to place LayerSelector in MapHeader

* Comment out markdown check on link

* Add flooding and wildfire indicators to side panel

* Add indicators

- barriers to transport
- lack of green space
- lack of plumbing
- leaky tanks

* Add back the selected feature layer

* Show Tract info/demo only when tracts are selected

* Update SCORE_HIGH_PROP from SM_PFS to SM_C

- Will allow high zoom tiles to load with BE staging branch 1822/e638

* Fix 2 demographics typos

- repeated demographic
- change to race/ethnicity

* Add HRS, AML, FUDS and demographics (#1861)

* Add HRS_ET

- refactor to add IndicatorTypes
- modify tests
- add intl

* Add AML and FUDS

- update indicatorFilter
- update tests each indicator has 3 states to test

* Connect BE signal for demographics

- update tests
- i18n-ize

* Remove obsolete tests snapshots

* Update to Score N constants

* Remove higher ed socio-economic indicator

- remove spacer "Meets both socio"
- update snapshots

* Update BE signal types for

- AML
- FUDS

* Filter out missing historic underinvest. indicators

- For the special case when historic underinvestments are missing do not show that indicator at all
- update unit tests

* Make AML appear as No for all that are missing

* Update snapshot

* Correct BE signal on low income (#1877)

* Adds adjacency, impute flag and custom colors

* Update Quickstart docker link

* Remove duplicate Higher Ed indicator, update higher ed types and correct copy on 404 page (#1886)

* remove duplicate high school degree indicator

- for island areas

* Update 404 page copy

* Remove link that is failing during markdown checks

* Updated FE indicators constants to remove _M

- by removing these _M suffix on the FE
constants, we remove any dependency on changes to the BE score

* Remove up/down arrows from indicators

* update style of side panel categories if supported

- if the browser has ":has" support, the new category styles will be applied
- if not, the older style will remain in place

* update snapshots

* update styling for indicator values

- refactor disadvantaged blue dot to utils.scss

* remove missing icon and reduce subtext font size

* Remove un-needed import in test file

* Update category, indicator copy

* Update copy indicator desc and titles

* update side panel styling for 1.0

* Update methodology version / styling

* 1.0 side panel indicator designs (#1896)

* Remove up/down arrows from indicators

* update style of side panel categories if supported

- if the browser has ":has" support, the new category styles will be applied
- if not, the older style will remain in place

* update snapshots

* update styling for indicator values

- refactor disadvantaged blue dot to utils.scss

* remove missing icon and reduce subtext font size

* Remove un-needed import in test file

* Update category, indicator copy

* Update copy indicator desc and titles

* update side panel styling for 1.0

* Update methodology version / styling

* Add USVI and GU to map

- remove shortcuts on mobile

* Fix all link colors, prevent logo from wrapping, update non-selected side-panel (#1908)

* Update links colors

- Language links
- Download links
- Simple links
- External links
- Side panel demographics links
- return to top links
- update snapshots

* Fix wrapping on logo title

- remove beta pill

* Update un-selected side panel copy (desktop)

- two icons are needed

* Remove icons on mobile view

* Remove the pub. eng. button on all pages

* Add usa-link class to all links

- will create consiste visible state on all links

* Remove tribal toggle

- remove tribal layer from feature flag and make it default

* Update copy on Explore the Map page (#1915)

* Add Explore the Data box

* Update explore page description

- Remove paragraph under map

* Update territories copy

- Remove How you can help

* Update Whitehouse footer icon

* Correct heading order to pass a11y

* Remove beta pill in Beta Banner
- update snapshots

* Update explore page description
- remove color key

* revert image back to eagle seal

* Update release date variable name

* Add Impute, Adj and tribal signals to side panel

* Remove test category

- move send feedback button outside of categorization div
- left justify send feedback button
- update snapshots

* Update links in the territories paragraph on explore page

* Update tribal lands copy on explore page

* Align geolocate icon on desktop and mobile

* Add inverted style to YES

- update snapshots

* About page 1.0 (#1933)

* Initial About page

* Update navigation links

- adds hover and current effects
- fits width of each nav link to content

* Add location prop to J40Header

* Fix a11y error on internal links

- remove AboutCard LinkTypeWrapper if url is not specified
- remove gherkin tests on new nav links
- update snapshots

* Fix mobile nav for new nav links

* Add usa-current class to dropdown nav

* side panel narwal (#1943)

* Adds the PrioritizationCopy and TractPriotization

- adds both components
- removes logic around selecting AK data points
- update snapshots

* Add tests for TractPrioritization

* Adds tests for PrioritizationCopy

* Add income icon and tilde

- this is dependent on imputed income and adjacency

* Add tool tip to low income icon

* Update snapshots

* Removing AreaDetail test to allow tooltip library

- This library react-tooltip creates random DOM ID which will not allow for snapshot testing as he IDs change on each build. Due to time constraints, we simply removed the AreaDetails test. The AreaDetails component is made up of sub component and each sub component has tests so this is low risk.

- This is a temporary solution. Some longer terms solutions may be
1. Remove this library and get the USWDS tool tip to work
2. Re-factor the areaDetail.tests.tsx snapshot tests to do more DOM assertions rather than snapshots
3. Some combination of the two.

* Fix Tribal percentage error

* Update copy based on bug party (#1973)

* Update copy from team debug party
- closes #1945
- Lack of green space description
- Lack of indoor plumbing

* Update copy
- closes #1950

* Update copy
- closes #1951

* Update survey button
- Text and link
- closes 1967

* Update copy

- correct tool tip copy
- closes #1959

* No issue number: Update front-end Readme (#1935)

* Addresses `nvm` install

* Updated side panel, with two paragraphs, "Completely surrounded" and "Adjusted low income" and more! (#1990)

* Update logic for TractPrioritization and bug fix

- fix wildfire bug closes #1953
- rename TractPri API to better align with BE signal names
- redo test and all test cases

* Add PrioCopy1 and PrioCopy2

- fix rounding
- limited tests for each component. Many more test cases are needed
- add copy to i18n

* Adjust LowInc tool tip only on IMP_FLG=T

- remove threshold change for low income

* Add copy for comp. surr and Adj low inc

- create a new component DonutCopy
- add tests
- modify styling to work in both 1 para case and 2 para case

* Add Donut copy

* Fix typo on 2nd paragraph

* Update browser list

* Adds TA_COUNT_AK, TA_COUNT_C and TA_PERC_FE

- Prio1 and Prio2 both take TA_COUNT_C which should be null
- updates basic tests

* Remvoe cypress tests

* Update CONUS number to troubleshoot

* Copy adjustments

- move test copy to console.log
- move donutCopy to only show when ADJ_ET is true

* Update copy from Word Doc (#2001)

* add tsc compile

* fix TS warning around headingLevel

* Temporary fix around availableFor type error

- correlated to fix needed in ticket 2000

* Add copy update from CEJST pages - STATUS doc

- Add a period in Get the Data box
- Update unselected side panel text
- Update text under explore the map
- Content and styling for territories note
- persistent FAB - “Help improve the tool”
- Water needs to be “Water and Wastewater”
- Styling on demographics ( show )  => (show)
- Update age in demographics to be Elderly over 65
- Wildfire description is not correct
- Lead paint description needs to be updated
- remove bullet from How you can help
- Footer - remove RFI
- Footer - remove Eng cal
- add sign up link

* Update side panel non-selected copy

* Add back PEC button to each main page

* Remove console logs from J40Header

* Fix DOM warning on About page

- can't have <li> in <p>

* Fix nested DOM warning on Explore page

- Modify ExploreDataBox styling

* Update side panel non-selected with icons

- update height on mobile
- update snapshots

* Remove markdown ignore comments

- hoping this will build and match main so that the FE doesn't trigger the BE

* Add comments back to match main

* Update methodology page copy to Content 1.0 (#2009)

* Update methodology copy

- update categories
- update snapshots

* Add button to datasets page

- add tests

* Update copy for meth page according to Content1.0

* FAQS page (#2016)

* Fix a11y issue on Ling Iso card

* Add layout of new FAQs page

* Reorder SubNav links on About page

* Add NEW tag to new Burdens

* Add first 6 questions to FAQs

* Add the rest of the FAQs onto the page

* Adjust sub-nav order in About header

- update snapshots
- ensure that FAQ in SubNav is active

* Previous versions page narwal (#2018)

* Add Previous Version page

- Create a new DownloadButton component
- Add PreviousVersion link to main nav
- Extract out download button from PublicVideo component
- Update SidePageNav to render PrevVersion
- Add Beta start date
- Create previous-version page
- Add public eng to all pages
- update snapshots

* Update cypress test to test prev version page

- Add <ul> around card as it fails a11y without it.

* Add updated tribal base map

- this removes the LAR suffix in MapBox studio

* Initial Download page (#2021)

* Intial version of 1.0 download page

* fix a11y errors

* Update snapshots

* FRT copy update, isDAC to use SN_C and new base map of custom colors + updated tribal names (#2029)

* Update FRT copy in isDAC copy in side panel

* Update base map
- custom colors + updated tribal names
- closes #2005

* Update isDAC logic to use SN_C

- update component props
- update test cases
- closes #2024

* Update snapshots

* Remove unused vars from the constants (#2020) (#2023)

* Update release copy (#2036)

* Update Pub Eng page (#2043)

- Refactor download button to have gray buttons also
- Add a beta version of the PublicVideoBox in SCSS
- Update copy on Pub Eng page

* Change geojson to shapefile (#2044)

* geojson -> shapefile (#1931)

* Update test too (#1931)

* Beta and narwal links (#2051)

* Update download links to 1.0

* Update previous versions with two beta links

* Add beta data doc to prod .env

* Update PEC page

- add new icons (expired)
- create placeholder for 1.0 copy
- remove narwal links

* Add sign-up link on About page

* Update FRT copy

* Update contact page

* Point map to new 1.0 versions path on S3

- remove FILE_DL prefix on from .env variables as the path is for both file download and map tiles now
- Update MapTractLayers to use 1.0 score path
- Update downloads file to use updated score path names

* Only show two rows (ADJ and ADJ threshold) if

- ADJ_ET is true AND
- total number of disadv cats is 0

* Make 'PARTIALLY' highlighted like `YES`

* Highlight indicator value if

- ADJ_ET is true
- Imputed poverty income is > threshold (50)

* Update RAW true value for HRS_ET

* Make the logo and title of header nav back to map

* Content 1.0 updates, test tracts updated, some UI tweaks tasks (#2063)

* Content 1.0 updates

* Import variables rather than entire constant files

* Add "--" to all tract info

* Show "--" for when Adjusted low income is missing

* Add non disadvn case

- ADJ_ET is true and threshold isn't met

* Replace socio-economic with socioeconomic

* Add mouse pointer icon to side panel
- this looks like the bird lol

* Update sign up link

- closes #1640
- update snapshots

* Update tract feedback button to include tractid

- this is dependent on SM enabling multiple responses
- closes #1969

* Update HOLC long description note

- closes #2066

* Add content to question 2 of FAQs

- closes #2067
- update snapshots

* Update copy
- closes #2059
- updates release date to 11.21
- updates snapshots

* Remove language links

- closes #2055
- updates snapshots

* Update Two tribal strings

- fix if we have TA_COUNT_AK and TA_PERC
- Add "Partially surrounded" copy
- Add comment on how to find the logic truth table for paragraph1 and 2

* Revert date

* Update low income tooltip

- take into account pop = null
- update comments

* Update side panel copy

* Update copy on Methodology page

* Updated About page copy

* Update FAQs copy

* Update New tags to bold

- closes

* Add banner

- closes #2019

* Updated top of downloads page

- update change log copy

* Copy updates

- closes #2082

* Add and remove burdens for PR:

- closes #2083

* Correct burdens for Puerto Rico

* Add 3 download files to FE

- beta training slides to .env
- instructions to .env
- comp. chart to .env
- add comp chart to FAQ
- update snapshots

* Update priotization copy

- closes #2086
- closes #2085
- reorders ifs, placed all ifs with dependency no CC > =1 w/i in the first if block

* Update copy
- update icon in side panel (unselected)
- update copy in methodology cards

* Update link in FAQs

* Update linked text on note Tribal Nations

* Remove download file links from FAQs

* Update top of Download page

* Final copy update

-closes #2082

* Update space in About page copy

* Update copy based on Katherine's findings

- update snapshots
- remaining changes from Content 1.0

* Undo BE settings file

* Fix FUDS bug

- closes #2090

* Fix Low Income tooltip copy

* Final copy updates

-closes #2092

* Final final copy changes

* Update 1.0 communities list on download page

Co-authored-by: Jorge Escobar <83969469+esfoobar-usds@users.noreply.github.com>
Co-authored-by: Lucas Merrill Brown <lucas.m.brown@omb.eop.gov>
Co-authored-by: Matt Bowen <83967628+mattbowen-usds@users.noreply.github.com>
This commit is contained in:
Vim 2022-11-21 15:20:34 -08:00 committed by GitHub
commit 669d1d3f0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
203 changed files with 18766 additions and 8728 deletions

View file

@ -14,6 +14,7 @@ export const PAGES_ENDPOINTS = {
FAQS: '/frequently-asked-questions',
PUBLIC_ENG: '/public-engagement',
CONTACT: '/contact',
PREVIOUS_VERSIONS: '/previous-versions',
};
// Performance markers
@ -25,6 +26,15 @@ export type J40Properties = { [key: string]: any };
// ****** SIDE PANEL BACKEND SIGNALS ***********
export const MISSING_DATA_STRING = '--';
// Tribal signals
export const TRIBAL_ID = 'tribalId';
export const LAND_AREA_NAME = 'landAreaName';
export const TRIBAL_AREAS_PERCENTAGE = 'TA_PERC_FE';
export const TRIBAL_AREAS_COUNT_AK = 'TA_COUNT_AK';
export const TRIBAL_AREAS_COUNT_CONUS = 'TA_COUNT_C';
// Set the threshold percentile used by most indicators in the side panel
export const DEFAULT_THRESHOLD_PERCENTILE = 90;
@ -34,6 +44,20 @@ export const COUNTY_NAME = 'CF';
export const STATE_NAME = 'SF';
export const TOTAL_POPULATION = 'TPF';
// Demographics
export const DEMO_NON_HISPANIC_WHITE = 'DM_W';
export const DEMO_BLACK = 'DM_B';
export const DEMO_AMERICAN_INDIAN = 'DM_AI';
export const DEMO_ASIAN = 'DM_A';
export const DEMO_HAWAIIAN = 'DM_HI';
export const DEMO_OTHER_RACE = 'DM_O';
export const DEMO_TWO_OR_MORE_RACES = 'DM_T';
export const DEMO_HISPANIC = 'DM_H';
export const DEMO_AGE_UNDER_10 = 'AGE_10';
export const DEMO_AGE_MID = 'AGE_MIDDLE';
export const DEMO_AGE_OVER_64 = 'AGE_OLD';
/**
* The SCORE_BOUNDAY_THRESHOLD will determine if the tract is disadvantaged
* or not. Currently all values are railed to 0 or 1. If the
@ -46,6 +70,8 @@ export const SCORE_BOUNDARY_THRESHOLD = 0.6;
export const TOTAL_NUMBER_OF_DISADVANTAGE_INDICATORS = 'TC';
export const TOTAL_NUMBER_OF_INDICATORS = 'THRHLD';
export const COUNT_OF_CATEGORIES_DISADV = 'CC';
export const SCORE_N_COMMUNITIES = 'SN_C';
export const SCORE_N_TRIBAL = 'SN_T';
export const SIDE_PANEL_STATE = 'UI_EXP';
export const SIDE_PANEL_STATE_VALUES = {
@ -55,8 +81,8 @@ export const SIDE_PANEL_STATE_VALUES = {
};
// Climate category
export const IS_CLIMATE_FACTOR_DISADVANTAGED_M = 'M_CLT';
export const IS_CLIMATE_EXCEED_ONE_OR_MORE_INDICATORS_M = 'M_CLT_EOMI';
export const IS_CLIMATE_FACTOR_DISADVANTAGED = 'N_CLT';
export const IS_CLIMATE_EXCEED_ONE_OR_MORE_INDICATORS = 'N_CLT_EOMI';
export const EXP_AGRICULTURE_LOSS_PERCENTILE = 'EALR_PFS';
export const IS_EXCEEDS_THRESH_FOR_EXP_AGR_LOSS = 'EAL_ET';
@ -67,9 +93,15 @@ export const IS_EXCEEDS_THRESH_FOR_EXP_BLD_LOSS = 'EBL_ET';
export const EXP_POPULATION_LOSS_PERCENTILE = 'EPLR_PFS';
export const IS_EXCEEDS_THRESH_FOR_EXP_POP_LOSS = 'EPL_ET';
export const IS_EXCEED_BOTH_SOCIO_INDICATORS_M = 'M_EBSI';
export const FLOODING_PERCENTILE = 'FLD_PFS';
export const IS_EXCEEDS_THRESH_FLOODING = 'FLD_ET';
export const POVERTY_BELOW_200_PERCENTILE = 'P200_PFS';
export const WILDFIRE_PERCENTILE = 'WFR_PFS';
export const IS_EXCEEDS_THRESH_WILDFIRE = 'WFR_ET';
export const IS_EXCEED_BOTH_SOCIO_INDICATORS = 'N_EBSI';
export const POVERTY_BELOW_200_PERCENTILE = 'P200_I_PFS';
export const IS_FEDERAL_POVERTY_LEVEL_200 = 'FPL200S';
export const HIGHER_ED_PERCENTILE = 'CA';
@ -79,8 +111,8 @@ export const NON_HIGHER_ED_PERCENTILE = 'NCA';
// Energy category
export const IS_ENERGY_FACTOR_DISADVANTAGED_M = 'M_ENY';
export const IS_ENERGY_EXCEED_ONE_OR_MORE_INDICATORS_M = 'M_ENY_EOMI';
export const IS_ENERGY_FACTOR_DISADVANTAGED = 'N_ENY';
export const IS_ENERGY_EXCEED_ONE_OR_MORE_INDICATORS = 'N_ENY_EOMI';
export const ENERGY_PERCENTILE = 'EBF_PFS';
export const IS_EXCEEDS_THRESH_FOR_ENERGY_BURDEN = 'EB_ET';
@ -90,32 +122,50 @@ export const IS_EXCEEDS_THRESH_FOR_PM25 = 'PM25_ET';
// Transport category
export const IS_TRANSPORT_FACTOR_DISADVANTAGED_M = 'M_TRN';
export const IS_TRANSPORT_EXCEED_ONE_OR_MORE_INDICATORS_M = 'M_TRN_EOMI';
export const IS_TRANSPORT_FACTOR_DISADVANTAGED = 'N_TRN';
export const IS_TRANSPORT_EXCEED_ONE_OR_MORE_INDICATORS = 'N_TRN_EOMI';
export const DIESEL_MATTER_PERCENTILE = 'DSF_PFS';
export const IS_EXCEEDS_THRESH_FOR_DIESEL_PM = 'DS_ET';
export const TRAVEL_DISADV_PERCENTILE = 'TD_PFS';
export const IS_EXCEEDS_THRESH_TRAVEL_DISADV = 'TD_ET';
export const TRAFFIC_PERCENTILE = 'TF_PFS';
export const IS_EXCEEDS_THRESH_FOR_TRAFFIC_PROX = 'TP_ET';
// Housing category
export const IS_HOUSING_FACTOR_DISADVANTAGED_M = 'M_HSG';
export const IS_HOUSING_EXCEED_ONE_OR_MORE_INDICATORS_M = 'M_HSG_EOMI';
export const IS_HOUSING_FACTOR_DISADVANTAGED = 'N_HSG';
export const IS_HOUSING_EXCEED_ONE_OR_MORE_INDICATORS = 'N_HSG_EOMI';
export const HISTORIC_UNDERINVESTMENT_EXCEED_THRESH = 'HRS_ET';
export const HISTORIC_UNDERINVESTMENT_RAW_YES = '1';
export const HOUSING_BURDEN_PROPERTY_PERCENTILE = 'HBF_PFS';
export const IS_EXCEEDS_THRESH_FOR_HOUSE_BURDEN = 'HB_ET';
export const IMPERVIOUS_PERCENTILE = 'IS_PFS';
export const IS_EXCEEDS_THRESH_IMPERVIOUS = 'IS_ET';
export const KITCHEN_PLUMB_PERCENTILE = 'KP_PFS';
export const IS_EXCEEDS_THRESH_KITCHEN_PLUMB = 'KP_ET';
export const LEAD_PAINT_PERCENTILE = 'LPF_PFS';
export const IS_EXCEEDS_THRESH_FOR_LEAD_PAINT_AND_MEDIAN_HOME_VAL = 'LPP_ET';
// export const MEDIAN_HOME_VALUE_PERCENTILE = 'MHVF_PFS'; // No longer showing in UI
// Pollution category
export const IS_POLLUTION_FACTOR_DISADVANTAGED_M = 'M_PLN';
export const IS_POLLUTION_EXCEED_ONE_OR_MORE_INDICATORS_M = 'M_PLN_EOMI';
export const IS_POLLUTION_FACTOR_DISADVANTAGED = 'N_PLN';
export const IS_POLLUTION_EXCEED_ONE_OR_MORE_INDICATORS = 'N_PLN_EOMI';
export const AML_RAW_YES = 1;
export const ABANDON_LAND_MINES_EXCEEDS_THRESH = 'AML_ET';
export const FORMER_DEF_SITES_RAW_VALUE = 'FUDS_RAW';
export const FUDS_RAW_YES = 1;
export const FUDS_RAW_NO = 0;
export const FORMER_DEF_SITES_EXCEEDS_THRESH = 'FUDS_ET';
export const PROXIMITY_TSDF_SITES_PERCENTILE = 'TSDF_PFS';
export const IS_EXCEEDS_THRESH_FOR_HAZARD_WASTE = 'TSDF_ET';
@ -128,16 +178,19 @@ export const IS_EXCEEDS_THRESH_FOR_RMP = 'RMP_ET';
// Water category
export const IS_WATER_FACTOR_DISADVANTAGED_M = 'M_WTR';
export const IS_WATER_EXCEED_ONE_OR_MORE_INDICATORS_M = 'M_WTR_EOMI';
export const IS_WATER_FACTOR_DISADVANTAGED = 'N_WTR';
export const IS_WATER_EXCEED_ONE_OR_MORE_INDICATORS = 'N_WTR_EOMI';
export const LEAKY_UNDER_PERCENTILE = 'UST_PFS';
export const IS_EXCEEDS_THRESH_LEAKY_UNDER = 'UST_ET';
export const WASTEWATER_PERCENTILE = 'WF_PFS';
export const IS_EXCEEDS_THRESH_FOR_WASTEWATER = 'WD_ET';
// Health category
export const IS_HEALTH_FACTOR_DISADVANTAGED_M = 'M_HLTH';
export const IS_HEALTH_EXCEED_ONE_OR_MORE_INDICATORS_M = 'M_HLTH_EOMI';
export const IS_HEALTH_FACTOR_DISADVANTAGED = 'N_HLTH';
export const IS_HEALTH_EXCEED_ONE_OR_MORE_INDICATORS = 'N_HLTH_EOMI';
export const ASTHMA_PERCENTILE = 'AF_PFS';
export const IS_EXCEEDS_THRESH_FOR_ASTHMA = 'A_ET';
@ -153,8 +206,8 @@ export const IS_EXCEEDS_THRESH_FOR_LOW_LIFE_EXP = 'LLE_ET';
// Workforce category
export const IS_WORKFORCE_FACTOR_DISADVANTAGED_M = 'M_WKFC';
export const IS_WORKFORCE_EXCEED_ONE_OR_MORE_INDICATORS_M = 'M_WKFC_EOMI';
export const IS_WORKFORCE_FACTOR_DISADVANTAGED = 'N_WKFC';
export const IS_WORKFORCE_EXCEED_ONE_OR_MORE_INDICATORS = 'N_WKFC_EOMI';
export const LINGUISTIC_ISOLATION_PROPERTY_PERCENTILE = 'LIF_PFS';
export const IS_EXCEEDS_THRESH_FOR_LINGUISITIC_ISO = 'LISO_ET';
@ -174,32 +227,43 @@ export const IS_EXCEEDS_THRESH_FOR_BELOW_100_POVERTY = 'POV_ET';
export const ISLAND_AREAS_POVERTY_LOW_HS_EDU_PERCENTILE_FIELD= 'IAPLHSE_PFS';
export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_BELOW_100_POVERTY = 'IA_POV_ET';
export const IS_WORKFORCE_EXCEED_BOTH_SOCIO_INDICATORS_M = 'M_WKFC_EBSI';
export const IS_WORKFORCE_EXCEED_BOTH_SOCIO_INDICATORS = 'N_WKFC_EBSI';
export const HIGH_SCHOOL_PROPERTY_PERCENTILE = `HSEF`;
export const IS_LOW_HS_EDUCATION_LOW_HIGHER_ED_PRIORITIZED = 'LHE';
export const ISLAND_AREAS_HS_EDU_PERCENTAGE_FIELD= 'IAHSEF';
export const ISLAND_AREA_LOW_HS_EDU = 'IALHE';
// Misc category
export const ADJACENCY_EXCEEDS_THRESH = 'ADJ_ET';
export const ADJACENCY_LOW_INCOME_EXCEEDS_THRESH = 'AJDLI_ET';
export const IMPUTE_FLAG = 'IMP_FLG';
// ********** MAP CONSTANTS ***************
// Source name constants
export const BASE_MAP_SOURCE_NAME = 'base-map-source-name';
export const HIGH_ZOOM_SOURCE_NAME = 'high-zoom-source-name';
export const LOW_ZOOM_SOURCE_NAME = 'low-zoom-source-name';
export const TRIBAL_SOURCE_NAME = 'tribal-source-name';
// Layer ID constants
export const SCORE_SOURCE_LAYER = 'blocks'; // The name of the layer within the tiles that contains the score
export const TRIBAL_SOURCE_LAYER = 'blocks';
export const BASE_MAP_LAYER_ID = 'base-map-layer-id';
export const HIGH_ZOOM_LAYER_ID = 'high-zoom-layer-id';
export const PRIORITIZED_HIGH_ZOOM_LAYER_ID = 'prioritized-high-zoom-layer-id';
export const LOW_ZOOM_LAYER_ID = 'low-zoom-layer-id';
export const FEATURE_BORDER_LAYER_ID = 'feature-border-layer-id';
export const SELECTED_FEATURE_BORDER_LAYER_ID = 'selected-feature-border-layer-id';
export const TRIBAL_LAYER_ID = 'tribal-layer-id';
export const SELECTED_TRIBAL_FEATURE_BORDER_LAYER_ID = 'selected-feature-tribal-border-layer-id';
export const TRIBAL_ALASKA_POINTS_LAYER_ID = 'tribal-alaska-points-layer-id';
// Used in layer filters:
export const SCORE_PROPERTY_LOW = 'M_SCORE';
export const SCORE_PROPERTY_HIGH = 'SM_PFS';
export const SCORE_PROPERTY_LOW = 'SCORE';
export const SCORE_PROPERTY_HIGH = 'SN_C';
// Zoom
export const GLOBAL_MIN_ZOOM = 3;
@ -213,21 +277,31 @@ export const GLOBAL_MAX_ZOOM_HIGH = 11;
export const GLOBAL_MIN_ZOOM_FEATURE_BORDER = 5;
export const GLOBAL_MAX_ZOOM_FEATURE_BORDER = 22;
export const TRIBAL_MIN_ZOOM = 3;
export const TRIBAL_MAX_ZOOM = 22;
// Opacity
export const FEATURE_BORDER_OPACITY = 0.5;
export const HIGH_ZOOM_PRIORITIZED_FEATURE_FILL_OPACITY = 0.3;
export const LOW_ZOOM_PRIORITIZED_FEATURE_FILL_OPACITY = 0.6;
export const NON_PRIORITIZED_FEATURE_FILL_OPACITY = 0;
export const TRIBAL_FEATURE_FILL_OPACITY = 0.3;
// Colors
export const FEATURE_BORDER_COLOR = '#4EA5CF';
export const SELECTED_FEATURE_BORDER_COLOR = '#1A4480';
export const PRIORITIZED_FEATURE_FILL_COLOR = '#768FB3';
export const TRIBAL_BORDER_COLOR = '##4EA5CF';
export const SELECTED_TRIBAL_BORDER_COLOR = '#1A4480';
export const TRIBAL_FILL_COLOR = '#768FB3';
export const TRIBAL_ALASKA_CIRCLE_FILL_COLOR = '#768FB3';
export const TRIBAL_ALASKA_CIRCLE_RADIUS = 5;
// Widths
export const FEATURE_BORDER_WIDTH = 0.8;
export const SELECTED_FEATURE_BORDER_WIDTH = 5.0;
export const ALAKSA_POINTS_STROKE_WIDTH = 1.0;
// Bounds - these bounds can be obtained by using the getCurrentMapBoundingBox() function in the map
export const GLOBAL_MAX_BOUNDS: LngLatBoundsLike = [

View file

@ -26,10 +26,12 @@ export const ERROR_MSG =
<FormattedMessage
id={'pageNotFound.apology.text'}
defaultMessage={`
Sorry, the page you were looking for was not found. Click <link1>home</link1> to go home.
`}
Sorry, the page you are looking for is not found. <link1>Explore the map</link1> or learn
more <link2>about</link2> the tool.
`}
description={'main error message'}
values={{
link1: linkFn(PAGES_ENDPOINTS.METHODOLOGY, true, false),
link1: linkFn(PAGES_ENDPOINTS.EXPLORE, true, false),
link2: linkFn(PAGES_ENDPOINTS.ABOUT, true, false),
}}
/>;

View file

@ -2,149 +2,158 @@
import React from 'react';
import {defineMessages} from 'react-intl';
import {FormattedMessage} from 'gatsby-plugin-intl';
import {italicFn, linkFn, FEEDBACK_EMAIL} from './common';
import {italicFn, linkFn} from './common';
import {VERSION_NUMBER} from './methodology';
import {PAGES_ENDPOINTS} from '../constants';
export const EXEC_ORDER_LINK = 'https://www.federalregister.gov/documents/2021/02/01/2021-02177/tackling-the-climate-crisis-at-home-and-abroad#:~:text=Sec.%20223.%20Justice40,40-percent%20goal.';
export const FAQS_LINK = 'https://www.whitehouse.gov/wp-content/uploads/2022/02/CEQ-CEJST-QandA.pdf';
export const FED_RECOGNIZED_INDIAN_ENTITIES = `https://www.federalregister.gov/documents/2022/01/28/2022-01789/indian-entities-recognized-by-and-eligible-to-receive-services-from-the-united-states-bureau-of`;
export const EJSCREEN = 'https://www.epa.gov/ejscreen/how-does-epa-use-ejscreen';
export const PAGE = defineMessages({
TILE: {
TITLE: {
id: 'about.page.title.text',
defaultMessage: 'About',
description: 'Navigate to the About page. This is the about page title text',
},
HEADING: {
id: 'about.page.heading.text',
defaultMessage: 'About',
description: 'Navigate to the About page. This is the first heading',
},
HEADING_1: {
id: 'about.page.heading.1.text',
defaultMessage: 'Screening tool',
description: 'Navigate to the About page. This is the second heading',
},
HEADING1_DESCRIPTION2: {
id: 'about.page.sub.header.1.text.2',
defaultMessage: 'The current version of the tool is in a public beta form and'+
' will be updated based on feedback and research.',
description: 'Navigate to the About page. This is first heading description',
},
HEADING_2: {
id: 'about.page.sub.header.2.text',
defaultMessage: 'The Justice40 Initiative',
description: 'Navigate to the About page. This is the third heading',
},
HEADING2_DESCRIPTION1: {
id: 'about.page.sub.header.2.text.1',
defaultMessage: `
The tool will provide important information for the Justice40 Initiative. The goal of the
Justice40 Initiative is to provide 40 percent of the overall benefits of certain Federal
investments in seven key areas to disadvantaged communities. These seven key areas are: climate
change, clean energy and energy efficiency, clean transit, affordable and sustainable
housing, training and workforce development, the remediation and reduction of legacy pollution,
and the development of critical clean water infrastructure.
`,
description: 'Navigate to the About page. This is the third heading description',
},
HEADING_3: {
id: 'about.page.sub.header.3.text',
defaultMessage: 'Still have questions?',
description: 'Navigate to the About page. This is the fourth heading',
},
});
export const HEADING_1 = {
DESCRIPTION_1:
export const CONTENT = {
PARA1:
<FormattedMessage
id={'about.page.sub.header.1.text.1'}
description={'Navigate to the About page. This is the second heading description'}
id={'about.page.paragraph.1'}
defaultMessage={`
In <link1>Executive Order 14008</link1> on <italictag>Tackling the Climate Crisis at Home and Abroad</italictag>, President Biden directed the Council on Environmental Quality (CEQ)
to create a Climate and Economic Justice Screening Tool. The purpose of the tool is to help
Federal agencies identify disadvantaged communities that are marginalized, underserved, and
overburdened by pollution. The current version of the tool provides socioeconomic, environmental,
and climate information to inform decisions that may affect these communities. The
tool identifies disadvantaged communities through publicly-available, nationally-consistent datasets.
In January of 2020, President Biden issued <link1>Executive Order 14008</link1>. The order directed the Council on Environmental Quality (CEQ) to develop a new tool. This tool is called the Climate and Economic Justice Screening Tool. The tool has an interactive map and uses datasets that are indicators of burdens in eight categories: climate change, energy, health, housing, legacy pollution, transportation, water and wastewater, and workforce development. The tool uses this information to identify communities that are experiencing these burdens. These are the communities that are disadvantaged because they are overburdened and underserved.
`}
description={'Navigate to the About page. This is the paragraph 1'}
values={{
link1: linkFn(EXEC_ORDER_LINK, false, true),
italictag: italicFn,
}}
/>,
};
export const HEADING_3 = {
DESCRIPTION_1:
PARA2:
<FormattedMessage
id={'about.page.sub.header.3.text.1'}
defaultMessage={`Find answers on the Climate and Economic Justice Screening Tool's <link1>Frequently Asked Questions</link1>.
`}
description={'Navigate to the About page. This is the second heading description'}
values={{
link1: linkFn(FAQS_LINK, false, true),
}}
/>,
};
export const HEADING_2 = {
DESCRIPTION_2:
<FormattedMessage
id={'about.page.sub.header.2.text.2'}
description={'about page sub header text'}
id={'about.page.paragraph.2'}
defaultMessage={`
Read more about the Justice40 Initiative in President Bidens
<link1>Executive Order 14008</link1> on <italictag>Tackling the Climate Crisis at Home and Abroad</italictag>.
Federal agencies will use the tool to help identify disadvantaged communities that will benefit from programs included in the <link1>Justice40 Initiative</link1>. The Justice40 Initiative seeks to deliver 40% of the overall benefits of investments in climate, clean energy, and related areas to disadvantaged communities.
`}
description={'Navigate to the About page. This is the paragraph 2'}
values={{
link1: linkFn(EXEC_ORDER_LINK, false, true),
italictag: italicFn,
}}
/>,
PARA3:
<FormattedMessage
id={'about.page.paragraph.3'}
defaultMessage={`
Federal agencies should also use the following:
`}
description={'Navigate to the About page. This is the paragraph 3'}
/>,
LI1:
<FormattedMessage
id={'about.page.list.item.1'}
defaultMessage={`
Addendum to the Justice40 Initiative Interim Guidance on Using CEJST
`}
description={'Navigate to the About page. This is the list item 1'}
/>,
LI2:
<FormattedMessage
id={'about.page.list.item.2'}
defaultMessage={`
Instructions to Federal Agencies on Using the CEJST
`}
description={'Navigate to the About page. This is the list item 2'}
/>,
PARA4:
<FormattedMessage
id={'about.page.paragraph.4'}
defaultMessage={`
CEQ will update the tool each year based on public feedback, research, and the availability of new data. The current version of the tool is version {version}. <link1>Sign-up</link1> for updates from CEQ
`}
description={'Navigate to the About page. This is the paragraph 4'}
values={{
version: VERSION_NUMBER,
link1: linkFn('https://lp.constantcontactpages.com/su/Vm8pCFj/spring', false, true),
}}
/>,
PARA5:
<FormattedMessage
id={'about.page.paragraph.5'}
defaultMessage={`
A Spanish version of the site will be available in the near future.
`}
description={'Navigate to the About page. This is the paragraph 5'}
/>,
USE_DATA_PARA:
<FormattedMessage
id={'about.page.use.data.paragraph'}
defaultMessage={`
The tool's data is available for <link1>download</link1>. This data can be used to filter by state or county.
`}
description={'Navigate to the About page. This is the paragraph 4'}
values={{
link1: linkFn(PAGES_ENDPOINTS.DOWNLOADS, true, false),
}}
/>,
HOW_TO_USE_PARA1:
<FormattedMessage
id={'about.page.how.to.use.tool.para1'}
defaultMessage={`
The tool shows information about the burdens that communities experience. It uses datasets to identify indicators of burdens. The tool shows these burdens in census tracts. Census tracts are small units of geography. Census tract boundaries for <link1>statistical areas</link1> are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2010. This was chosen because many of the data sources in the tool currently use the 2010 census boundaries. The tool also shows land within the boundaries of Federally Recognized Tribes and point locations for Alaska Native Villages.
`}
description={'Navigate to the About page. This is the paragraph 4'}
values={{
link1: linkFn(PAGES_ENDPOINTS.METHODOLOGY, true, false),
}}
/>,
HOW_TO_USE_PARA3:
<FormattedMessage
id={'about.page.how.to.use.para3'}
defaultMessage={`
A community is considered to be disadvantaged if they are located within a census tract that meets the tools <link1>methodology</link1> or are on land within the boundaries of Federally Recognized Tribes.
`}
description={'Navigate to the About page. This is the paragraph 4'}
values={{
link1: linkFn(PAGES_ENDPOINTS.METHODOLOGY, true, false),
}}
/>,
};
export const GITHUB_LINK = 'https://github.com/usds/justice40-tool';
export const HOW_TO_GET_STARTED = defineMessages({
export const HOW_TO_USE_TOOL = defineMessages({
TITLE: {
id: 'about.page.howToGetStarted.title',
defaultMessage: 'How to get started',
description: 'Navigate to the About page. This is the sub heading of page',
id: 'about.page.how.to.use.tool.title',
defaultMessage: 'How to use the tool',
description: 'Navigate to the About page. This is the sub heading of How to use the tool',
},
FEDERAL_PM_HEADING: {
id: 'about.page.federal.pm.heading',
defaultMessage: 'Federal program managers',
description: 'Navigate to the About page. This is the sub heading of page',
PARA2: {
id: 'about.page.how.to.use.tool.para2',
defaultMessage: 'The tool ranks most of the burdens using percentiles. Percentiles show how much burden each tract experiences compared to other tracts. Certain burdens use percentages or a simple yes/no.',
description: 'Navigate to the About page. This is the sub heading of How to use the tool paragraph1',
},
FEDERAL_PM_INFO: {
id: 'about.page.federal.pm.info',
USE_MAP_HEADING: {
id: 'about.page.use.map.heading',
defaultMessage: 'Using the map',
description: 'Navigate to the About page. This is the sub heading of Using the map',
},
USE_MAP_PARA: {
id: 'about.page.use.map.para',
defaultMessage: `
Download the tools current list of communities, explore data that may be useful to your
program, and provide feedback on the tool.
Zoom in and select any census tract to see if it is considered disadvantaged.
`,
description: 'Navigate to the About page. This is the sub heading of page',
description: 'Navigate to the About page. This is the paragraph of Using the map',
},
FEDERAL_PM_LINK_TEXT: {
id: 'about.page.federal.pm.link',
defaultMessage: 'Methodology & data',
description: 'link text to Navigate to the About page. This is the go to methodology page',
},
COMMUNITY_MEMBERS_HEADING: {
id: 'about.page.community.members.heading',
defaultMessage: 'Community members',
description: 'Navigate to the About page. This is the sub heading of page',
},
COMMUNITY_MEMBERS_INFO: {
id: 'about.page.community.members.info',
defaultMessage: `
Explore data about communities across the U.S., including your own, and provide feedback on the tool.
`,
description: 'Navigate to the About page. This is the sub heading of page',
},
COMMUNITY_MEMBERS_LINK_TEXT: {
id: 'about.page.community.members.link',
defaultMessage: 'Explore the map',
description: 'link to Navigate to the About page. This is the explore the map page',
USE_DATA_HEADING: {
id: 'about.page.use.data.heading',
defaultMessage: 'Using the data',
description: 'Navigate to the About page. This is the sub heading of Using the data',
},
});
@ -162,7 +171,7 @@ export const GET_INVOLVED = defineMessages({
SEND_FEEDBACK_INFO: {
id: 'about.page.send.feedback.info',
defaultMessage: `
Have ideas about data and information that reflect the experiences and conditions of your community?
Have ideas for the tool? Contact the Council on Environmental Qualitys (CEQ).
`,
description: 'Navigate to the About page. This is the sending feedback information',
},
@ -191,11 +200,53 @@ export const GET_INVOLVED_COMMENTS = {
id={'about.page.send.feedback.email.link'}
description={'about page sub header text'}
defaultMessage={`
Email: {email}
Contact
`}
values={{
email: FEEDBACK_EMAIL,
}}
/>,
};
export const HOW_YOU_CAN_HELP_LIST_ITEMS = {
HEADING: <FormattedMessage
id={'about.page.how.you.can.help.heading'}
defaultMessage={`How you can help improve the map`}
description={`Navigate to the about page. You will see How you can help`}
/>,
LIST_ITEM_1: <FormattedMessage
id={'about.page.how.you.can.help.list.item.1'}
defaultMessage={`Provide <link1>general feedback</link1> on the CEJST website`}
description={`Navigate to the about page. You will see How you can help list item 1`}
values={{
link1: linkFn('https://www.surveymonkey.com/r/P3LWTSB', false, true),
}}
/>,
LIST_ITEM_2: <FormattedMessage
id={'about.page.how.you.can.help.list.item.2'}
defaultMessage={`Suggest new <link1>data sources</link1>.`}
description={`Navigate to the about page. You will see How you can help list item 2`}
values={{
link1: linkFn('https://www.surveymonkey.com/r/6G9TQJ8', false, true),
}}
/>,
LIST_ITEM_3: <FormattedMessage
id={'about.page.how.you.can.help.list.item.3'}
defaultMessage={`Have feedback about a specific census tract? You can either click here or click the “Send Feedback” button on the side-panel of a census tract on the map.`}
description={`Navigate to the about page. You will see How you can help list item 3`}
/>,
LIST_ITEM_4: <FormattedMessage
id={'about.page.how.you.can.help.list.item.4'}
defaultMessage={`Any other questions? The best way to contact the Council on Environmental Quality (CEQ) is by filling out this <link2>form</link2> . Otherwise, email: <link1>Screeningtool-Support@omb.eop.gov</link1>`}
description={`Navigate to the about page. You will see How you can help list item 3`}
values={{
link1: linkFn(PAGES_ENDPOINTS.METHODOLOGY, true, false),
link2: linkFn('https://www.surveymonkey.com/r/5LZ7MNB', false, true),
}}
/>,
PARA1: <FormattedMessage
id={'about.page.how.you.can.help.para.1'}
defaultMessage={`
The Council on Environmental Quality plans to issue a Request for Information in 2023. This will give the public time to use the tool before providing comments.
`}
description={`Navigate to the about page. You will see How you can help list item 3`}
/>,
};

View file

@ -20,7 +20,7 @@ export interface IDefineMessage {
* */
export const italicFn = (str:string) => <i>{str}</i>;
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) => <DownloadLink href={href} linkText={str} />;
// eslint-disable-next-line max-len
@ -28,21 +28,25 @@ export const linkFn = (to:string | IDefineMessage, isInternal:boolean, isOpenNew
export const FEEDBACK_EMAIL = 'Screeningtool-Support@omb.eop.gov';
export const METH_1_0_RELEASE_DATE = new Date(2022, 10, 22, 11, 59, 59); // Nov 22 2022
export const METH_BETA_RELEASE_DATE = new Date(2022, 1, 18, 11, 59, 59); // Feb 18 2022
// Beta Banner
export const BETA_BANNER = defineMessages({
TITLE: {
id: 'common.pages.banner.beta.title',
defaultMessage: 'This is a beta site.',
description: 'Navigate to the about page. This is the main title of the beta banner',
},
INFO: {
id: 'common.pages.banner.beta.info',
defaultMessage: `It is an early, in-progress version of the tool with limited datasets that will
be regularly updated.`,
description: 'Navigate to the about page. This is the main info of the beta banner',
},
});
export const BETA_BANNER_CONTENT = <FormattedMessage
id={'common.pages.alerts.banner.beta.content'}
defaultMessage={`<bold1>This tool has been updated.</bold1> The 1.0 version of the tool was released on {relDate}.`}
description={`Alert body that appears on landing page.`}
values={{
bold1: boldFn,
relDate: <FormattedDate
value={METH_1_0_RELEASE_DATE}
year="numeric"
month="short"
day="numeric"
/>,
}}
/>;
export const TSD = defineMessages({
URL: {
@ -58,22 +62,21 @@ export const RFI_EXPIRATION_DATE= new Date(2022, 4, 25, 11, 59, 59); // May 25
export const ALERTS = {
ALERT_1_TITLE: defineMessages({
TITLE: {
id: 'common.pages.alerts.public_comment_period.title',
defaultMessage: 'Public comment period extended',
id: 'common.pages.alerts.version.1.release..title',
defaultMessage: 'Version 1.0 of the tool is now available',
description: 'Alert title that appears on landing page.',
},
}),
EXPIRATION_DATE: RFI_EXPIRATION_DATE,
ALERT_1_DESCRIPTION: <FormattedMessage
id={'common.pages.alerts.public_comment_period.description'}
defaultMessage={`The public comment period for <link1>sending feedback</link1> via the Request for Information has been extended to {expDate1}.`}
defaultMessage={`The Council on Environmental Quality (CEQ) made the version 1.0 of the tool available on {ver1RelDate}. For more information about the improvements to the tool, CEQs press release will be coming soon.`}
description={`Alert body that appears on landing page.`}
values={{
link1: linkFn('https://www.federalregister.gov/documents/2022/04/25/2022-08774/climate-and-economic-justice-screening-tool-beta-version', false, true),
expDate1: <FormattedDate
value={RFI_EXPIRATION_DATE}
ver1RelDate: <FormattedDate
value={METH_1_0_RELEASE_DATE}
year="numeric"
month="short"
month="numeric"
day="numeric"
/>,
}}
@ -101,13 +104,8 @@ export const ALERTS = {
export const HEADER = defineMessages({
TITLE_LINE_1: {
id: 'common.pages.header.title.line1',
defaultMessage: `Climate and Economic Justice`,
description: 'Navigate to the about page. This is Title in nav header line 1 of 2',
},
TITLE_LINE_2: {
id: 'common.pages.header.title.line2',
defaultMessage: `Screening Tool`,
description: 'Navigate to the about page. This is Title in nav header line 2 of 2',
defaultMessage: `Climate and Economic Justice Screening Tool`,
description: 'Navigate to the about page. This is Title in nav header',
},
ABOUT: {
id: 'common.pages.header.about',
@ -134,7 +132,7 @@ export const HEADER = defineMessages({
defaultMessage: 'Downloads',
description: 'Navigate to the about page. This is Header navigate item to the downloads page',
},
FAQs: {
FAQS: {
id: 'common.pages.header.faqs',
defaultMessage: 'Frequently asked questions',
description: 'Navigate to the about page. This is Header navigate item to the faqs page',
@ -149,6 +147,11 @@ export const HEADER = defineMessages({
defaultMessage: 'Technical Support Document',
description: 'Navigate to the about page. This is Header navigate item to the technical support document page',
},
PREVIOUS_VERSIONS: {
id: 'common.pages.header.tsd',
defaultMessage: 'Previous versions',
description: 'Navigate to the about page. This is Header navigate item to the technical support document page',
},
});
// Footer
@ -163,26 +166,21 @@ export const FOOTER = defineMessages({
defaultMessage: 'Council on Environmental Quality',
description: 'Navigate to the about page. This is Footer under logo',
},
SIGN_UP: {
id: 'common.pages.footer.sign.up',
defaultMessage: 'Sign up for updates',
description: 'Navigate to the about page. This is Footer under Sign-up for updates',
},
SIGN_UP_LINK: {
id: 'common.pages.footer.sign.up.link',
defaultMessage: 'https://lp.constantcontactpages.com/su/Vm8pCFj/spring',
description: 'Navigate to the about page. This is Footer link under Sign-up for updates',
},
MORE_INFO: {
id: 'common.pages.footer.moreinfoheader',
defaultMessage: 'More information',
description: 'Navigate to the about page. This is Footer column header',
},
ENG_CAL: {
id: 'common.pages.footer.eng.cal.text',
defaultMessage: 'Engagement calendar',
description: 'Navigate to the about page. This is Footer eng.cal.gov link text',
},
RFI: {
id: 'common.pages.footer.rfi.text',
defaultMessage: 'Request for Information',
description: 'Navigate to the about page. This is Footer rfi link text',
},
RFI_LINK: {
id: 'common.pages.footer.rfi.link',
defaultMessage: 'https://www.federalregister.gov/d/2022-03920',
description: 'Navigate to the about page. This is Footer rfi link',
},
WHITEHOUSE: {
id: 'common.pages.footer.whitehouse.text',
defaultMessage: 'Whitehouse.gov',
@ -250,6 +248,14 @@ export const FOOTER_CEQ_ADDRESS = {
STREET: '730 Jackson Pl NW',
CITY_STATE: 'Washington, D.C. 20506',
PHONE: '(202) 395-5750',
// SIGN_UP: <FormattedMessage
// id={'common.pages.footer.sign.up.updates'}
// defaultMessage={`<link1>Sign-up</link1> for updates`}
// description={`Alert title that appears at the top of pages.`}
// values={{
// link1: linkFn('https://lp.constantcontactpages.com/su/Vm8pCFj/spring', false, true),
// }}
// />,
}
;

View file

@ -3,7 +3,6 @@ import React from 'react';
import {defineMessages} from 'react-intl';
import {FormattedDate, FormattedMessage} from 'gatsby-plugin-intl';
import * as COMMON_COPY from './common';
import {PAGES_ENDPOINTS} from '../constants';
export const PAGE_INTRO = defineMessages({
PAGE_TILE: {
@ -18,22 +17,17 @@ export const PAGE_INTRO = defineMessages({
},
PAGE_SUB_HEADING: {
id: 'contact.page.sub.header.text',
defaultMessage: 'Email us',
description: 'Navigate to the contact page, this is the contact page sub header text',
},
PAGE_DESCRIPTION: {
id: 'contact.page.sub.header.text',
defaultMessage: 'Email us',
defaultMessage: 'Contact us',
description: 'Navigate to the contact page, this is the contact page sub header text',
},
SURVEY_TEXT: {
id: 'contact.page.fab.survey.text',
defaultMessage: `Help improve the site & data`,
defaultMessage: `Help improve the tool`,
description: 'Navigate to the contact page, this is the text for floating action button',
},
SURVEY_URL: {
id: 'contact.page.fab.survey.link',
defaultMessage: 'https://www.surveymonkey.com/r/cejst-survey',
defaultMessage: 'https://www.surveymonkey.com/r/P3LWTSB',
description: 'The footer sticky link that links to the CEJST survey',
},
});
@ -61,39 +55,38 @@ export const RFI_BOX_BODY = <FormattedMessage
/>;
export const CENSUS_TRACT_FEEDBACK = {
TITLE: <FormattedMessage
id={'contact.page.census.tract.feedback.title'}
defaultMessage={`Census tract feedback`}
description={'Navigate to the contact page, this is the census tract feedback section'}
/>,
PARAGRAPH1: <FormattedMessage
id={'contact.page.census.tract.feedback.para1'}
defaultMessage={`
To provide feedback about a specific census tract, either select the send feedback button after
selecting a census tract on the <link1>Explore the map</link1> page or use the email address provided above. Please include the census tract ID, county, and state or territory information, in addition to your feedback.
`}
description={'Navigate to the contact page, this is the census tract feedback section'}
values={{
link1: COMMON_COPY.linkFn(PAGES_ENDPOINTS.EXPLORE, true, false),
}}
/>,
PARAGRAPH2: <FormattedMessage
id={'contact.page.census.tract.feedback.para2'}
defaultMessage={`
If there are specific data indicators that could be improved or changed, please include that
information in the body of the email.
`}
description={'Navigate to the contact page, this is the census tract feedback section'}
/>,
// TITLE: <FormattedMessage
// id={'contact.page.census.tract.feedback.title'}
// defaultMessage={`Census tract feedback`}
// description={'Navigate to the contact page, this is the census tract feedback section'}
// />,
// PARAGRAPH1: <FormattedMessage
// id={'contact.page.census.tract.feedback.para1'}
// defaultMessage={`
// To provide feedback about a specific census tract, either select the send feedback button after
// selecting a census tract on the <link1>Explore the map</link1> page or use the email address provided above. Please include the census tract ID, county, and state or territory information, in addition to your feedback.
// `}
// description={'Navigate to the contact page, this is the census tract feedback section'}
// values={{
// link1: COMMON_COPY.linkFn(PAGES_ENDPOINTS.EXPLORE, true, false),
// }}
// />,
// PARAGRAPH2: <FormattedMessage
// id={'contact.page.census.tract.feedback.para2'}
// defaultMessage={`
// If there are specific data indicators that could be improved or changed, please include that
// information in the body of the email.
// `}
// description={'Navigate to the contact page, this is the census tract feedback section'}
// />,
PARAGRAPH3: <FormattedMessage
id={'contact.page.census.tract.feedback.para3'}
defaultMessage={`
In addition, you can provide feedback on the tool via this <link1>survey</link1>.
The best way to contact the Council on Environmental Quality (CEQ) is by filling out <link1>this form</link1>.
`}
description={'Navigate to the survey. Spanish should substitute <link2> to get Spanish link! Already coded to support'}
values={{
link1: COMMON_COPY.linkFn('https://www.surveymonkey.com/r/cejst-survey', false, true),
link2: COMMON_COPY.linkFn('https://www.surveymonkey.com/r/cejst-survey-es', false, true),
link1: COMMON_COPY.linkFn('https://www.surveymonkey.com/r/5LZ7MNB', false, true),
}}
/>,
};

View file

@ -1,8 +1,9 @@
/* eslint-disable max-len */
import React from 'react';
import {defineMessages} from 'react-intl';
import {FormattedMessage, FormattedNumber} from 'gatsby-plugin-intl';
import {FormattedDate, FormattedMessage, FormattedNumber} from 'gatsby-plugin-intl';
import * as COMMON_COPY from './common';
import {VERSION_NUMBER} from './methodology';
export const PAGE_INTRO = defineMessages({
PAGE_TILE: {
@ -15,62 +16,101 @@ export const PAGE_INTRO = defineMessages({
defaultMessage: 'Downloads',
description: 'Navigate to the Downloads page, this will be the page heading1 text',
},
PAGE_HEADING2: {
id: 'downloads.page.heading2.text',
defaultMessage: 'File formats',
description: 'Navigate to the Downloads page, this will be the page heading2 text',
VIEW: {
id: 'downloads.page.view.text',
defaultMessage: 'View',
description: 'Navigate to the Downloads page, this will be the view of change log',
},
PAGE_DESCRIPTION1: {
id: 'downloads.page.description1.text',
defaultMessage: 'The dataset used in the tool, along with a data dictionary and information about how to use the list of communities (.pdf) are available in the following file formats:',
description: 'Navigate to the Downloads page, this will be the page description1 text',
CHANGE_LOG: {
id: 'downloads.page.change.log.text',
defaultMessage: 'release notes',
description: 'Navigate to the Downloads page, this will be the view of release notes',
},
});
const getDownloadFileUrl = (filePath:string | undefined) => {
export const getDownloadFileUrl = (filePath:string | undefined, isBeta: boolean) => {
return [
process.env.GATSBY_CDN_TILES_BASE_URL,
process.env.GATSBY_DATA_PIPELINE_SCORE_PATH,
(isBeta ? process.env.GATSBY_BETA_SCORE_PATH : process.env.GATSBY_1_0_SCORE_PATH),
filePath,
].join('/');
};
// Define meta data on dowload files
export const DOWNLOAD_FILES = {
SCREENING_TOOL_DATA_ZIP: {
SIZE: 53.7, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_SCREENING_TOOL_DATA_ZIP),
LAST_UPDATED: new Date('5/4/2022').getTime(),
NARWAL: {
COMMUNITIES_LIST_XLS: {
SIZE: 35.6, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_XLS, false),
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
COMMUNITIES_LIST_CSV: {
SIZE: 42, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_CSV, false),
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
SHAPE_FILE: {
SIZE: 356.8, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_SHAPE_FILE_ZIP, false),
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
TSD: {
SIZE: 2.4, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_TSD_PDF, false),
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
TSD_ES: {
SIZE: 4.8, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_TSD_ES_PDF, false),
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
HOW_TO_COMMUNITIES: {
SIZE: 687.9, // KB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_COMMUNITIES_LIST_PDF, false),
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
INSTRUCTIONS: {
SIZE: .8, // KB // Todo: Update when actual file is uploaded
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_INSTRUCT_PDF, false),
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
COMP_CHART: {
SIZE: .8, // KB // Todo: Update when actual file is uploaded
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_COMP_CHART_PDF, false),
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
},
COMMUNITIES_LIST_CSV: {
SIZE: 28.1, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_COMMUNITIES_LIST_CSV),
LAST_UPDATED: new Date('5/4/2022').getTime(),
},
COMMUNITIES_LIST_XLS: {
SIZE: 24.9, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_COMMUNITIES_LIST_XLS),
LAST_UPDATED: new Date('5/4/2022').getTime(),
},
SHAPE_FILE: {
SIZE: 741, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_SHAPE_FILE_ZIP),
LAST_UPDATED: new Date('5/4/2022').getTime(),
},
TSD: {
SIZE: 2.5, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_TSD_PDF),
LAST_UPDATED: new Date('5/4/2022').getTime(),
},
TSD_ES: {
SIZE: 2.5, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_TSD_ES_PDF),
LAST_UPDATED: new Date('5/4/2022').getTime(),
},
HOW_TO_COMMUNITIES: {
SIZE: 674, // KB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_HOW_TO_COMMUNITIES_PDF),
LAST_UPDATED: new Date('5/4/2022').getTime(),
BETA: {
COMMUNITIES_LIST_XLS: {
SIZE: 23.7, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_BETA_COMMUNITIES_LIST_XLS, true),
LAST_UPDATED: new Date('10/27/2022').getTime(),
},
COMMUNITIES_LIST_CSV: {
SIZE: 26.8, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_BETA_COMMUNITIES_LIST_CSV, true),
LAST_UPDATED: new Date('10/27/2022').getTime(),
},
SHAPE_FILE: {
SIZE: 351.4, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_BETA_SHAPE_FILE_ZIP, true),
LAST_UPDATED: new Date('10/27/2022').getTime(),
},
TSD: {
SIZE: 2.4, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_TSD_PDF, true),
LAST_UPDATED: new Date('10/27/2022').getTime(),
},
TSD_ES: {
SIZE: 4.8, // MB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_TSD_ES_PDF, true),
LAST_UPDATED: new Date('10/27/2022').getTime(),
},
HOW_TO_COMMUNITIES: {
SIZE: 658.3, // KB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_HOW_TO_COMMUNITIES_PDF, true),
LAST_UPDATED: new Date('10/27/2022').getTime(),
},
},
};
@ -83,7 +123,408 @@ export const getDownloadIconAltTag = () => defineMessages({
},
});
export const RELEASE_1_0 = {
UPDATE_1: <FormattedMessage
id={'download.page.release.update.title.1'}
defaultMessage={`Version {release} Release update - {date}`}
description={'Navigate to the download page. This is first download file link'}
values={{
release: VERSION_NUMBER,
date: <FormattedDate
value={COMMON_COPY.METH_1_0_RELEASE_DATE}
year="numeric"
month="short"
day="numeric"
/>,
}}
/>,
SECTION1: <FormattedMessage
id={'download.page.release.update.SECTION1'}
defaultMessage={`New & improved`}
description={'Navigate to the download page. This is first section of the release update SECTION1'}
/>,
SECTION1_B1: <FormattedMessage
id={'download.page.release.update.SECTION1_B1'}
defaultMessage={`Added lands within the boundaries of Federally Recognized Tribes and
locations of Alaska Native Villages using data from the Bureau of Indian
Affairs at the U.S. Department of the Interior`}
description={'Navigate to the download page. This is SECTION1_B1'}
/>,
SECTION1_B2: <FormattedMessage
id={'download.page.release.update.SECTION1_B2'}
defaultMessage={`Added new data for indicators of burden`}
description={'Navigate to the download page. This is SECTION1_B2'}
/>,
SECTION1_B2_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_1'}
defaultMessage={`Climate change`}
description={'Navigate to the download page. This is SECTION1_B2_1'}
/>,
SECTION1_B2_1_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_1_1'}
defaultMessage={`Projected flood risk`}
description={'Navigate to the download page. This is SECTION1_B2_1_1'}
/>,
SECTION1_B2_1_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_1_2'}
defaultMessage={`Projected wildfire risk`}
description={'Navigate to the download page. This is SECTION1_B2_1_2'}
/>,
SECTION1_B2_1_3: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_1_3'}
defaultMessage={`Historic underinvestment due to redlining`}
description={'Navigate to the download page. This is SECTION1_B2_1_3'}
/>,
SECTION1_B2_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_2'}
defaultMessage={`Housing`}
description={'Navigate to the download page. This is SECTION1_B2_2'}
/>,
SECTION1_B2_2_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_2_1'}
defaultMessage={`Lack of plumbing`}
description={'Navigate to the download page. This is SECTION1_B2_2_1'}
/>,
SECTION1_B2_2_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_2_2'}
defaultMessage={`Lack of green space`}
description={'Navigate to the download page. This is SECTION1_B2_2_2'}
/>,
SECTION1_B2_2_3: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_2_3'}
defaultMessage={`Historic underinvestment (due to redlining)`}
description={'Navigate to the download page. This is SECTION1_B2_2_3'}
/>,
SECTION1_B2_3: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_3'}
defaultMessage={`Legacy pollution`}
description={'Navigate to the download page. This is SECTION1_B2_3'}
/>,
SECTION1_B2_3_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_3_1'}
defaultMessage={`Abandoned mine lands`}
description={'Navigate to the download page. This is SECTION1_B2_3_1'}
/>,
SECTION1_B2_3_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_3_2'}
defaultMessage={`Formerly used defense sites`}
description={'Navigate to the download page. This is SECTION1_B2_3_2'}
/>,
SECTION1_B2_4: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_4'}
defaultMessage={`Transportation`}
description={'Navigate to the download page. This is SECTION1_B2_4'}
/>,
SECTION1_B2_4_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_4_1'}
defaultMessage={`Transportation barriers`}
description={'Navigate to the download page. This is SECTION1_B2_4_1'}
/>,
SECTION1_B2_5: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_5'}
defaultMessage={`Water`}
description={'Navigate to the download page. This is SECTION1_B2_5'}
/>,
SECTION1_B2_5_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B2_5_1'}
defaultMessage={`Leaking underground storage tanks`}
description={'Navigate to the download page. This is SECTION1_B2_5_1'}
/>,
SECTION1_B3: <FormattedMessage
id={'download.page.release.update.SECTION1_B3'}
defaultMessage={`Included communities that are completely surrounded by other
disadvantaged communities and that meet an adjusted low income
threshold`}
description={'Navigate to the download page. This is SECTION1_B3'}
/>,
SECTION1_B4: <FormattedMessage
id={'download.page.release.update.SECTION1_B4'}
defaultMessage={`Made technical changes to enhance accuracy of the tool`}
description={'Navigate to the download page. This is SECTION1_B4'}
/>,
SECTION1_B4_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B4_1'}
defaultMessage={`Removed income data for students enrolled in higher education in the low income indicator`}
description={'Navigate to the download page. This is SECTION1_B4_1'}
/>,
SECTION1_B4_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B4_2'}
defaultMessage={`Imputed income for census tracts missing income data`}
description={'Navigate to the download page. This is SECTION1_B4_2'}
/>,
SECTION1_B4_3: <FormattedMessage
id={'download.page.release.update.SECTION1_B4_3'}
defaultMessage={`Used transportation barriers and expected population loss rate
data burdens only for census tracts with populations of 20 or
more to exclude areas such as airports`}
description={'Navigate to the download page. This is SECTION1_B4_3'}
/>,
SECTION1_B5: <FormattedMessage
id={'download.page.release.update.SECTION1_B5'}
defaultMessage={`Improved the user interface`}
description={'Navigate to the download page. This is SECTION1_B5'}
/>,
SECTION1_B5_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B5_1'}
defaultMessage={`Added demographics (race & age) for census tracts to map side panel`}
description={'Navigate to the download page. This is SECTION1_B5_1'}
/>,
SECTION1_B5_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B5_2'}
defaultMessage={`Improved the design of the map side panel`}
description={'Navigate to the download page. This is SECTION1_B5_2'}
/>,
SECTION1_B5_3: <FormattedMessage
id={'download.page.release.update.SECTION1_B5_3'}
defaultMessage={`Updated the site copy of the website`}
description={'Navigate to the download page. This is SECTION1_B5_3'}
/>,
SECTION1_B6: <FormattedMessage
id={'download.page.release.update.SECTION1_B6'}
defaultMessage={`Added new data for all the U.S. Territories, and also made a small methodology change for Puerto Rico`}
description={'Navigate to the download page. This is SECTION1_B6'}
/>,
SECTION1_B6_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_1'}
defaultMessage={`USVI`}
description={'Navigate to the download page. This is SECTION1_B6_1'}
/>,
SECTION1_B6_1_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_1_1'}
defaultMessage={`Included data from 2010 decennial census for US Virgin Islands`}
description={'Navigate to the download page. This is SECTION1_B6_1_1'}
/>,
SECTION1_B6_1_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_1_2'}
defaultMessage={`New data from EJScreen 2.1`}
description={'Navigate to the download page. This is SECTION1_B6_1_2'}
/>,
SECTION1_B6_1_2_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_1_2_1'}
defaultMessage={`Sustainable Housing:`}
description={'Navigate to the download page. This is SECTION1_B6_1_2_1'}
/>,
SECTION1_B6_1_2_1_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_1_2_1_1'}
defaultMessage={`Lead paint`}
description={'Navigate to the download page. This is SECTION1_B6_1_2_1_1'}
/>,
SECTION1_B6_1_2_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_1_2_2'}
defaultMessage={`Legacy pollution:`}
description={'Navigate to the download page. This is SECTION1_B6_1_2_2'}
/>,
SECTION1_B6_1_2_2_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_1_2_2_1'}
defaultMessage={`Proximity to Superfund (National Priorities List (NPL)) sites`}
description={'Navigate to the download page. This is SECTION1_B6_1_2_2_1'}
/>,
SECTION1_B6_1_2_2_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_1_2_2_2'}
defaultMessage={`Proximity to Risk Management Plan (RMP) sites`}
description={'Navigate to the download page. This is SECTION1_B6_1_2_2_2'}
/>,
SECTION1_B6_1_2_2_3: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_1_2_2_3'}
defaultMessage={`Proximity to hazardous waste facilities`}
description={'Navigate to the download page. This is SECTION1_B6_1_2_2_3'}
/>,
SECTION1_B6_1_2_2_4: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_1_2_2_4'}
defaultMessage={`Leaking underground storage tanks`}
description={'Navigate to the download page. This is SECTION1_B6_1_2_2_4'}
/>,
SECTION1_B6_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_2'}
defaultMessage={`Guam`}
description={'Navigate to the download page. This is SECTION1_B6_2'}
/>,
SECTION1_B6_2_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_2_1'}
defaultMessage={`Included data from 2010 decennial census for Guam`}
description={'Navigate to the download page. This is SECTION1_B6_2_1'}
/>,
SECTION1_B6_3: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_3'}
defaultMessage={`Samoa`}
description={'Navigate to the download page. This is SECTION1_B6_3'}
/>,
SECTION1_B6_4: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_4'}
defaultMessage={`Marianna Islands`}
description={'Navigate to the download page. This is SECTION1_B6_4'}
/>,
SECTION1_B6_5: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_5'}
defaultMessage={`Puerto Rico`}
description={'Navigate to the download page. This is SECTION1_B6_5'}
/>,
SECTION1_B6_5_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_5_1'}
defaultMessage={`Removed linguistic isolation as an indicator in the methodology for Puerto Rico`}
description={'Navigate to the download page. This is SECTION1_B6_5_1'}
/>,
SECTION1_B6_5_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_5_2'}
defaultMessage={`Imported additional available data for Puerto Rico`}
description={'Navigate to the download page. This is SECTION1_B6_5_2'}
/>,
SECTION1_B6_5_2_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_5_2_1'}
defaultMessage={`Energy cost`}
description={'Navigate to the download page. This is SECTION1_B6_5_2_1'}
/>,
SECTION1_B6_5_2_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_5_2_2'}
defaultMessage={`Housing cost`}
description={'Navigate to the download page. This is SECTION1_B6_5_2_2'}
/>,
SECTION1_B6_5_2_3: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_5_2_3'}
defaultMessage={`Abandoned mine lands`}
description={'Navigate to the download page. This is SECTION1_B6_5_2_3'}
/>,
SECTION1_B6_5_2_4: <FormattedMessage
id={'download.page.release.update.SECTION1_B6_5_2_4'}
defaultMessage={`Proximity to hazardous waste sites`}
description={'Navigate to the download page. This is SECTION1_B6_5_2_4'}
/>,
SECTION1_B7: <FormattedMessage
id={'download.page.release.update.SECTION1_B7'}
defaultMessage={`Updated data from EJScreen 2.1 across the entire tool:`}
description={'Navigate to the download page. This is SECTION1_B7'}
/>,
SECTION1_B7_1_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B7_1_1'}
defaultMessage={`Lead paint - 2016-2020`}
description={'Navigate to the download page. This is SECTION1_B7_1_1'}
/>,
SECTION1_B7_2_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B7_2_1'}
defaultMessage={`Proximity to Superfund (National Priorities List (NPL)) sites - 2022`}
description={'Navigate to the download page. This is SECTION1_B7_2_1'}
/>,
SECTION1_B7_2_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B7_2_2'}
defaultMessage={`Proximity to Risk Management Plans (RMP) facilities - 2022`}
description={'Navigate to the download page. This is SECTION1_B7_2_2'}
/>,
SECTION1_B7_2_3: <FormattedMessage
id={'download.page.release.update.SECTION1_B7_2_3'}
defaultMessage={`Proximity to hazardous waste facilities - 2022`}
description={'Navigate to the download page. This is SECTION1_B7_2_3'}
/>,
SECTION1_B7_3: <FormattedMessage
id={'download.page.release.update.SECTION1_B7_3'}
defaultMessage={`Water and wastewater`}
description={'Navigate to the download page. This is SECTION1_B7_3'}
/>,
SECTION1_B7_3_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B7_3_1'}
defaultMessage={`Leaking underground storage tanks - 2022`}
description={'Navigate to the download page. This is SECTION1_B7_3_1'}
/>,
SECTION1_B8: <FormattedMessage
id={'download.page.release.update.SECTION1_B8'}
defaultMessage={`Enhanced the technical files:`}
description={'Navigate to the download page. This is SECTION1_B8'}
/>,
SECTION1_B8_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B8_1'}
defaultMessage={`Added all new data indicators and demographics to .xls, .csv, and shapefiles`}
description={'Navigate to the download page. This is SECTION1_B8_1'}
/>,
SECTION1_B8_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B8_2'}
defaultMessage={`Added previous versions page to access the beta versions
download files`}
description={'Navigate to the download page. This is SECTION1_B8_2'}
/>,
SECTION1_B8_3: <FormattedMessage
id={'download.page.release.update.SECTION1_B8_3'}
defaultMessage={`Updated codebook`}
description={'Navigate to the download page. This is SECTION1_B8_3'}
/>,
SECTION1_B8_4: <FormattedMessage
id={'download.page.release.update.SECTION1_B8_4'}
defaultMessage={`Updated Technical Support Document`}
description={'Navigate to the download page. This is SECTION1_B8_4'}
/>,
SECTION1_B9: <FormattedMessage
id={'download.page.release.update.SECTION1_B9'}
defaultMessage={`Improved the way that users provide feedback on the tool:`}
description={'Navigate to the download page. This is SECTION1_B9'}
/>,
SECTION1_B9_1: <FormattedMessage
id={'download.page.release.update.SECTION1_B9_1'}
defaultMessage={`Data survey`}
description={'Navigate to the download page. This is SECTION1_B9_1'}
/>,
SECTION1_B9_2: <FormattedMessage
id={'download.page.release.update.SECTION1_B9_2'}
defaultMessage={`Site experience survey`}
description={'Navigate to the download page. This is SECTION1_B9_2'}
/>,
SECTION1_B9_3: <FormattedMessage
id={'download.page.release.update.SECTION1_B9_3'}
defaultMessage={`Census tract feedback`}
description={'Navigate to the download page. This is SECTION1_B9_3'}
/>,
SECTION1_B9_4: <FormattedMessage
id={'download.page.release.update.SECTION1_B9_4'}
defaultMessage={`General contact form`}
description={'Navigate to the download page. This is SECTION1_B9_4 '}
/>,
SECTION1_B10: <FormattedMessage
id={'download.page.release.update.SECTION1_B10'}
defaultMessage={`Added a link to sign up for email mailing list managed by CEQ`}
description={'Navigate to the download page. This is SECTION1_B10 '}
/>,
SECTION2: <FormattedMessage
id={'download.page.release.update.section.2'}
defaultMessage={`Fixes`}
description={'Navigate to the download page. This is second section of the release update section'}
/>,
SECTION2_P1: <FormattedMessage
id={'download.page.release.update.section.2.p1'}
defaultMessage={`Bug fix: loaded missing life expectancy data for Maine and Wisconsin`}
description={'Navigate to the download page. This is second section of the release update section'}
/>,
SECTION2_P2: <FormattedMessage
id={'download.page.release.update.section.2.p2'}
defaultMessage={`Bug fix: Census tracts that are 100% water should not be
included on the map`}
description={'Navigate to the download page. This is second section of the release update section'}
/>,
FOOTER: <FormattedMessage
id={'download.page.release.update.footer'}
defaultMessage={`release version {version}`}
description={'Navigate to the download page. This is second section of the release update section'}
values={{
version: VERSION_NUMBER,
}}
/>,
};
export const DOWNLOAD_LINKS = {
TITLE: <FormattedMessage
id={'download.page.files.section.title'}
defaultMessage={`Version {version} file formats`}
description={'Navigate to the download page. This is first download file link'}
values={{
version: VERSION_NUMBER,
}}
/>,
TEXT: <FormattedMessage
id={'downloads.page.files.section.text'}
defaultMessage={ 'The dataset used in the {version} version of the tool, along with a codebook, and information about how to use the list of communities (.pdf) are available for download:'}
description={ 'Navigate to the Downloads page, this will be the page description1 text'}
values={{
version: VERSION_NUMBER,
}}
/>,
LINK1: <FormattedMessage
id={'download.page.download.file.1'}
defaultMessage={`
@ -91,9 +532,9 @@ export const DOWNLOAD_LINKS = {
`}
description={'Navigate to the download page. This is first download file link'}
values={{
link1: COMMON_COPY.downloadLink(DOWNLOAD_FILES.COMMUNITIES_LIST_XLS.URL),
link1: COMMON_COPY.downloadLink(DOWNLOAD_FILES.NARWAL.COMMUNITIES_LIST_XLS.URL),
cldXlsFileSize: <FormattedNumber
value={DOWNLOAD_FILES.COMMUNITIES_LIST_XLS.SIZE}
value={DOWNLOAD_FILES.NARWAL.COMMUNITIES_LIST_XLS.SIZE}
style="unit"
unit="megabyte"
unitDisplay="narrow"
@ -105,9 +546,9 @@ export const DOWNLOAD_LINKS = {
defaultMessage={`<link2>Communities list data</link2> (.csv {cldCsvFileSize})`}
description={'Navigate to the download page. This is second download file link'}
values={{
link2: COMMON_COPY.downloadLink(DOWNLOAD_FILES.COMMUNITIES_LIST_CSV.URL),
link2: COMMON_COPY.downloadLink(DOWNLOAD_FILES.NARWAL.COMMUNITIES_LIST_CSV.URL),
cldCsvFileSize: <FormattedNumber
value={DOWNLOAD_FILES.COMMUNITIES_LIST_CSV.SIZE}
value={DOWNLOAD_FILES.NARWAL.COMMUNITIES_LIST_CSV.SIZE}
style="unit"
unit="megabyte"
unitDisplay="narrow"
@ -116,12 +557,12 @@ export const DOWNLOAD_LINKS = {
/>,
LINK3: <FormattedMessage
id={'download.page.download.file.3'}
defaultMessage={`<link3>Shapefile</link3> (Codebook included with geojson {shapeFileSize} unzipped)`}
defaultMessage={`<link3>Shapefile</link3> (Codebook included with shapefile {shapeFileSize} unzipped)`}
description={'Navigate to the download page. This is third download file link'}
values={{
link3: COMMON_COPY.downloadLink(DOWNLOAD_FILES.SHAPE_FILE.URL),
link3: COMMON_COPY.downloadLink(DOWNLOAD_FILES.NARWAL.SHAPE_FILE.URL),
shapeFileSize: <FormattedNumber
value={DOWNLOAD_FILES.SHAPE_FILE.SIZE}
value={DOWNLOAD_FILES.NARWAL.SHAPE_FILE.SIZE}
style="unit"
unit="megabyte"
unitDisplay="narrow"
@ -133,10 +574,10 @@ export const DOWNLOAD_LINKS = {
defaultMessage={`<link4>Technical support document</link4> (.pdf {tsdFileSize})`}
description={'Navigate to the download page. This is fourth download file link'}
values={{
link4: COMMON_COPY.linkFn(DOWNLOAD_FILES.TSD.URL, false, true),
link4es: COMMON_COPY.linkFn(DOWNLOAD_FILES.TSD_ES.URL, false, true),
link4: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.TSD.URL, false, true),
link4es: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.TSD_ES.URL, false, true),
tsdFileSize: <FormattedNumber
value={DOWNLOAD_FILES.TSD.SIZE}
value={DOWNLOAD_FILES.NARWAL.TSD.SIZE}
style="unit"
unit="megabyte"
unitDisplay="narrow"
@ -148,9 +589,9 @@ export const DOWNLOAD_LINKS = {
defaultMessage={`<link5>How to use the list of communities</link5> (.pdf {howToCommFileSize})`}
description={'Navigate to the download page. This is fifth download file link'}
values={{
link5: COMMON_COPY.linkFn(DOWNLOAD_FILES.HOW_TO_COMMUNITIES.URL, false, true),
link5: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.HOW_TO_COMMUNITIES.URL, false, true),
howToCommFileSize: <FormattedNumber
value={DOWNLOAD_FILES.HOW_TO_COMMUNITIES.SIZE}
value={DOWNLOAD_FILES.NARWAL.HOW_TO_COMMUNITIES.SIZE}
style="unit"
unit="kilobyte"
unitDisplay="narrow"

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,14 @@
/* eslint-disable max-len */
import {defineMessages} from 'react-intl';
import React from 'react';
import {defineMessages, FormattedMessage} from 'gatsby-plugin-intl';
import LinkTypeWrapper from '../../components/LinkTypeWrapper';
import {EJSCREEN, EXEC_ORDER_LINK, FED_RECOGNIZED_INDIAN_ENTITIES} from './about';
import {boldFn, linkFn, FEEDBACK_EMAIL} from './common';
import {PAGES_ENDPOINTS} from '../constants';
import {EXPLORE_PAGE_LINKS} from './explore';
import {DOWNLOAD_FILES} from './downloads';
export const PAGE_INTRO = defineMessages({
PAGE_TILE: {
@ -14,3 +22,622 @@ export const PAGE_INTRO = defineMessages({
description: 'Navigate to the FAQs page, this will be the page coming soon text',
},
});
// If for some reason they key prop doesn't work in the array below, this is here:
// export const QUESTIONS = {
// Q1: <FormattedMessage
// id={ 'faqs.page.Q1'}
// defaultMessage={ 'Q: What is the Climate and Economic Justice Screening Tool (CEJST)?'}
// description={ 'Navigate to the FAQs page, this will be Q1'}
// />,
// Q2: <FormattedMessage
// id={ 'faqs.page.Q2'}
// defaultMessage={ 'Q: How does the tool identify and define communities?'}
// description={ 'Navigate to the FAQs page, this will be Q2'}
// />,
// Q3: <FormattedMessage
// id={ 'faqs.page.Q3'}
// defaultMessage={ 'Q: Is race included in the tools methodology?'}
// description={ 'Navigate to the FAQs page, this will be Q3'}
// />,
// Q4: <FormattedMessage
// id={ 'faqs.page.Q4'}
// defaultMessage={ 'Q: Does the Climate and Economic Justice Screening Tool (CEJST) include the U.S. territories? '}
// description={ 'Navigate to the FAQs page, this will be Q4'}
// />,
// Q5: <FormattedMessage
// id={ 'faqs.page.Q5'}
// defaultMessage={ 'Q: Does the tool include Tribal Nations?'}
// description={ 'Navigate to the FAQs page, this will be Q5'}
// />,
// Q6: <FormattedMessage
// id={ 'faqs.page.Q6'}
// defaultMessage={ 'Q: Why do some areas of the map have different shades?'}
// description={ 'Navigate to the FAQs page, this will be Q6'}
// />,
// Q7: <FormattedMessage
// id={ 'faqs.page.Q7'}
// defaultMessage={ 'Q: Why does the tool have “partially disadvantaged” census tracts?'}
// description={ 'Navigate to the FAQs page, this will be Q7'}
// />,
// Q8: <FormattedMessage
// id={ 'faqs.page.Q8'}
// defaultMessage={ 'Q: How does this tool relate to the Justice40 Initiative?'}
// description={ 'Navigate to the FAQs page, this will be Q8'}
// />,
// Q9: <FormattedMessage
// id={ 'faqs.page.Q9'}
// defaultMessage={ 'Q: How will Federal agencies use the Climate and Economic Justice Screening Tool (CEJST) for the Justice40 Initiative? '}
// description={ 'Navigate to the FAQs page, this will be Q9'}
// />,
// Q10: <FormattedMessage
// id={ 'faqs.page.Q10'}
// defaultMessage={ 'Q: How will this tool be used to inform decisions relating to new investments made through the Bipartisan Infrastructure Law and the Inflation Reduction Act?'}
// description={ 'Navigate to the FAQs page, this will be Q10'}
// />,
// Q11: <FormattedMessage
// id={ 'faqs.page.Q11'}
// defaultMessage={ 'Q: Will agencies use the Climate and Economic Justice Screening Tool (CEJST) if they have already created their own tools or criteria to identify disadvantaged communities?'}
// description={ 'Navigate to the FAQs page, this will be Q11'}
// />,
// Q12: <FormattedMessage
// id={ 'faqs.page.Q12'}
// defaultMessage={ 'Q: How is the Climate and Economic Justice Screening Tool (CEJST) different from the Environmental Protection Agencys (EPA) EJScreen?'}
// description={ 'Navigate to the FAQs page, this will be Q12'}
// />,
// Q13: <FormattedMessage
// id={ 'faqs.page.Q13'}
// defaultMessage={ 'Q: How is this tool different from state screening tools?'}
// description={ 'Navigate to the FAQs page, this will be Q13'}
// />,
// Q14: <FormattedMessage
// id={ 'faqs.page.Q14'}
// defaultMessage={ 'Q: How were the White House Environmental Justice Advisory Council (WHEJAC) recommendations used for this tool?'}
// description={ 'Navigate to the FAQs page, this will be Q14'}
// />,
// Q15: <FormattedMessage
// id={ 'faqs.page.Q15'}
// defaultMessage={ 'Q: Can the public provide feedback on this tool?'}
// description={ 'Navigate to the FAQs page, this will be Q15'}
// />,
// Q16: <FormattedMessage
// id={ 'faqs.page.Q16'}
// defaultMessage={ 'Q: Will CEQ issue another Request for Information about the tool?'}
// description={ 'Navigate to the FAQs page, this will be Q16'}
// />,
// Q17: <FormattedMessage
// id={ 'faqs.page.Q17'}
// defaultMessage={ 'Q: When did the official version of the tool come out?'}
// description={ 'Navigate to the FAQs page, this will be Q17'}
// />,
// Q18: <FormattedMessage
// id={ 'faqs.page.Q18'}
// defaultMessage={ 'Q. How does the Council on Environmental Quality (CEQ) keep people informed about the tool?'}
// description={ 'Navigate to the FAQs page, this will be Q18'}
// />,
// Q19: <FormattedMessage
// id={ 'faqs.page.Q19'}
// defaultMessage={ 'Q: What files and documentation are available from the tool?'}
// description={ 'Navigate to the FAQs page, this will be Q19'}
// />,
// Q20: <FormattedMessage
// id={ 'faqs.page.Q20'}
// defaultMessage={ 'Q: How does the tools shapefile work?'}
// description={ 'Navigate to the FAQs page, this will be Q20'}
// />,
// };
export const QUESTIONS = [
<FormattedMessage
id={ 'faqs.page.Q1'}
key={ 'faqs.page.Q1'}
defaultMessage={ 'Q: What is the Climate and Economic Justice Screening Tool (CEJST)?'}
description={ 'Navigate to the FAQs page, this will be Q1'}
/>,
<FormattedMessage
id={ 'faqs.page.Q2'}
key={ 'faqs.page.Q2'}
defaultMessage={ 'Q: How does the tool identify and define communities?'}
description={ 'Navigate to the FAQs page, this will be Q2'}
/>,
<FormattedMessage
id={ 'faqs.page.Q3'}
key={ 'faqs.page.Q3'}
defaultMessage={ 'Q: Is race included in the tools methodology?'}
description={ 'Navigate to the FAQs page, this will be Q3'}
/>,
<FormattedMessage
id={ 'faqs.page.Q4'}
key={ 'faqs.page.Q4'}
defaultMessage={ 'Q: Does the Climate and Economic Justice Screening Tool (CEJST) include the U.S. territories? '}
description={ 'Navigate to the FAQs page, this will be Q4'}
/>,
<FormattedMessage
id={ 'faqs.page.Q5'}
key={ 'faqs.page.Q5'}
defaultMessage={ 'Q: Does the tool include Tribal Nations?'}
description={ 'Navigate to the FAQs page, this will be Q5'}
/>,
<FormattedMessage
id={ 'faqs.page.Q6'}
key={ 'faqs.page.Q6'}
defaultMessage={ 'Q: Why do some areas of the map have different shades?'}
description={ 'Navigate to the FAQs page, this will be Q6'}
/>,
<FormattedMessage
id={ 'faqs.page.Q7'}
key={ 'faqs.page.Q7'}
defaultMessage={ 'Q: Why does the tool have “partially disadvantaged” census tracts?'}
description={ 'Navigate to the FAQs page, this will be Q7'}
/>,
<FormattedMessage
id={ 'faqs.page.Q8'}
key={ 'faqs.page.Q8'}
defaultMessage={ 'Q: How does this tool relate to the Justice40 Initiative?'}
description={ 'Navigate to the FAQs page, this will be Q8'}
/>,
<FormattedMessage
id={ 'faqs.page.Q9'}
key={ 'faqs.page.Q9'}
defaultMessage={ 'Q: How will Federal agencies use the Climate and Economic Justice Screening Tool (CEJST) for the Justice40 Initiative? '}
description={ 'Navigate to the FAQs page, this will be Q9'}
/>,
<FormattedMessage
id={ 'faqs.page.Q10'}
key={ 'faqs.page.Q10'}
defaultMessage={ 'Q: How will this tool be used to inform decisions relating to new investments made through the Bipartisan Infrastructure Law and the Inflation Reduction Act?'}
description={ 'Navigate to the FAQs page, this will be Q10'}
/>,
<FormattedMessage
id={ 'faqs.page.Q11'}
key={ 'faqs.page.Q11'}
defaultMessage={ 'Q: Will agencies use the Climate and Economic Justice Screening Tool (CEJST) if they have already created their own tools or criteria to identify disadvantaged communities?'}
description={ 'Navigate to the FAQs page, this will be Q11'}
/>,
<FormattedMessage
id={ 'faqs.page.Q12'}
key={ 'faqs.page.Q12'}
defaultMessage={ 'Q: How is the Climate and Economic Justice Screening Tool (CEJST) different from other Federal environmental screening tools, such as EJScreen?'}
description={ 'Navigate to the FAQs page, this will be Q12'}
/>,
<FormattedMessage
id={ 'faqs.page.Q13'}
key={ 'faqs.page.Q13'}
defaultMessage={ 'Q: How is this tool different from state screening tools?'}
description={ 'Navigate to the FAQs page, this will be Q13'}
/>,
<FormattedMessage
id={ 'faqs.page.Q14'}
key={ 'faqs.page.Q14'}
defaultMessage={ 'Q: How were the White House Environmental Justice Advisory Council (WHEJAC) recommendations used for this tool?'}
description={ 'Navigate to the FAQs page, this will be Q14'}
/>,
<FormattedMessage
id={ 'faqs.page.Q15'}
key={ 'faqs.page.Q15'}
defaultMessage={ 'Q: Can the public provide feedback on this tool?'}
description={ 'Navigate to the FAQs page, this will be Q15'}
/>,
// <FormattedMessage
// id={ 'faqs.page.Q16'}
// key={ 'faqs.page.Q16'}
// defaultMessage={ 'Q: Will CEQ issue another Request for Information about the tool?'}
// description={ 'Navigate to the FAQs page, this will be Q16'}
// />,
<FormattedMessage
id={ 'faqs.page.Q17'}
key={ 'faqs.page.Q17'}
defaultMessage={ 'Q: When did the official version of the tool come out?'}
description={ 'Navigate to the FAQs page, this will be Q17'}
/>,
<FormattedMessage
id={ 'faqs.page.Q18'}
key={ 'faqs.page.Q18'}
defaultMessage={ 'Q. How does the Council on Environmental Quality (CEQ) keep people informed about the tool?'}
description={ 'Navigate to the FAQs page, this will be Q18'}
/>,
<FormattedMessage
id={ 'faqs.page.Q19'}
key={ 'faqs.page.Q19'}
defaultMessage={ 'Q: What files and documentation are available from the tool?'}
description={ 'Navigate to the FAQs page, this will be Q19'}
/>,
<FormattedMessage
id={ 'faqs.page.Q20'}
key={ 'faqs.page.Q20'}
defaultMessage={ 'Q: How does the tools shapefile work?'}
description={ 'Navigate to the FAQs page, this will be Q20'}
/>,
];
export const FAQ_ANSWERS = {
Q1_P1: <FormattedMessage
id={ 'faqs.page.answers.Q1_P1'}
defaultMessage={ 'The CEJST is a critical component of the Biden-Harris Administrations historic commitment to advancing environmental justice. In <link1>Executive Order 14008</link1> on Tackling the Climate Crisis at Home and Abroad, President Biden directed the White House Council on Environmental Quality (CEQ) to develop a geospatial mapping tool to identify disadvantaged communities that face burdens. The tool has an interactive map and uses datasets that are indicators of burdens.'}
description={ 'Navigate to the FAQs page, this will be an answer, Q1_P1'}
values={{
link1: linkFn(EXEC_ORDER_LINK, false, true),
}}
/>,
Q1_P2: <FormattedMessage
id={ 'faqs.page.answers.Q1_P2'}
defaultMessage={ 'Federal agencies will use the tool for the Justice40 Initiative. It will help them identify disadvantaged communities that should receive 40% of the overall benefits of programs included in the Justice40 Initiative. The Justice40 Initiative seeks to deliver 40% of the overall benefits in climate, clean energy, and other related areas to disadvantaged communities.'}
description={ 'Navigate to the FAQs page, this will be an answer, Q1_P2'}
/>,
Q1_P3: <FormattedMessage
id={ 'faqs.page.answers.Q1_P3'}
defaultMessage={ 'Other useful links for Federal agencies:'}
description={ 'Navigate to the FAQs page, this will be an answer, Q1_P3'}
/>,
Q1_P3_1: <FormattedMessage
id={ 'faqs.page.answers.Q1_P3_1'}
defaultMessage={ 'Addendum to the Justice40 Interim Guidance'}
description={ 'Navigate to the FAQs page, this will be an answer, Q1_P3_1'}
/>,
Q1_P3_2: <FormattedMessage
id={ 'faqs.page.answers.Q1_P3_2'}
defaultMessage={ 'Instructions to Federal Agencies on Using the CEJST'}
description={ 'Navigate to the FAQs page, this will be an answer, Q1_P3_2'}
/>,
Q1_P4: <FormattedMessage
id={ 'faqs.page.answers.Q1_P4'}
defaultMessage={ 'The public can find communities of interest and provide feedback. This feedback will be used to improve the tool.'}
description={ 'Navigate to the FAQs page, this will be an answer, Q1_P4'}
/>,
Q2_P1: <FormattedMessage
id={ 'faqs.page.answers.Q2_P1'}
defaultMessage={ '<link1>Executive Order 14008</link1> recognizes that some communities are disadvantaged because they face burdens. The CEJST uses datasets that are indicators of burden. These burdens are related to climate change and the environment. They are also related to health and lack of economic opportunity.'}
description={ 'Navigate to the FAQs page, this will be an answer, Q2_P1'}
values={{
link1: linkFn(EXEC_ORDER_LINK, false, true),
}}
/>,
Q2_P2: <FormattedMessage
id={ 'faqs.page.answers.Q2_P2'}
defaultMessage={ 'The tool highlights disadvantaged communities across all 50 states, the District of Columbia, and the U.S. territories. Communities are considered disadvantaged:'}
description={ 'Navigate to the FAQs page, this will be an answer, Q2_P2'}
/>,
Q2_P2_1: <FormattedMessage
id={ 'faqs.page.answers.Q2_P2_1'}
defaultMessage={ 'If they are in a census tract that meets the thresholds for at least one of the tools categories of burden, or'}
description={ 'Navigate to the FAQs page, this will be an answer, Q2_P2_1'}
/>,
Q2_P2_2: <FormattedMessage
id={ 'faqs.page.answers.Q2_P2_2'}
defaultMessage={ 'If they are on land within the boundaries of Federally Recognized Tribes'}
description={ 'Navigate to the FAQs page, this will be an answer, Q2_P2_2'}
/>,
Q2_P3: <FormattedMessage
id={ 'faqs.page.answers.Q2_P3'}
defaultMessage={ 'Not all disadvantaged communities can be shown on the map. Some communities do not live in just one place. The Interim Implementation Guidance on the Justice40 Initiative also directs Federal agencies to consider geographically dispersed communities when implementing programs included in the Justice40 Initiative.'}
description={ 'Navigate to the FAQs page, this will be an answer, Q2_P3'}
/>,
Q2_P4: <FormattedMessage
id={ 'faqs.page.answers.Q2_P4'}
defaultMessage={ 'The tool uses census tracts. Census tracts are small units of geography. Census tract boundaries for <link1>statistical areas</link1> are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2010. This was chosen primarily because many of the data sources in the tool currently use the 2010 census boundaries.'}
description={ 'Navigate to the FAQs page, this will be an answer, Q2_P4'}
values={{
link1: linkFn(`https://www.census.gov/programs-surveys/acs/geography-acs/geography-boundaries-by-year.html`, false, true),
}}
/>,
Q3_P1: <FormattedMessage
id={ 'faqs.page.answers.Q3_P1'}
defaultMessage={ 'No. The Climate and Economic Justice Screening Tool (CEJST) does not use racial demographics in its methodology. The current version of the tool displays data about race and age only to provide information when a census tract is selected.'}
description={ 'Navigate to the FAQs page, this will be an answer, Q3_P1'}
/>,
Q3_P2: <FormattedMessage
id={ 'faqs.page.answers.Q3_P2'}
defaultMessage={ 'It is well-documented that communities of color suffer disproportionately from environmental and health burdens. Due to decades of underinvestment, they also face greater risks from climate change.'}
description={ 'Navigate to the FAQs page, this will be an answer, Q3_P2'}
/>,
Q3_P3: <FormattedMessage
id={ 'faqs.page.answers.Q3_P3'}
defaultMessage={ 'Although the CEJST does not use race in its methodology, the tool creates a map that seeks to reflect the on-the-ground burdens and realities that disadvantaged communities face. The tool shows communities that have environmental burdens and face injustice.'}
description={ 'Navigate to the FAQs page, this will be an answer, Q3_P3'}
/>,
Q4_P1: <FormattedMessage
id={ 'faqs.page.answers.Q4_P1'}
defaultMessage={ 'Yes, the version 1.0 of the CEJST has some data for all the territories but not all the CEJST data are available or used for all U.S. territories. '}
description={ 'Navigate to the FAQs page, this will be an answer, Q4_P1'}
/>,
Q4_P2: <FormattedMessage
id={ 'faqs.page.answers.Q4_P2'}
defaultMessage={ `<boldtag>Puerto Rico:</boldtag> The data used for Puerto Rico are from all relevant and available fields in the energy, housing, legacy pollution, transportation, and workforce development categories. The following data are used: projected flood risk, energy cost, lack of plumbing, lead paint, housing cost, proximity to hazardous waste facilities, proximity to Superfund or National Priorities List (NPL) sites, proximity to Risk Management Plan (RMP) facilities, diesel particulate matter exposure, traffic proximity and volume, underground storage tanks and releases, wastewater discharge, poverty, unemployment, and high school education. Linguistic isolation was removed for Puerto Rico based on feedback received during the beta period. `}
description={ 'Navigate to the FAQs page, this will be an answer, Q4_P2'}
values={{
boldtag: boldFn,
}}
/>,
Q4_P3: <FormattedMessage
id={ 'faqs.page.answers.Q4_P3'}
defaultMessage={ '<boldtag>American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands:</boldtag> For these U.S. territories, the tool uses the following data: unemployment, poverty, low median income, and high school education. These burdens are in the workforce development category. '}
description={ 'Navigate to the FAQs page, this will be an answer, Q4_P3'}
values={{
boldtag: boldFn,
}}
/>,
Q5_P1: <FormattedMessage
id={ 'faqs.page.answers.Q5_P1'}
defaultMessage={`
To respect Tribal sovereignty and self-government and to fulfill Federal trust and treaty responsibilities to Tribal Nations, land within the boundaries of Federally Recognized tribes are highlighted as disadvantaged on the map. Alaska Native Villages are included as point locations that are smaller than census tracts. The boundaries of census tracts and the lands of Federally Recognized Tribes are different.
`}
description={ 'Navigate to the FAQs page, this will be an answer, Q5_P1'}
/>,
Q5_P2: <FormattedMessage
id={ 'faqs.page.answers.Q5_P2'}
defaultMessage={ `Federally Recognized Tribes are those that are recognized by the U.S. Bureau of Indian Affairs in the <link1>annual notice</link1> it publishes in the Federal Register:`}
description={ 'Navigate to the FAQs page, this will be an answer, Q5_P2'}
values={{
link1: linkFn(FED_RECOGNIZED_INDIAN_ENTITIES, false, true),
}}
/>,
Q5_P2_1: <FormattedMessage
id={ 'faqs.page.answers.Q5_P2_1'}
defaultMessage={ `This decision was made after meaningful and robust consultation with Tribal Nations. This approach is consistent with CEQs <link1>Action Plan for Consultation and Coordination with Tribal Nations</link1>, <link3>President Bidens Memorandum on Tribal Consultation and Strengthening Nation-to-Nation Consultation</link3>, and <link2>Executive Order 13175 on Consultation and Coordination With Indian Tribal Governments</link2>.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q5_P2_1'}
values={{
link1: linkFn(EXPLORE_PAGE_LINKS.WH_GOV_TRIBAL_ACTION_PLAN_4_26_21, false, true),
link2: linkFn(EXPLORE_PAGE_LINKS.FED_REGISTER_CONSULT_TRIBE_GOV_2000, false, true),
link3: linkFn(EXPLORE_PAGE_LINKS.WH_GOV_TRIBAL_CONSULT_NATION_NATION_01_25_21, false, true),
}}
/>,
Q6_P1: <FormattedMessage
id={ 'faqs.page.answers.Q6_P1'}
defaultMessage={ `Some census tracts that contain land within the boundaries of Federally Recognized Tribes are also considered disadvantaged because they meet the burden thresholds for at least one of the categories on the tool. When this happens, the areas appear darker on the tools map.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q6_P1'}
/>,
Q6_P2: <FormattedMessage
id={ 'faqs.page.answers.Q6_P2'}
defaultMessage={ ` : Disadvantaged census tracts (meets threshold methodology OR contains lands of Tribes)`}
description={ 'Navigate to the FAQs page, this will be an answer, Q6_P2'}
/>,
Q6_P3: <FormattedMessage
id={ 'faqs.page.answers.Q6_P3'}
defaultMessage={ ` : Disadvantaged census tracts and land within the boundaries of Federally Recognized Tribes (meets threshold methodology AND contains lands of Tribes)
`}
description={ 'Navigate to the FAQs page, this will be an answer, Q6_P3'}
/>,
Q6_P4: <FormattedMessage
id={ 'faqs.page.answers.Q6_P4'}
defaultMessage={ `Any area that is highlighted is considered disadvantaged, regardless of whether it is a light shade or dark shade. The tool will show if a whole census tract is considered disadvantaged or just the parts that are within the boundaries of Federally Recognized Tribes.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q6_P4'}
/>,
Q7: <FormattedMessage
id={ 'faqs.page.answers.Q7'}
defaultMessage={ `A census tract that does not meet any of the burden thresholds in the tool is usually not considered to be a disadvantaged community. However, if such a census tract contains land within the boundaries of Federally Recognized Tribes, then the parts of the tract that contain the land of Tribes are considered disadvantaged. The tool will display this type of census tract as “partially disadvantaged.”`}
description={ 'Navigate to the FAQs page, this will be an answer, Q7'}
/>,
Q8_P1: <FormattedMessage
id={ 'faqs.page.answers.Q8_P1'}
defaultMessage={ `The Biden administration is advancing environmental justice across the whole-of-government. The Justice40 Initiative is a critical part of this effort. The Justice40 Initiative seeks to deliver 40% of the overall benefits of climate, clean energy, and related investments to disadvantaged communities.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q8_P1'}
/>,
Q8_P2: <FormattedMessage
id={ 'faqs.page.answers.Q8_P2'}
defaultMessage={ `The CEJST will play an important role in the Justice40 Initiative. It will help to provide a single, consistent definition of disadvantaged communities for programs included in the Justice40 Initiative.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q8_P2'}
/>,
Q9_P1: <FormattedMessage
id={ 'faqs.page.answers.Q9_P1'}
defaultMessage={ `Federal agencies will use the tool to help identify disadvantaged communities that will benefit from programs included in the Justice40 Initiative. The Justice40 Initiative seeks to deliver 40% of the overall benefits of certain investments to disadvantaged communities.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q9_P1'}
/>,
Q9_P2: <FormattedMessage
id={ 'faqs.page.answers.Q9_P2'}
defaultMessage={ `Federal agencies will use this definition to direct Justice40 investment benefits in the following areas:`}
description={ 'Navigate to the FAQs page, this will be an answer, Q9_P2'}
/>,
Q9_P2_1: <FormattedMessage
id={ 'faqs.page.answers.Q9_P2_1'}
defaultMessage={ `Climate`}
description={ 'Navigate to the FAQs page, this will be an answer, Q9_P2_1'}
/>,
Q9_P2_2: <FormattedMessage
id={ 'faqs.page.answers.Q9_P2_2'}
defaultMessage={ `Clean energy and energy efficiency`}
description={ 'Navigate to the FAQs page, this will be an answer, Q9_P2_2'}
/>,
Q9_P2_3: <FormattedMessage
id={ 'faqs.page.answers.Q9_P2_3'}
defaultMessage={ `Clean transit`}
description={ 'Navigate to the FAQs page, this will be an answer, Q9_P2_3'}
/>,
Q9_P2_4: <FormattedMessage
id={ 'faqs.page.answers.Q9_P2_4'}
defaultMessage={ `Affordable and sustainable housing`}
description={ 'Navigate to the FAQs page, this will be an answer, Q9_P2_4'}
/>,
Q9_P2_5: <FormattedMessage
id={ 'faqs.page.answers.Q9_P2_5'}
defaultMessage={ `Training and workforce development`}
description={ 'Navigate to the FAQs page, this will be an answer, Q9_P2_5'}
/>,
Q9_P2_6: <FormattedMessage
id={ 'faqs.page.answers.Q9_P2_6'}
defaultMessage={ `Remediation and reduction of legacy pollution`}
description={ 'Navigate to the FAQs page, this will be an answer, Q9_P2_6'}
/>,
Q9_P2_7: <FormattedMessage
id={ 'faqs.page.answers.Q9_P2_7'}
defaultMessage={ `Development of clean water and wastewater infrastructure`}
description={ 'Navigate to the FAQs page, this will be an answer, Q9_P2_7'}
/>,
Q10: <FormattedMessage
id={ 'faqs.page.answers.Q10'}
defaultMessage={ `Recent historic legislation, such as the Bipartisan Infrastructure Law and the Inflation Reduction Act, have created new programs or directed funds to existing programs. These investments are included in the Justice40 Initiative if they meet the eligibility criteria. Agencies will use the tool to help identify disadvantaged communities that will receive 40% of the overall benefits of those Justice40 programs.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q10'}
// values={{
// link1: linkFn(`https://www.whitehouse.gov/wp-content/uploads/2021/07/M-21-28.pdf`, false, true),
// }}
/>,
Q11: <FormattedMessage
id={ 'faqs.page.answers.Q11'}
defaultMessage={ `The Council on Environmental Quality (CEQ), the Office of Management and Budget (OMB), and the Climate Policy Office (CPO) released the Justice40 Interim Implementation Guidance on July 20, 2021. It directed agencies to develop interim definitions of disadvantaged communities. Agencies used their interim definitions during the tools beta phase. Agencies will now transition to using version 1.0 of the tool to geographically identify disadvantaged communities.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q11'}
/>,
Q12_P1: <FormattedMessage
id={ 'faqs.page.answers.Q12_P1'}
defaultMessage={ `The CEJST uses lessons learned from the EPA's EJScreen. EJScreen is an environmental justice mapping and screening tool. EJScreen shows environmental and demographic information and combines that information together into indices. The EPA, Federal agencies, and state and local governments will continue to use EJScreen to understand and analyze for environmental and EJ issues. For example, EPA uses <link1> EJScreen </link1> to:`}
description={ 'Navigate to the FAQs page, this will be an answer, Q12_P1'}
values={{
link1: linkFn(EJSCREEN, false, true),
}}
/>,
Q12_P1_1: <FormattedMessage
id={ 'faqs.page.answers.Q12_P1_1'}
defaultMessage={ `Inform outreach and engagement practices`}
description={ 'Navigate to the FAQs page, this will be an answer, Q12_P1_1'}
/>,
Q12_P1_2: <FormattedMessage
id={ 'faqs.page.answers.Q12_P1_2'}
defaultMessage={ `Implement aspects of the following programs:`}
description={ 'Navigate to the FAQs page, this will be an answer, Q12_P1_2'}
/>,
Q12_P1_2_1: <FormattedMessage
id={ 'faqs.page.answers.Q12_P1_2_1'}
defaultMessage={ `Permitting programs`}
description={ 'Navigate to the FAQs page, this will be an answer, Q12_P1_2_1'}
/>,
Q12_P1_2_2: <FormattedMessage
id={ 'faqs.page.answers.Q12_P1_2_2'}
defaultMessage={ `Enforcement programs`}
description={ 'Navigate to the FAQs page, this will be an answer, Q12_P1_2_2'}
/>,
Q12_P1_2_3: <FormattedMessage
id={ 'faqs.page.answers.Q12_P1_2_3'}
defaultMessage={ `Compliance programs`}
description={ 'Navigate to the FAQs page, this will be an answer, Q12_P1_2_3'}
/>,
Q12_P1_2_4: <FormattedMessage
id={ 'faqs.page.answers.Q12_P1_2_4'}
defaultMessage={ `Voluntary programs`}
description={ 'Navigate to the FAQs page, this will be an answer, Q12_P1_2_4'}
/>,
Q12_P1_3: <FormattedMessage
id={ 'faqs.page.answers.Q12_P1_3'}
defaultMessage={ `Develop retrospective reports of EPA work`}
description={ 'Navigate to the FAQs page, this will be an answer, Q12_P1_3'}
/>,
Q12_P1_4: <FormattedMessage
id={ 'faqs.page.answers.Q12_P1_4'}
defaultMessage={ `Enhance geographically based initiatives`}
description={ 'Navigate to the FAQs page, this will be an answer, Q12_P1_4'}
/>,
Q12_P2: <FormattedMessage
id={ 'faqs.page.answers.Q12_P2'}
defaultMessage={ `However, EPA does not use EJScreen to identify or label an area as an "EJ community" or as the sole basis for agency-decision-making.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q12_P2'}
/>,
Q12_P3: <FormattedMessage
id={ 'faqs.page.answers.Q12_P3'}
defaultMessage={ `In contrast, the CEJST will help Federal agencies to identify disadvantaged communities that will benefit from programs included in the Justice40 Initiative.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q12_P3'}
/>,
Q12_P4: <FormattedMessage
id={ 'faqs.page.answers.Q12_P4'}
defaultMessage={ `<link1>This chart</link1> is helpful for understanding how the CEJST differs from some of the other Federal environmental screening tools.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q12_P4'}
values={{
link1: linkFn(DOWNLOAD_FILES.NARWAL.COMP_CHART.URL, false, true),
}}
/>,
Q13_P1: <FormattedMessage
id={ 'faqs.page.answers.Q13_P1'}
defaultMessage={ `Several states that have environmental justice screening tools. CalEnviroScreen is an environmental justice screening tool for California. Other states, like New York and Michigan have screening tools as well. The Climate and Economic Justice Screening Tool (CEJST) incorporates lessons learned from these efforts.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q13_P1'}
/>,
Q13_P2: <FormattedMessage
id={ 'faqs.page.answers.Q13_P2'}
defaultMessage={ `There is an important difference between state-based tools and the CEJST. State tools use data that may not be available for other states. The CEJST only uses data that are nationally-consistent and publicly-available.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q13_P2'}
/>,
Q14: <FormattedMessage
id={ 'faqs.page.answers.Q14'}
defaultMessage={ `The WHEJAC provided recommendations on the Climate and Economic Justice Screening Tool (CEJST). The CEJST follows many of these recommendations.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q14'}
/>,
Q15_P1: <FormattedMessage
id={ 'faqs.page.answers.Q15_P1'}
defaultMessage={ `Yes. The CEJST website has multiple ways to offer feedback on the tool.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q15_P1'}
/>,
Q15_P1_1: <FormattedMessage
id={ 'faqs.page.answers.Q15_P1_1'}
defaultMessage={ `The public can find census tracts that they are familiar with and send feedback about those tracts. That feedback is used to “ground truth” the tool. This helps the tool to better reflect the realities for communities.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q15_P1_1'}
/>,
Q15_P1_2: <FormattedMessage
id={ 'faqs.page.answers.Q15_P1_2'}
defaultMessage={ `The public can also submit <link1>data sources</link1> or ideas for consideration.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q15_P1_2'}
values={{
link1: linkFn('https://www.surveymonkey.com/r/6G9TQJ8', false, true),
}}
/>,
Q15_P1_3: <FormattedMessage
id={ 'faqs.page.answers.Q15_P1_3'}
defaultMessage={ `The public may also take a <link1>short survey</link1> to help improve the experience of using the tool.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q15_P1_3'}
values={{
link1: linkFn('https://www.surveymonkey.com/r/5LZ7MNB', false, true),
}}
/>,
Q15_P1_4: <FormattedMessage
id={ 'faqs.page.answers.Q15_P1_4'}
defaultMessage={ `The public can also email {general_email_address}`}
description={ 'Navigate to the FAQs page, this will be an answer, Q15_P1_4'}
values={{
general_email_address:
<LinkTypeWrapper
linkText={FEEDBACK_EMAIL}
internal={false}
url={`mailto:${FEEDBACK_EMAIL}`}
openUrlNewTab={true}
/>,
}}
/>,
Q16: <FormattedMessage
id={ 'faqs.page.answers.Q16'}
defaultMessage={ `Yes. CEQ plans to issue a Request for Information (RFI) about version 1.0 of the CEJST in 2023. The feedback received in that RFI will inform version 2.0 of the tool.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q16'}
/>,
Q17_P1: <FormattedMessage
id={ 'faqs.page.answers.Q17_P1'}
defaultMessage={ `The tool is now considered official because Federal agencies can now use version 1.0 of the Climate and Economic Justice Screening Tool (CEJST) to help identify disadvantaged communities. The 1.0 version was released in November, 2022. The tool is no longer in beta.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q17_P1'}
/>,
Q17_P2: <FormattedMessage
id={ 'faqs.page.answers.Q17_P2'}
defaultMessage={ `The tool will be improved over time. The Council on Environmental Quality (CEQ) will update the tool each year based on public feedback, research, and the availability of new data.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q17_P2'}
/>,
Q18: <FormattedMessage
id={ 'faqs.page.answers.Q18'}
defaultMessage={ `<link1>Sign-up</link1> to receive updates on the Climate and Economic Justice Screening Tool (CEJST) and other environmental justice news from CEQ.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q18'}
values={{
link1: linkFn(`https://lp.constantcontactpages.com/su/Vm8pCFj/spring`, false, true),
}}
/>,
Q19: <FormattedMessage
id={ 'faqs.page.answers.Q19'}
defaultMessage={ `The Climate and Economic Justice Screening Tool (CEJST) has <link1>downloads</link1> available. Spreadsheets (.xlxs) and (.csv) contain the tools definitions and data. This data can be used for analysis. Shapefiles and geojson files can be uploaded into other mapping programs such as Esri. The downloads include information on how to use the files.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q19'}
values={{
link1: linkFn(PAGES_ENDPOINTS.DOWNLOADS, true, false),
}}
/>,
Q20_P1: <FormattedMessage
id={ 'faqs.page.answers.Q20_P1'}
defaultMessage={ `The tools shapefile can be uploaded into other mapping programs such as Esri.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q20_P1'}
/>,
Q20_P2: <FormattedMessage
id={ 'faqs.page.answers.Q20_P2'}
defaultMessage={ `The <link1>shapefile</link1> format is <link2>a geospatial vector data format</link2> for geographic information system (GIS) software. It can be loaded into any software that works with Esri, ArcGIS or any other compatible GIS software. You may choose to download the data in this format so that you can load the data from the Climate and Economic Justice Screening Tool (CEJST) into other tools and use those tools to combine the CEJST data with other datasets and sources.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q20_P2'}
values= {{
link1: linkFn('https://en.wikipedia.org/wiki/Shapefile', false, true),
link2: linkFn('https://en.wikipedia.org/wiki/GIS_file_formats', false, true),
}}
/>,
};

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,83 @@
import React from 'react';
import {FormattedDate, FormattedMessage, defineMessages} from 'gatsby-plugin-intl';
import {METH_1_0_RELEASE_DATE, METH_BETA_RELEASE_DATE} from './common';
export const PAGE = defineMessages({
TITLE: {
id: 'previous.versions.page.title.text',
defaultMessage: 'Previous versions',
description: 'Navigate to the previous version page. This is the page title text',
},
});
export const CARD = {
TITLE: <FormattedMessage
id={'previous.versions.page.title.text'}
defaultMessage={'Beta version'}
description={'Navigate to the previous version page. This is the Cards title text'}
/>,
BODY: <FormattedMessage
id={'previous.versions.page.body.text'}
defaultMessage={`The beta version of the methodology and data was used during the public
beta period to get feedback on the tool from {betaDate} - {releaseDate}.`}
description={'Navigate to the previous version page. This is the Cards body text'}
values={{
betaDate: <FormattedDate
value={METH_BETA_RELEASE_DATE}
year="numeric"
month="short"
day="numeric"
/>,
releaseDate: <FormattedDate
value={METH_1_0_RELEASE_DATE}
year="numeric"
month="short"
day="numeric"
/>,
}}
/>,
BUTTON1: <FormattedMessage
id={'previous.versions.page.button1.text'}
defaultMessage={'Data & documentation'}
description={'Navigate to the previous version page. This is the Cards button1 text'}
/>,
BUTTON1_ALT_TAG: <FormattedMessage
id={'previous.versions.page.button1.alt.tag.text'}
defaultMessage={'a button that allows to download the data and documentation to the tool'}
description={'Navigate to the previous version page. This is the Cards button1.alt.tag text'}
/>,
BUTTON2: <FormattedMessage
id={'previous.versions.page.button2.text'}
defaultMessage={'Shapefile & codebook'}
description={'Navigate to the previous version page. This is the Cards button2 text'}
/>,
BUTTON2_ALT_TAG: <FormattedMessage
id={'previous.versions.page.button2.alt.tag.text'}
defaultMessage={'a button that allows to download the shapefile and codebook to the tool'}
description={'Navigate to the previous version page. This is the Cards button2.alt.tag text'}
/>,
};
export const BUTTON = defineMessages({
TITLE1: {
id: 'previous.versions.page.button1.text',
defaultMessage: 'Data & documentation',
description: 'Navigate to the previous version page. This is the Cards button1 text',
},
TITLE2: {
id: 'previous.versions.page.button2.text',
defaultMessage: 'Shapefile & codebook',
description: 'Navigate to the previous version page. This is the Cards button2 text',
},
BUTTON1_ALT_TAG: {
id: 'previous.versions.page.button1.alt.tag.text',
defaultMessage: 'a button that allows to download the data and documentation to the tool',
description: 'Navigate to the previous version page. This is the Cards button1.alt.tag text',
},
BUTTON2_ALT_TAG: {
id: 'previous.versions.page.button2.alt.tag.text',
defaultMessage: 'a button that allows to download the shapefile and codebook to the tool',
description: 'Navigate to the previous version page. This is the Cards button2.alt.tag text',
},
});

View file

@ -1,5 +1,11 @@
/* eslint-disable max-len */
import {defineMessages} from 'react-intl';
import React from 'react';
import {FormattedMessage} from 'gatsby-plugin-intl';
import {defineMessages} from 'gatsby-plugin-intl';
import {linkFn} from './common';
import {VERSION_NUMBER} from './methodology';
import mar9 from '../../images/eventDates/mar9.svg';
import mar10 from '../../images/eventDates/mar10.svg';
import mar16 from '../../images/eventDates/mar16.svg';
@ -18,6 +24,8 @@ import mar31Exp from '../../images/eventDates/mar31-inactive.svg';
import apr15Exp from '../../images/eventDates/apr15-inactive.svg';
import may10Exp from '../../images/eventDates/may10-inactive.svg';
import may19Exp from '../../images/eventDates/may19-inactive.svg';
import oct4Exp from '../../images/eventDates/oct4-inactive.svg';
import oct9Exp from '../../images/eventDates/oct9-inactive.svg';
export const PAGE_INTRO = defineMessages({
@ -31,18 +39,10 @@ export const PAGE_INTRO = defineMessages({
defaultMessage: 'Public engagement opportunities',
description: 'Navigate to the public engagement page, this will be the publiceng page header text',
},
PAGE_HEADING2: {
id: 'public.eng.page.sub.header2.text',
defaultMessage: 'Find an event',
description: 'Navigate to the public engagement page, this will be the publiceng page sub header text',
},
PAGE_DESCRIPTION1: {
id: 'public.eng.page.description1.text',
defaultMessage: `
CEQ is hosting engagement opportunities to connect with the public about the current version of the
tool. These sessions are an opportunity to obtain training on the tool or to provide feedback on the
beta version of the tool. CEQ hopes that members of the public will join these engagements to learn
about the tool, have their questions answered, and share feedback.
The Council on Environmental Quality (CEQ) is hosting engagement opportunities to connect with the public about the current versions of the Climate and Economic Justice Screening Tool (CEJST). These sessions are an opportunity to obtain training on the tool or to provide the feedback on the latest version of the tool. CEQ hopes that members of the public will join these engagements to learn about the tool, ask questions, an share feedback.
`,
description: 'Navigate to the public engagement page, this will be the publiceng page description 1 text',
},
@ -53,13 +53,12 @@ export const PAGE_INTRO = defineMessages({
`,
description: 'Navigate to the public engagement page, this will be the publiceng page description 2 text',
},
PAGE_DESCRIPTION3: {
id: 'public.eng.page.description3.text',
PAGE_COMING_SOON: {
id: 'public.eng.page.coming.soon.text',
defaultMessage: `
As they become available, additional public trainings and engagement opportunities on the Climate
and Economic Justice Screening Tool will also be posted on this page.
Coming soon!
`,
description: 'Navigate to the public engagement page, this will be the publiceng page description 3 text',
description: 'Navigate to the public engagement page, this will be the publiceng page coming soon text',
},
SURVEY_TEXT: {
id: 'fab.survey.text',
@ -68,22 +67,76 @@ export const PAGE_INTRO = defineMessages({
},
});
export const RICH_COPY = {
PAGE_DESCRIPTION3: <FormattedMessage
id= {`public.eng.page.description3.text`}
defaultMessage={`
As they become available, additional public trainings and engagement opportunities on the Climate and Economic Justice Screening Tool will also be posted on this page. <link1>Sign-up</link1> for updates from CEQ
`}
description={`Navigate to the public engagement page, this will be the publiceng page description 3 text`}
values={{
link1: linkFn('https://lp.constantcontactpages.com/su/Vm8pCFj/spring', false, true),
}}
/>,
PAGE_HEADING2: <FormattedMessage
id={'public.eng.page.sub.header2.text'}
defaultMessage={'Upcoming events for CEJST version {version}'}
description={'Navigate to the public engagement page, this will be the publiceng page sub header text'}
values={{
version: VERSION_NUMBER,
}}
/>,
PAGE_HEADING3: <FormattedMessage
id={'public.eng.page.sub.header3.text'}
defaultMessage={'Previous events for public beta'}
description={'Navigate to the public engagement page, this will be the publiceng page sub header text'}
values={{
version: VERSION_NUMBER,
}}
/>,
VIDEO_BOX_BODY1: <FormattedMessage
id={ 'public.eng.page.video.box.body.text'}
defaultMessage={ `
See what's new in the version {version} of the Climate and Economic Justice Screening tool.
`}
description={'Navigate to the public engagement page, there will be box that allows users to watch previously recorded videos. This is that box body text.'}
values={{
version: VERSION_NUMBER,
}}
/>,
VIDEO_BOX_BODY2: <FormattedMessage
id={ 'public.eng.page.video.box.body2.text'}
defaultMessage={ `
Watch a recorded version of the beta version of the CEJST training on YouTube.
`}
description={'Navigate to the public engagement page, there will be box that allows users to watch previously recorded videos. This is that box body text.'}
values={{
version: VERSION_NUMBER,
}}
/>,
};
export const PUBLIC_ENG_VIDEO = defineMessages({
TITLE: {
id: 'public.eng.page.video.box.title.text',
defaultMessage: `Can't make an upcoming session?`,
defaultMessage: `Need information about the latest version of the tool?`,
description: 'Navigate to the public engagement page, there will be box that allows users to watch previously recorded videos. This is that box title text.',
},
BODY: {
id: 'public.eng.page.video.box.body.text',
defaultMessage: `Watch a recorded version of the CEJST training on YouTube.`,
description: 'Navigate to the public engagement page, there will be box that allows users to watch previously recorded videos. This is that box body text.',
TITLE_BETA: {
id: 'public.eng.page.video.box.title.beta.text',
defaultMessage: `Need information about the public beta?`,
description: 'Navigate to the public engagement page, there will be box that allows users to watch previously recorded videos. This is that box title text.',
},
BUTTON1_TEXT: {
id: 'public.eng.page.video.box.button1.text',
defaultMessage: `Watch on YouTube`,
description: 'Navigate to the public engagement page, there will be box that allows users to watch previously recorded videos. This is that box button text.',
},
BUTTON1_BETA_TEXT: {
id: 'public.eng.page.video.box.button1.beta.text',
defaultMessage: `Watch on beta demo`,
description: 'Navigate to the public engagement page, there will be box that allows users to watch previously recorded videos. This is that box button text.',
},
IMG_ALT_TEXT1: {
id: 'public.eng.page.video.box.button.img.alt.text1',
defaultMessage: `the icon to show that this button will open in a new tab`,
@ -94,6 +147,11 @@ export const PUBLIC_ENG_VIDEO = defineMessages({
defaultMessage: `Download slide deck`,
description: 'Navigate to the public engagement page, there will be box that allows users to watch previously recorded videos. This is the button text for the second button.',
},
BUTTON2_BETA_TEXT: {
id: 'public.eng.page.video.box.button2.beta.text',
defaultMessage: `Download beta slide deck`,
description: 'Navigate to the public engagement page, there will be box that allows users to watch previously recorded videos. This is the button text for the second button.',
},
IMG_ALT_TEXT2: {
id: 'public.eng.page.video.box.button.img.alt.text2',
defaultMessage: `the icon to show that this button will download the file`,
@ -253,7 +311,6 @@ export const EVENTS = [
}),
REG_LINK: `https://pitc.zoomgov.com/webinar/register/WN_q86iMtpwTESYa6f0xpIk7g`,
DATA_CY: `mar-16-reg-link-block`,
},
{
DATE: new Date(2022, 2, 23),
@ -358,4 +415,38 @@ export const EVENTS = [
REG_LINK: `https://pitc.zoomgov.com/webinar/register/WN_1PR73vLDQpq1zoAWkhKB5g`,
DATA_CY: `may-19-reg-link-block`,
},
{
DATE: new Date(2022, 9, 5),
NAME: EVENT_TYPES.TRAINING_SESS.NAME,
DESC: EVENT_TYPES.TRAINING_SESS.DESCRIPTION,
NUMBER: 4,
IMAGE: oct4Exp,
EXPIRED_IMG: oct4Exp,
FIELDS: defineMessages({
INFO: {
id: 'public.eng.page.event.training.4.info',
defaultMessage: `October 4th (4:00 - 5:00 PM EST)`,
description: 'Navigate to the public engagement page, this will be the public engagement page event training session 4 date',
},
}),
REG_LINK: `https://pitc.zoomgov.com/webinar/register/WN_q86iMtpwTESYa6f0xpIk7g`,
DATA_CY: `oct-4-reg-link-block`,
},
{
DATE: new Date(2022, 9, 10),
NAME: EVENT_TYPES.TRAINING_SESS.NAME,
DESC: EVENT_TYPES.TRAINING_SESS.DESCRIPTION,
NUMBER: 5,
IMAGE: oct9Exp,
EXPIRED_IMG: oct9Exp,
FIELDS: defineMessages({
INFO: {
id: 'public.eng.page.event.training.5.info',
defaultMessage: `October 9th (4:00 - 5:00 PM EST)`,
description: 'Navigate to the public engagement page, this will be the public engagement page event training session 5 date',
},
}),
REG_LINK: `https://pitc.zoomgov.com/webinar/register/WN_q86iMtpwTESYa6f0xpIk7g`,
DATA_CY: `oct-9-reg-link-block`,
},
];

View file

@ -1,8 +1,9 @@
import {Style} from 'maplibre-gl';
import * as constants from '../data/constants';
import {featureURLForTilesetName} from '../components/J40Map';
// *********** BASE MAP SOURCES ***************
import {featureURLForTilesetName} from '../components/MapTractLayers/MapTractLayers';
import * as constants from '../data/constants';
// *********** OPEN SOURCE BASE MAP CONSTANTS ***************
const imageSuffix = constants.isMobile ? '' : '@2x';
// Original "light" Base layer
@ -23,14 +24,22 @@ const cartoLightBaseLayer = {
};
// Utility function to get OpenSource base maps that are in accordance to JSON spec of MapBox
// https://docs.mapbox.com/mapbox-gl-js/style-spec/
export const getOSBaseMap = () : Style => {
// *********** OPEN SOURCE STATIC MAP STYLES ***************
/**
* This function will be called when there is no MapBox token found. This function will
* return the open source base map along with styles for the chosen source.
* *
* This function returns a Style in accordance to JSON spec of MapBox
* https://docs.mapbox.com/mapbox-gl-js/style-spec/
*
* @return {Style}
*/
export const getOSBaseMap = (): Style => {
return {
'version': 8,
/**
* Map Sources
* Census Tract Source
* */
'sources': {
@ -92,55 +101,19 @@ export const getOSBaseMap = () : Style => {
'maxzoom': constants.GLOBAL_MAX_ZOOM,
},
/**
* High zoom layer - non-prioritized features only
*/
// A layer for labels only
{
'id': constants.HIGH_ZOOM_LAYER_ID,
'source': constants.HIGH_ZOOM_SOURCE_NAME,
'source-layer': constants.SCORE_SOURCE_LAYER,
/**
* This shows features where the high score < score boundary threshold.
* In other words, this filter out prioritized features
*/
'filter': ['all',
['<', constants.SCORE_PROPERTY_HIGH, constants.SCORE_BOUNDARY_THRESHOLD],
],
'type': 'fill',
'paint': {
'fill-opacity': constants.NON_PRIORITIZED_FEATURE_FILL_OPACITY,
'id': 'labels-only-layer',
'source': 'labels',
'type': 'raster',
'layout': {
'visibility': 'visible',
},
'minzoom': constants.GLOBAL_MIN_ZOOM_HIGH,
'minzoom': constants.GLOBAL_MIN_ZOOM,
'maxzoom': constants.GLOBAL_MAX_ZOOM,
},
/**
* High zoom layer - prioritized features only
*/
{
'id': constants.PRIORITIZED_HIGH_ZOOM_LAYER_ID,
'source': constants.HIGH_ZOOM_SOURCE_NAME,
'source-layer': constants.SCORE_SOURCE_LAYER,
/**
* This shows features where the high score > score boundary threshold.
* In other words, this filter out non-prioritized features
*/
'filter': ['all',
['>', constants.SCORE_PROPERTY_HIGH, constants.SCORE_BOUNDARY_THRESHOLD],
],
'type': 'fill',
'paint': {
'fill-color': constants.PRIORITIZED_FEATURE_FILL_COLOR,
'fill-opacity': constants.HIGH_ZOOM_PRIORITIZED_FEATURE_FILL_OPACITY,
},
'minzoom': constants.GLOBAL_MIN_ZOOM_HIGH,
},
/**
* Low zoom layer - prioritized features only
*/
// Low zoom layer (static) - prioritized features only
{
'id': constants.LOW_ZOOM_LAYER_ID,
'source': constants.LOW_ZOOM_SOURCE_NAME,
@ -162,16 +135,60 @@ export const getOSBaseMap = () : Style => {
'maxzoom': constants.GLOBAL_MAX_ZOOM_LOW,
},
// A layer for labels only
// High zoom layer (static) - non-prioritized features only
{
'id': 'labels-only-layer',
'source': 'labels',
'type': 'raster',
'layout': {
'visibility': 'visible',
'id': constants.HIGH_ZOOM_LAYER_ID,
'source': constants.HIGH_ZOOM_SOURCE_NAME,
'source-layer': constants.SCORE_SOURCE_LAYER,
/**
* The SCORE_PROPERTY_HIGH is a boolean value. True for
* prioritized and false for non-priorirized
*/
'filter': ['all',
['==', constants.SCORE_PROPERTY_HIGH, false],
],
'type': 'fill',
'paint': {
'fill-opacity': constants.NON_PRIORITIZED_FEATURE_FILL_OPACITY,
},
'minzoom': constants.GLOBAL_MIN_ZOOM,
'maxzoom': constants.GLOBAL_MAX_ZOOM,
'minzoom': constants.GLOBAL_MIN_ZOOM_HIGH,
},
// High zoom layer (static) - prioritized features only
{
'id': constants.PRIORITIZED_HIGH_ZOOM_LAYER_ID,
'source': constants.HIGH_ZOOM_SOURCE_NAME,
'source-layer': constants.SCORE_SOURCE_LAYER,
/**
* The SCORE_PROPERTY_HIGH is a boolean value. True for
* prioritized and false for non-priorirized
*/
'filter': ['all',
['==', constants.SCORE_PROPERTY_HIGH, true],
],
'type': 'fill',
'paint': {
'fill-color': constants.PRIORITIZED_FEATURE_FILL_COLOR,
'fill-opacity': constants.HIGH_ZOOM_PRIORITIZED_FEATURE_FILL_OPACITY,
},
'minzoom': constants.GLOBAL_MIN_ZOOM_HIGH,
},
// High zoom layer (static) - controls the border between features
{
'id': constants.FEATURE_BORDER_LAYER_ID,
'source': constants.HIGH_ZOOM_SOURCE_NAME,
'source-layer': constants.SCORE_SOURCE_LAYER,
'type': 'line',
'paint': {
'line-color': constants.FEATURE_BORDER_COLOR,
'line-width': constants.FEATURE_BORDER_WIDTH,
'line-opacity': constants.FEATURE_BORDER_OPACITY,
},
'minzoom': constants.GLOBAL_MIN_ZOOM_FEATURE_BORDER,
'maxzoom': constants.GLOBAL_MAX_ZOOM_FEATURE_BORDER,
},
],
};

View file

@ -0,0 +1,111 @@
/**
* This file holds the tribal layer styling for the OS map in case we want to add the toggle back.
*/
// const tribal:any = {
// /**
// * Tribal Source
// */
// 'version': 8,
// /**
// * Map Sources
// * */
// 'sources': {
// /**
// * The base map source source allows us to define where the tiles can be fetched from.
// */
// [constants.BASE_MAP_SOURCE_NAME]: {
// 'type': 'raster',
// 'tiles': cartoLightBaseLayer.noLabels,
// 'minzoom': constants.GLOBAL_MIN_ZOOM,
// 'maxzoom': constants.GLOBAL_MAX_ZOOM,
// },
// /**
// * Tribal source
// */
// [constants.TRIBAL_SOURCE_NAME]: {
// 'type': 'vector',
// 'promoteId': constants.TRIBAL_ID,
// 'tiles': [tribalURL()],
// 'minzoom': constants.TRIBAL_MIN_ZOOM,
// 'maxzoom': constants.TRIBAL_MAX_ZOOM,
// },
// // The labels source:
// 'labels': {
// 'type': 'raster',
// 'tiles': cartoLightBaseLayer.labelsOnly,
// },
// },
// /**
// * Tribal Layers
// */
// 'layers': [
// // The baseMapLayer
// {
// 'id': constants.BASE_MAP_LAYER_ID,
// 'source': constants.BASE_MAP_SOURCE_NAME,
// 'type': 'raster',
// 'minzoom': constants.GLOBAL_MIN_ZOOM,
// 'maxzoom': constants.GLOBAL_MAX_ZOOM,
// },
// /**
// * Tribal layer
// */
// {
// 'id': constants.TRIBAL_LAYER_ID,
// 'source': constants.TRIBAL_SOURCE_NAME,
// 'source-layer': constants.TRIBAL_SOURCE_LAYER,
// 'type': 'fill',
// 'paint': {
// 'fill-color': constants.PRIORITIZED_FEATURE_FILL_COLOR,
// 'fill-opacity': constants.HIGH_ZOOM_PRIORITIZED_FEATURE_FILL_OPACITY,
// },
// 'minzoom': constants.TRIBAL_MIN_ZOOM,
// 'maxzoom': constants.TRIBAL_MAX_ZOOM,
// },
// /**
// * Tribal layer - controls the border between features
// */
// {
// 'id': constants.FEATURE_BORDER_LAYER_ID,
// 'source': constants.TRIBAL_SOURCE_NAME,
// 'source-layer': constants.TRIBAL_SOURCE_LAYER,
// 'type': 'line',
// 'paint': {
// 'line-color': constants.FEATURE_BORDER_COLOR,
// 'line-width': constants.FEATURE_BORDER_WIDTH,
// 'line-opacity': constants.FEATURE_BORDER_OPACITY},
// 'minzoom': constants.TRIBAL_MIN_ZOOM,
// 'maxzoom': constants.TRIBAL_MAX_ZOOM,
// },
// /**
// * Alaska layer
// */
// {
// 'id': constants.TRIBAL_ALASKA_POINTS_LAYER_ID,
// 'source': constants.TRIBAL_SOURCE_NAME,
// 'source-layer': constants.TRIBAL_SOURCE_LAYER,
// 'type': 'circle',
// 'filter': ['==', ['geometry-type'], 'Point'],
// 'paint': {
// 'circle-radius': constants.TRIBAL_ALASKA_CIRCLE_RADIUS,
// 'circle-color': constants.PRIORITIZED_FEATURE_FILL_COLOR,
// 'circle-opacity': constants.HIGH_ZOOM_PRIORITIZED_FEATURE_FILL_OPACITY,
// 'circle-stroke-color': constants.FEATURE_BORDER_COLOR,
// 'circle-stroke-width': constants.ALAKSA_POINTS_STROKE_WIDTH,
// 'circle-stroke-opacity': constants.FEATURE_BORDER_OPACITY,
// },
// 'minzoom': constants.TRIBAL_MIN_ZOOM,
// 'maxzoom': constants.TRIBAL_MAX_ZOOM,
// },
// ],
// };