mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 09:41:26 -08:00
Update survey links on behalf of lscharen (#2255)
* Update survey links; ref external repo PR #117 * Restore the removed contact page survey link * Fix testing snapshots * linter errors * Update Spanish data survey link --------- Co-authored-by: Lucas Scharenbroich <lscharen@prowestgis.com>
This commit is contained in:
parent
c88df4e26a
commit
8712ff53ec
26 changed files with 979 additions and 611 deletions
File diff suppressed because it is too large
Load diff
|
@ -8,7 +8,7 @@ import {hyphenizeString} from '../../../cypress/integration/common/helpers';
|
|||
|
||||
import * as styles from './dsContainer.module.scss';
|
||||
import * as METHODOLOGY_COPY from '../../data/copy/methodology';
|
||||
import {PAGES_ENDPOINTS} from '../../data/constants';
|
||||
import {PAGES_ENDPOINTS, DATA_SURVEY_LINKS} from '../../data/constants';
|
||||
import DatasetsButton from '../DatasetsButton';
|
||||
|
||||
|
||||
|
@ -35,7 +35,7 @@ const DatasetContainer = () => {
|
|||
<Grid desktop={{col: 1}}>
|
||||
</Grid>
|
||||
<Grid desktop={{col: 4}}>
|
||||
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
data-testid="grid"
|
||||
>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
|
|
@ -12,7 +12,7 @@ exports[`rendering of the HowYouCanHelp checks if various text fields are visibl
|
|||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -25,7 +25,7 @@ exports[`rendering of the HowYouCanHelp checks if various text fields are visibl
|
|||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
|
|
@ -211,7 +211,7 @@ exports[`J40Footer renders correctly 1`] = `
|
|||
data-testid="gridContainer"
|
||||
>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
|
|
@ -5,6 +5,7 @@ import {Button} from '@trussworks/react-uswds';
|
|||
import * as styles from './SurveyButton.module.scss';
|
||||
import * as CONTACT_COPY from '../../data/copy/contact';
|
||||
import J40MainGridContainer from '../J40MainGridContainer';
|
||||
import {SITE_SATISFACTION_SURVEY_LINKS} from '../../data/constants';
|
||||
|
||||
// @ts-ignore
|
||||
import launchIcon from '/node_modules/uswds/dist/img/usa-icons/launch.svg';
|
||||
|
@ -12,8 +13,8 @@ import launchIcon from '/node_modules/uswds/dist/img/usa-icons/launch.svg';
|
|||
const SurveyButton = () => {
|
||||
const intl = useIntl();
|
||||
const href = intl.locale === 'es' ?
|
||||
`https://www.surveymonkey.com/r/ZH36CYV` :
|
||||
`https://www.surveymonkey.com/r/P3LWTSB`;
|
||||
SITE_SATISFACTION_SURVEY_LINKS.ES :
|
||||
SITE_SATISFACTION_SURVEY_LINKS.EN;
|
||||
|
||||
return (
|
||||
<J40MainGridContainer className={styles.surveyButtonContainer}>
|
||||
|
|
|
@ -7,7 +7,7 @@ exports[`rendering of the SurveyButton checks if component renders 1`] = `
|
|||
data-testid="gridContainer"
|
||||
>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
|
|
@ -1,62 +1,59 @@
|
|||
|
||||
import {LngLatBoundsLike} from 'maplibre-gl';
|
||||
import {isMobile as isMobileReactDeviceDetect} from 'react-device-detect';
|
||||
import { LngLatBoundsLike } from "maplibre-gl";
|
||||
import { isMobile as isMobileReactDeviceDetect } from "react-device-detect";
|
||||
|
||||
export const isMobile = isMobileReactDeviceDetect;
|
||||
|
||||
// Pages URL
|
||||
export const PAGES_ENDPOINTS = {
|
||||
EXPLORE: '/',
|
||||
METHODOLOGY: '/methodology',
|
||||
DOWNLOADS: '/downloads',
|
||||
TSD: '/technical-support-document',
|
||||
ABOUT: '/about',
|
||||
FAQS: '/frequently-asked-questions',
|
||||
PUBLIC_ENG: '/public-engagement',
|
||||
CONTACT: '/contact',
|
||||
PREVIOUS_VERSIONS: '/previous-versions',
|
||||
EXPLORE: "/",
|
||||
METHODOLOGY: "/methodology",
|
||||
DOWNLOADS: "/downloads",
|
||||
TSD: "/technical-support-document",
|
||||
ABOUT: "/about",
|
||||
FAQS: "/frequently-asked-questions",
|
||||
PUBLIC_ENG: "/public-engagement",
|
||||
CONTACT: "/contact",
|
||||
PREVIOUS_VERSIONS: "/previous-versions",
|
||||
};
|
||||
|
||||
// Performance markers
|
||||
export const PERFORMANCE_MARKER_MAP_IDLE = 'MAP_IDLE';
|
||||
export const PERFORMANCE_MARKER_MAP_IDLE = "MAP_IDLE";
|
||||
|
||||
// ******* PROPERTIES FROM TILE SERVER **************
|
||||
export type J40Properties = { [key: string]: any };
|
||||
|
||||
|
||||
// ****** SIDE PANEL BACKEND SIGNALS ***********
|
||||
|
||||
export const MISSING_DATA_STRING = '--';
|
||||
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';
|
||||
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;
|
||||
|
||||
// General Census Track Info
|
||||
export const GEOID_PROPERTY = 'GEOID10';
|
||||
export const COUNTY_NAME = 'CF';
|
||||
export const STATE_NAME = 'SF';
|
||||
export const TOTAL_POPULATION = 'TPF';
|
||||
|
||||
export const GEOID_PROPERTY = "GEOID10";
|
||||
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';
|
||||
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
|
||||
|
@ -67,203 +64,199 @@ export const DEMO_AGE_OVER_64 = 'AGE_OLD';
|
|||
export const SCORE_BOUNDARY_THRESHOLD = 0.6;
|
||||
|
||||
// Determines the X of Y threshold exceeded
|
||||
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 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 = "UI_EXP";
|
||||
export const SIDE_PANEL_STATE_VALUES = {
|
||||
NATION: 'Nation',
|
||||
PUERTO_RICO: 'Puerto Rico',
|
||||
ISLAND_AREAS: 'Island Areas',
|
||||
NATION: "Nation",
|
||||
PUERTO_RICO: "Puerto Rico",
|
||||
ISLAND_AREAS: "Island Areas",
|
||||
};
|
||||
|
||||
// Climate category
|
||||
export const IS_CLIMATE_FACTOR_DISADVANTAGED = 'N_CLT';
|
||||
export const IS_CLIMATE_EXCEED_ONE_OR_MORE_INDICATORS = 'N_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';
|
||||
export const EXP_AGRICULTURE_LOSS_PERCENTILE = "EALR_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_EXP_AGR_LOSS = "EAL_ET";
|
||||
|
||||
export const EXP_BUILDING_LOSS_PERCENTILE = 'EBLR_PFS';
|
||||
export const IS_EXCEEDS_THRESH_FOR_EXP_BLD_LOSS = 'EBL_ET';
|
||||
export const EXP_BUILDING_LOSS_PERCENTILE = "EBLR_PFS";
|
||||
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 EXP_POPULATION_LOSS_PERCENTILE = "EPLR_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_EXP_POP_LOSS = "EPL_ET";
|
||||
|
||||
export const FLOODING_PERCENTILE = 'FLD_PFS';
|
||||
export const IS_EXCEEDS_THRESH_FLOODING = 'FLD_ET';
|
||||
export const FLOODING_PERCENTILE = "FLD_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FLOODING = "FLD_ET";
|
||||
|
||||
export const WILDFIRE_PERCENTILE = 'WFR_PFS';
|
||||
export const IS_EXCEEDS_THRESH_WILDFIRE = 'WFR_ET';
|
||||
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 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 POVERTY_BELOW_200_PERCENTILE = "P200_I_PFS";
|
||||
export const IS_FEDERAL_POVERTY_LEVEL_200 = "FPL200S";
|
||||
|
||||
export const HIGHER_ED_PERCENTILE = 'CA';
|
||||
export const IS_HIGHER_ED_PERCENTILE = 'CA_LT20';
|
||||
|
||||
export const NON_HIGHER_ED_PERCENTILE = 'NCA';
|
||||
export const HIGHER_ED_PERCENTILE = "CA";
|
||||
export const IS_HIGHER_ED_PERCENTILE = "CA_LT20";
|
||||
|
||||
export const NON_HIGHER_ED_PERCENTILE = "NCA";
|
||||
|
||||
// Energy category
|
||||
export const IS_ENERGY_FACTOR_DISADVANTAGED = 'N_ENY';
|
||||
export const IS_ENERGY_EXCEED_ONE_OR_MORE_INDICATORS = 'N_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';
|
||||
|
||||
export const PM25_PERCENTILE = 'PM25F_PFS';
|
||||
export const IS_EXCEEDS_THRESH_FOR_PM25 = 'PM25_ET';
|
||||
export const ENERGY_PERCENTILE = "EBF_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_ENERGY_BURDEN = "EB_ET";
|
||||
|
||||
export const PM25_PERCENTILE = "PM25F_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_PM25 = "PM25_ET";
|
||||
|
||||
// Transport category
|
||||
export const IS_TRANSPORT_FACTOR_DISADVANTAGED = 'N_TRN';
|
||||
export const IS_TRANSPORT_EXCEED_ONE_OR_MORE_INDICATORS = 'N_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 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';
|
||||
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 = 'N_HSG';
|
||||
export const IS_HOUSING_EXCEED_ONE_OR_MORE_INDICATORS = 'N_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 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 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 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 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";
|
||||
|
||||
// Pollution category
|
||||
export const IS_POLLUTION_FACTOR_DISADVANTAGED = 'N_PLN';
|
||||
export const IS_POLLUTION_EXCEED_ONE_OR_MORE_INDICATORS = 'N_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 ABANDON_LAND_MINES_EXCEEDS_THRESH = "AML_ET";
|
||||
|
||||
export const FORMER_DEF_SITES_RAW_VALUE = 'FUDS_RAW';
|
||||
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 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';
|
||||
export const PROXIMITY_TSDF_SITES_PERCENTILE = "TSDF_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_HAZARD_WASTE = "TSDF_ET";
|
||||
|
||||
export const PROXIMITY_NPL_SITES_PERCENTILE = 'NPL_PFS';
|
||||
export const IS_EXCEEDS_THRESH_FOR_SUPERFUND = 'NPL_ET';
|
||||
|
||||
export const PROXIMITY_RMP_SITES_PERCENTILE = 'RMP_PFS';
|
||||
export const IS_EXCEEDS_THRESH_FOR_RMP = 'RMP_ET';
|
||||
export const PROXIMITY_NPL_SITES_PERCENTILE = "NPL_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_SUPERFUND = "NPL_ET";
|
||||
|
||||
export const PROXIMITY_RMP_SITES_PERCENTILE = "RMP_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_RMP = "RMP_ET";
|
||||
|
||||
// Water category
|
||||
export const IS_WATER_FACTOR_DISADVANTAGED = 'N_WTR';
|
||||
export const IS_WATER_EXCEED_ONE_OR_MORE_INDICATORS = 'N_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';
|
||||
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 = 'N_HLTH';
|
||||
export const IS_HEALTH_EXCEED_ONE_OR_MORE_INDICATORS = 'N_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';
|
||||
export const ASTHMA_PERCENTILE = "AF_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_ASTHMA = "A_ET";
|
||||
|
||||
export const DIABETES_PERCENTILE = 'DF_PFS';
|
||||
export const IS_EXCEEDS_THRESH_FOR_DIABETES = 'DB_ET';
|
||||
export const DIABETES_PERCENTILE = "DF_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_DIABETES = "DB_ET";
|
||||
|
||||
export const HEART_PERCENTILE = 'HDF_PFS';
|
||||
export const IS_EXCEEDS_THRESH_FOR_HEART_DISEASE = 'HD_ET';
|
||||
|
||||
export const LIFE_PERCENTILE = 'LLEF_PFS';
|
||||
export const IS_EXCEEDS_THRESH_FOR_LOW_LIFE_EXP = 'LLE_ET';
|
||||
export const HEART_PERCENTILE = "HDF_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_HEART_DISEASE = "HD_ET";
|
||||
|
||||
export const LIFE_PERCENTILE = "LLEF_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_LOW_LIFE_EXP = "LLE_ET";
|
||||
|
||||
// Workforce category
|
||||
export const IS_WORKFORCE_FACTOR_DISADVANTAGED = 'N_WKFC';
|
||||
export const IS_WORKFORCE_EXCEED_ONE_OR_MORE_INDICATORS = 'N_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';
|
||||
export const LINGUISTIC_ISOLATION_PROPERTY_PERCENTILE = "LIF_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_LINGUISITIC_ISO = "LISO_ET";
|
||||
|
||||
export const LOW_MEDIAN_INCOME_PERCENTILE = 'LMI_PFS';
|
||||
export const IS_EXCEEDS_THRESH_FOR_LOW_MEDIAN_INCOME = 'LMI_ET';
|
||||
export const ISLAND_AREAS_LOW_MEDIAN_INCOME_LOW_HS_EDU_PERCENTILE_FIELD= 'IALMILHSE_PFS';
|
||||
export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_LOW_MEDIAN_INCOME = 'IA_LMI_ET';
|
||||
export const LOW_MEDIAN_INCOME_PERCENTILE = "LMI_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_LOW_MEDIAN_INCOME = "LMI_ET";
|
||||
export const ISLAND_AREAS_LOW_MEDIAN_INCOME_LOW_HS_EDU_PERCENTILE_FIELD =
|
||||
"IALMILHSE_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_LOW_MEDIAN_INCOME = "IA_LMI_ET";
|
||||
|
||||
export const UNEMPLOYMENT_PROPERTY_PERCENTILE = 'UF_PFS';
|
||||
export const IS_EXCEEDS_THRESH_FOR_UNEMPLOYMENT = 'UN_ET';
|
||||
export const ISLAND_AREAS_UNEMPLOYMENT_LOW_HS_EDU_PERCENTILE_FIELD= 'IAULHSE_PFS';
|
||||
export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_UNEMPLOYMENT = 'IA_UN_ET';
|
||||
export const UNEMPLOYMENT_PROPERTY_PERCENTILE = "UF_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_UNEMPLOYMENT = "UN_ET";
|
||||
export const ISLAND_AREAS_UNEMPLOYMENT_LOW_HS_EDU_PERCENTILE_FIELD =
|
||||
"IAULHSE_PFS";
|
||||
export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_UNEMPLOYMENT = "IA_UN_ET";
|
||||
|
||||
export const POVERTY_BELOW_100_PERCENTILE = 'P100_PFS';
|
||||
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 POVERTY_BELOW_100_PERCENTILE = "P100_PFS";
|
||||
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 = 'N_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';
|
||||
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';
|
||||
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';
|
||||
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';
|
||||
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 = 'SCORE';
|
||||
export const SCORE_PROPERTY_HIGH = 'SN_C';
|
||||
export const SCORE_PROPERTY_LOW = "SCORE";
|
||||
export const SCORE_PROPERTY_HIGH = "SN_C";
|
||||
|
||||
// Zoom
|
||||
export const GLOBAL_MIN_ZOOM = 3;
|
||||
|
@ -288,14 +281,14 @@ 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 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_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
|
||||
|
@ -305,7 +298,7 @@ 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 = [
|
||||
[-180.118306, 5.499550],
|
||||
[-180.118306, 5.49955],
|
||||
[-65.0, 83.162102],
|
||||
];
|
||||
|
||||
|
@ -320,8 +313,8 @@ export const ALASKA_BOUNDS: LngLatBoundsLike = [
|
|||
];
|
||||
|
||||
export const HAWAII_BOUNDS: LngLatBoundsLike = [
|
||||
[-161.174534, 17.652170],
|
||||
[-154.218940, 23.603623],
|
||||
[-161.174534, 17.65217],
|
||||
[-154.21894, 23.603623],
|
||||
];
|
||||
|
||||
export const PUERTO_RICO_BOUNDS: LngLatBoundsLike = [
|
||||
|
@ -351,9 +344,30 @@ export const US_VIRGIN_ISLANDS_BOUNDS: LngLatBoundsLike = [
|
|||
|
||||
export const DEFAULT_CENTER = [33.4687126, -97.502136];
|
||||
|
||||
|
||||
// USWDS Breakpoints
|
||||
export const USWDS_BREAKPOINTS = {
|
||||
MOBILE_LG: 480,
|
||||
DESKTOP: 1024,
|
||||
};
|
||||
|
||||
// ********** SURVEY LINKS ***************
|
||||
|
||||
export const DATA_SURVEY_LINKS = {
|
||||
EN: "https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8",
|
||||
ES: "https://eop.gov1.qualtrics.com/jfe/form/SV_0GTIoUJZu7ywY8S",
|
||||
};
|
||||
|
||||
export const SITE_SATISFACTION_SURVEY_LINKS = {
|
||||
EN: "https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO",
|
||||
ES: "https://eop.gov1.qualtrics.com/jfe/form/SV_bpI7Dn1SBXGOSTY",
|
||||
};
|
||||
|
||||
export const CONTACT_SURVEY_LINKS = {
|
||||
EN: "https://eop.gov1.qualtrics.com/jfe/form/SV_cCNgWW4OsfaBlTo",
|
||||
ES: "https://eop.gov1.qualtrics.com/jfe/form/SV_2n0EWXynD1AZyT4",
|
||||
};
|
||||
|
||||
export const CENSUS_TRACT_SURVEY_LINKS = {
|
||||
EN: "https://eop.gov1.qualtrics.com/jfe/form/SV_8J5wGa8Ya4dMP9c",
|
||||
ES: "https://eop.gov1.qualtrics.com/jfe/form/SV_eJXos5X4yekq6cC",
|
||||
};
|
||||
|
|
|
@ -5,7 +5,7 @@ import {FormattedMessage} from 'gatsby-plugin-intl';
|
|||
|
||||
import {italicFn, linkFn} from './common';
|
||||
import {VERSION_NUMBER} from './methodology';
|
||||
import {PAGES_ENDPOINTS} from '../constants';
|
||||
import {PAGES_ENDPOINTS, DATA_SURVEY_LINKS, SITE_SATISFACTION_SURVEY_LINKS, CONTACT_SURVEY_LINKS} 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';
|
||||
|
@ -251,8 +251,8 @@ export const HOW_YOU_CAN_HELP_LIST_ITEMS = {
|
|||
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),
|
||||
link1es: linkFn('https://www.surveymonkey.com/r/ZH36CYV', false, true),
|
||||
link1: linkFn(SITE_SATISFACTION_SURVEY_LINKS.EN, false, true),
|
||||
link1es: linkFn(SITE_SATISFACTION_SURVEY_LINKS.ES, false, true),
|
||||
}}
|
||||
/>,
|
||||
LIST_ITEM_2: <FormattedMessage
|
||||
|
@ -260,8 +260,8 @@ export const HOW_YOU_CAN_HELP_LIST_ITEMS = {
|
|||
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),
|
||||
link1es: linkFn('https://www.surveymonkey.com/r/ZPKY8G9', false, true),
|
||||
link1: linkFn(DATA_SURVEY_LINKS.EN, false, true),
|
||||
link1es: linkFn(DATA_SURVEY_LINKS.ES, false, true),
|
||||
}}
|
||||
/>,
|
||||
LIST_ITEM_3: <FormattedMessage
|
||||
|
@ -275,8 +275,8 @@ export const HOW_YOU_CAN_HELP_LIST_ITEMS = {
|
|||
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),
|
||||
link2es: linkFn('https://www.surveymonkey.com/r/CGTH5P7', false, true),
|
||||
link2: linkFn(CONTACT_SURVEY_LINKS.EN, false, true),
|
||||
link2es: linkFn(CONTACT_SURVEY_LINKS.ES, false, true),
|
||||
}}
|
||||
/>,
|
||||
PARA1: <FormattedMessage
|
||||
|
|
|
@ -3,6 +3,7 @@ import React from 'react';
|
|||
import {defineMessages} from 'react-intl';
|
||||
import {FormattedDate, FormattedMessage} from 'gatsby-plugin-intl';
|
||||
import * as COMMON_COPY from './common';
|
||||
import {CONTACT_SURVEY_LINKS} from '../constants';
|
||||
|
||||
export const PAGE_INTRO = defineMessages({
|
||||
PAGE_TILE: {
|
||||
|
@ -75,17 +76,17 @@ export const CENSUS_TRACT_FEEDBACK = {
|
|||
// `}
|
||||
// description={'Navigate to the contact page, this is the census tract feedback section'}
|
||||
// />,
|
||||
// PARAGRAPH3: <FormattedMessage
|
||||
// id={'contact.page.census.tract.feedback.para3'}
|
||||
// defaultMessage={`
|
||||
// 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/5LZ7MNB', false, true),
|
||||
// link1es: COMMON_COPY.linkFn('https://www.surveymonkey.com/r/CGTH5P7', false, true),
|
||||
// }}
|
||||
// />,
|
||||
PARAGRAPH3: <FormattedMessage
|
||||
id={'contact.page.census.tract.feedback.para3'}
|
||||
defaultMessage={`
|
||||
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(CONTACT_SURVEY_LINKS.EN, false, true),
|
||||
link1es: COMMON_COPY.linkFn(CONTACT_SURVEY_LINKS.ES, false, true),
|
||||
}}
|
||||
/>,
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ import LinkTypeWrapper from '../../components/LinkTypeWrapper';
|
|||
|
||||
import {EJSCREEN, EXEC_ORDER_LINK, FED_RECOGNIZED_INDIAN_ENTITIES, CEJST_INSTRUCT, CEJST_MEMO, CEJST_INSTRUCT_ES, CEJST_MEMO_ES} from './about';
|
||||
import {boldFn, linkFn, FEEDBACK_EMAIL} from './common';
|
||||
import {PAGES_ENDPOINTS} from '../constants';
|
||||
import {PAGES_ENDPOINTS, DATA_SURVEY_LINKS, SITE_SATISFACTION_SURVEY_LINKS} from '../constants';
|
||||
import {EXPLORE_PAGE_LINKS} from './explore';
|
||||
import {DOWNLOAD_FILES} from './downloads';
|
||||
|
||||
|
@ -579,7 +579,7 @@ export const FAQ_ANSWERS = {
|
|||
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),
|
||||
link1: linkFn(DATA_SURVEY_LINKS.EN, false, true),
|
||||
}}
|
||||
/>,
|
||||
Q15_P1_3: <FormattedMessage
|
||||
|
@ -587,7 +587,7 @@ export const FAQ_ANSWERS = {
|
|||
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/P3LWTSB', false, true),
|
||||
link1: linkFn(SITE_SATISFACTION_SURVEY_LINKS.EN, false, true),
|
||||
}}
|
||||
/>,
|
||||
Q15_P1_4: <FormattedMessage
|
||||
|
|
|
@ -259,6 +259,10 @@
|
|||
"defaultMessage": "https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf",
|
||||
"description": "Navigate to the Alerts on any page. This will be the link to the techinical support document."
|
||||
},
|
||||
"contact.page.census.tract.feedback.para3": {
|
||||
"defaultMessage": "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"
|
||||
},
|
||||
"contact.page.fab.survey.text": {
|
||||
"defaultMessage": "Help improve the tool",
|
||||
"description": "Navigate to the contact page, this is the text for floating action button"
|
||||
|
|
|
@ -13,7 +13,7 @@ import SubPageNav from '../components/SubPageNav';
|
|||
|
||||
import * as ABOUT_COPY from '../data/copy/about';
|
||||
import {FEEDBACK_EMAIL} from '../data/copy/common';
|
||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS, DATA_SURVEY_LINKS} from '../data/constants';
|
||||
|
||||
import accountBalanceIcon // @ts-ignore
|
||||
from '/node_modules/uswds/dist/img/usa-icons/account_balance.svg';
|
||||
|
@ -46,7 +46,7 @@ const AboutPage = ({location}: IAboutPageProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(ABOUT_COPY.PAGE.TITLE)}</h1>
|
||||
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap className={'j40-mb5-mt3'}>
|
||||
|
|
|
@ -9,6 +9,7 @@ import DatasetsButton from '../components/DatasetsButton';
|
|||
|
||||
import * as CONTACT_COPY from '../data/copy/contact';
|
||||
import {FEEDBACK_EMAIL} from '../data/copy/common';
|
||||
import {DATA_SURVEY_LINKS} from '../data/constants';
|
||||
|
||||
interface IContactPageProps {
|
||||
location: Location;
|
||||
|
@ -24,7 +25,7 @@ const ContactPage = ({location}: IContactPageProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1>{intl.formatMessage(CONTACT_COPY.PAGE_INTRO.PAGE_HEADING)}</h1>
|
||||
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap={6}>
|
||||
|
@ -34,6 +35,7 @@ const ContactPage = ({location}: IContactPageProps) => {
|
|||
<h2>
|
||||
{intl.formatMessage(CONTACT_COPY.PAGE_INTRO.PAGE_SUB_HEADING)}
|
||||
</h2>
|
||||
<p>{CONTACT_COPY.CENSUS_TRACT_FEEDBACK.PARAGRAPH3}</p>
|
||||
<p>
|
||||
<FormattedMessage
|
||||
id={'contact.page.general'}
|
||||
|
|
|
@ -10,7 +10,7 @@ import ReleaseUpdate from '../components/ReleaseUpdate';
|
|||
import SubPageNav from '../components/SubPageNav';
|
||||
|
||||
import * as DOWNLOADS_COPY from '../data/copy/downloads';
|
||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS, DATA_SURVEY_LINKS} from '../data/constants';
|
||||
interface IDownloadsPageProps {
|
||||
location: Location;
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ const DownloadsPage = ({location}: IDownloadsPageProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1>{intl.formatMessage(DOWNLOADS_COPY.PAGE_INTRO.PAGE_HEADING1)}</h1>
|
||||
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap className={'j40-mb5-mt3'}>
|
||||
|
|
|
@ -9,7 +9,7 @@ import Layout from '../components/layout';
|
|||
import DatasetsButton from '../components/DatasetsButton';
|
||||
import SubPageNav from '../components/SubPageNav';
|
||||
|
||||
import {USWDS_BREAKPOINTS} from '../data/constants';
|
||||
import {USWDS_BREAKPOINTS, DATA_SURVEY_LINKS} from '../data/constants';
|
||||
import * as FAQS_COPY from '../data/copy/faqs';
|
||||
import {PAGES_ENDPOINTS} from '../data/constants';
|
||||
import {SIDE_PANEL_INIT_STATE_ICON_ALT_TEXT} from '../data/copy/explore';
|
||||
|
@ -237,7 +237,7 @@ const FAQPage = ({location}: IFAQPageProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1>{intl.formatMessage(FAQS_COPY.PAGE_INTRO.PAGE_TILE)}</h1>
|
||||
<DatasetsButton href= {'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap className={'j40-mb5-mt3'}>
|
||||
|
|
|
@ -9,6 +9,7 @@ import Layout from '../components/layout';
|
|||
import DatasetsButton from '../components/DatasetsButton';
|
||||
|
||||
import * as EXPLORE_COPY from '../data/copy/explore';
|
||||
import {DATA_SURVEY_LINKS} from '../data/constants';
|
||||
|
||||
interface IMapPageProps {
|
||||
location: Location;
|
||||
|
@ -26,7 +27,7 @@ const ExporeToolPage = ({location}: IMapPageProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1>{intl.formatMessage(EXPLORE_COPY.PAGE_INTRO.PAGE_HEADING)}</h1>
|
||||
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap className={'j40-mb5-mt3'}>
|
||||
|
|
|
@ -10,7 +10,7 @@ import Layout from '../components/layout';
|
|||
import SubPageNav from '../components/SubPageNav';
|
||||
import DatasetsButton from '../components/DatasetsButton';
|
||||
|
||||
import {USWDS_BREAKPOINTS} from '../data/constants';
|
||||
import {USWDS_BREAKPOINTS, DATA_SURVEY_LINKS} from '../data/constants';
|
||||
import * as METHODOLOGY_COPY from '../data/copy/methodology';
|
||||
import {PAGES_ENDPOINTS} from '../data/constants';
|
||||
|
||||
|
@ -29,7 +29,7 @@ const IndexPage = ({location}: MethodPageProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1>{intl.formatMessage(METHODOLOGY_COPY.PAGE.HEADING)}</h1>
|
||||
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap className={'j40-mt3'}>
|
||||
|
|
|
@ -10,7 +10,7 @@ import DatasetsButton from '../components/DatasetsButton';
|
|||
import SubPageNav from '../components/SubPageNav';
|
||||
|
||||
import * as PREV_VER_COPY from '../data/copy/previousVer';
|
||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
|
||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS, DATA_SURVEY_LINKS} from '../data/constants';
|
||||
import {getDownloadFileUrl} from '../data/copy/downloads';
|
||||
|
||||
interface IPreviousVersionsProps {
|
||||
|
@ -33,7 +33,7 @@ const PreviousVersions = ({location}: IPreviousVersionsProps) => {
|
|||
|
||||
<section className={'page-heading'}>
|
||||
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(PREV_VER_COPY.PAGE.TITLE)}</h1>
|
||||
<DatasetsButton href= {intl.locale === 'es' ? 'https://www.surveymonkey.com/r/ZPKY8G9' : 'https://www.surveymonkey.com/r/6G9TQJ8'} />
|
||||
<DatasetsButton href= {intl.locale === 'es' ? DATA_SURVEY_LINKS.ES : DATA_SURVEY_LINKS.EN} />
|
||||
</section>
|
||||
|
||||
<Grid row gap className={'j40-mb5-mt3'}>
|
||||
|
|
|
@ -405,7 +405,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
About
|
||||
</h1>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -847,7 +847,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -860,7 +860,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -1097,7 +1097,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
data-testid="gridContainer"
|
||||
>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
|
|
@ -403,7 +403,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
Contact
|
||||
</h1>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -432,6 +432,21 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
Contact us
|
||||
</h2>
|
||||
<p>
|
||||
|
||||
The best way to contact the Council on Environmental Quality (CEQ) is by filling out
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_cCNgWW4OsfaBlTo"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
this form
|
||||
</a>
|
||||
.
|
||||
|
||||
</p>
|
||||
<p>
|
||||
Email CEQ at:
|
||||
<a
|
||||
class="usa-link usa-link--external"
|
||||
|
@ -661,7 +676,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
data-testid="gridContainer"
|
||||
>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
|
|
@ -403,7 +403,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
Downloads
|
||||
</h1>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -976,7 +976,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
data-testid="gridContainer"
|
||||
>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
|
|
@ -403,7 +403,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
Frequently asked questions
|
||||
</h1>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -1059,7 +1059,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -1072,7 +1072,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
<a
|
||||
class="usa-link usa-link--external"
|
||||
data-cy=""
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -1510,7 +1510,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
data-testid="gridContainer"
|
||||
>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
|
|
@ -403,7 +403,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
Methodology
|
||||
</h1>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -1072,7 +1072,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
data-testid="grid"
|
||||
>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/6G9TQJ8"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
@ -3357,7 +3357,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
data-testid="gridContainer"
|
||||
>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
|
|
@ -1417,7 +1417,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
data-testid="gridContainer"
|
||||
>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
|
|
@ -616,7 +616,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
|
|||
data-testid="gridContainer"
|
||||
>
|
||||
<a
|
||||
href="https://www.surveymonkey.com/r/P3LWTSB"
|
||||
href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
|
|
Loading…
Add table
Reference in a new issue