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:
Vim 2024-02-08 15:27:56 -08:00 committed by GitHub
parent c88df4e26a
commit 8712ff53ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 979 additions and 611 deletions

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,7 @@ import {hyphenizeString} from '../../../cypress/integration/common/helpers';
import * as styles from './dsContainer.module.scss'; import * as styles from './dsContainer.module.scss';
import * as METHODOLOGY_COPY from '../../data/copy/methodology'; 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'; import DatasetsButton from '../DatasetsButton';
@ -35,7 +35,7 @@ const DatasetContainer = () => {
<Grid desktop={{col: 1}}> <Grid desktop={{col: 1}}>
</Grid> </Grid>
<Grid desktop={{col: 4}}> <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>
</Grid> </Grid>

View file

@ -51,7 +51,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="grid" data-testid="grid"
> >
<a <a
href="https://www.surveymonkey.com/r/6G9TQJ8" href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >

View file

@ -12,7 +12,7 @@ exports[`rendering of the HowYouCanHelp checks if various text fields are visibl
<a <a
class="usa-link usa-link--external" class="usa-link usa-link--external"
data-cy="" data-cy=""
href="https://www.surveymonkey.com/r/P3LWTSB" href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -25,7 +25,7 @@ exports[`rendering of the HowYouCanHelp checks if various text fields are visibl
<a <a
class="usa-link usa-link--external" class="usa-link usa-link--external"
data-cy="" data-cy=""
href="https://www.surveymonkey.com/r/6G9TQJ8" href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >

View file

@ -211,7 +211,7 @@ exports[`J40Footer renders correctly 1`] = `
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/P3LWTSB" href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >

View file

@ -5,6 +5,7 @@ import {Button} from '@trussworks/react-uswds';
import * as styles from './SurveyButton.module.scss'; import * as styles from './SurveyButton.module.scss';
import * as CONTACT_COPY from '../../data/copy/contact'; import * as CONTACT_COPY from '../../data/copy/contact';
import J40MainGridContainer from '../J40MainGridContainer'; import J40MainGridContainer from '../J40MainGridContainer';
import {SITE_SATISFACTION_SURVEY_LINKS} from '../../data/constants';
// @ts-ignore // @ts-ignore
import launchIcon from '/node_modules/uswds/dist/img/usa-icons/launch.svg'; 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 SurveyButton = () => {
const intl = useIntl(); const intl = useIntl();
const href = intl.locale === 'es' ? const href = intl.locale === 'es' ?
`https://www.surveymonkey.com/r/ZH36CYV` : SITE_SATISFACTION_SURVEY_LINKS.ES :
`https://www.surveymonkey.com/r/P3LWTSB`; SITE_SATISFACTION_SURVEY_LINKS.EN;
return ( return (
<J40MainGridContainer className={styles.surveyButtonContainer}> <J40MainGridContainer className={styles.surveyButtonContainer}>

View file

@ -7,7 +7,7 @@ exports[`rendering of the SurveyButton checks if component renders 1`] = `
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/P3LWTSB" href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >

View file

@ -1,62 +1,59 @@
import { LngLatBoundsLike } from "maplibre-gl";
import {LngLatBoundsLike} from 'maplibre-gl'; import { isMobile as isMobileReactDeviceDetect } from "react-device-detect";
import {isMobile as isMobileReactDeviceDetect} from 'react-device-detect';
export const isMobile = isMobileReactDeviceDetect; export const isMobile = isMobileReactDeviceDetect;
// Pages URL // Pages URL
export const PAGES_ENDPOINTS = { export const PAGES_ENDPOINTS = {
EXPLORE: '/', EXPLORE: "/",
METHODOLOGY: '/methodology', METHODOLOGY: "/methodology",
DOWNLOADS: '/downloads', DOWNLOADS: "/downloads",
TSD: '/technical-support-document', TSD: "/technical-support-document",
ABOUT: '/about', ABOUT: "/about",
FAQS: '/frequently-asked-questions', FAQS: "/frequently-asked-questions",
PUBLIC_ENG: '/public-engagement', PUBLIC_ENG: "/public-engagement",
CONTACT: '/contact', CONTACT: "/contact",
PREVIOUS_VERSIONS: '/previous-versions', PREVIOUS_VERSIONS: "/previous-versions",
}; };
// Performance markers // Performance markers
export const PERFORMANCE_MARKER_MAP_IDLE = 'MAP_IDLE'; export const PERFORMANCE_MARKER_MAP_IDLE = "MAP_IDLE";
// ******* PROPERTIES FROM TILE SERVER ************** // ******* PROPERTIES FROM TILE SERVER **************
export type J40Properties = { [key: string]: any }; export type J40Properties = { [key: string]: any };
// ****** SIDE PANEL BACKEND SIGNALS *********** // ****** SIDE PANEL BACKEND SIGNALS ***********
export const MISSING_DATA_STRING = '--'; export const MISSING_DATA_STRING = "--";
// Tribal signals // Tribal signals
export const TRIBAL_ID = 'tribalId'; export const TRIBAL_ID = "tribalId";
export const LAND_AREA_NAME = 'landAreaName'; export const LAND_AREA_NAME = "landAreaName";
export const TRIBAL_AREAS_PERCENTAGE = 'TA_PERC_FE'; export const TRIBAL_AREAS_PERCENTAGE = "TA_PERC_FE";
export const TRIBAL_AREAS_COUNT_AK = 'TA_COUNT_AK'; export const TRIBAL_AREAS_COUNT_AK = "TA_COUNT_AK";
export const TRIBAL_AREAS_COUNT_CONUS = 'TA_COUNT_C'; export const TRIBAL_AREAS_COUNT_CONUS = "TA_COUNT_C";
// Set the threshold percentile used by most indicators in the side panel // Set the threshold percentile used by most indicators in the side panel
export const DEFAULT_THRESHOLD_PERCENTILE = 90; export const DEFAULT_THRESHOLD_PERCENTILE = 90;
// General Census Track Info // General Census Track Info
export const GEOID_PROPERTY = 'GEOID10'; export const GEOID_PROPERTY = "GEOID10";
export const COUNTY_NAME = 'CF'; export const COUNTY_NAME = "CF";
export const STATE_NAME = 'SF'; export const STATE_NAME = "SF";
export const TOTAL_POPULATION = 'TPF'; export const TOTAL_POPULATION = "TPF";
// Demographics // Demographics
export const DEMO_NON_HISPANIC_WHITE = 'DM_W'; export const DEMO_NON_HISPANIC_WHITE = "DM_W";
export const DEMO_BLACK = 'DM_B'; export const DEMO_BLACK = "DM_B";
export const DEMO_AMERICAN_INDIAN = 'DM_AI'; export const DEMO_AMERICAN_INDIAN = "DM_AI";
export const DEMO_ASIAN = 'DM_A'; export const DEMO_ASIAN = "DM_A";
export const DEMO_HAWAIIAN = 'DM_HI'; export const DEMO_HAWAIIAN = "DM_HI";
export const DEMO_OTHER_RACE = 'DM_O'; export const DEMO_OTHER_RACE = "DM_O";
export const DEMO_TWO_OR_MORE_RACES = 'DM_T'; export const DEMO_TWO_OR_MORE_RACES = "DM_T";
export const DEMO_HISPANIC = 'DM_H'; export const DEMO_HISPANIC = "DM_H";
export const DEMO_AGE_UNDER_10 = 'AGE_10'; export const DEMO_AGE_UNDER_10 = "AGE_10";
export const DEMO_AGE_MID = 'AGE_MIDDLE'; export const DEMO_AGE_MID = "AGE_MIDDLE";
export const DEMO_AGE_OVER_64 = 'AGE_OLD'; export const DEMO_AGE_OVER_64 = "AGE_OLD";
/** /**
* The SCORE_BOUNDAY_THRESHOLD will determine if the tract is disadvantaged * 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; export const SCORE_BOUNDARY_THRESHOLD = 0.6;
// Determines the X of Y threshold exceeded // Determines the X of Y threshold exceeded
export const TOTAL_NUMBER_OF_DISADVANTAGE_INDICATORS = 'TC'; export const TOTAL_NUMBER_OF_DISADVANTAGE_INDICATORS = "TC";
export const TOTAL_NUMBER_OF_INDICATORS = 'THRHLD'; export const TOTAL_NUMBER_OF_INDICATORS = "THRHLD";
export const COUNT_OF_CATEGORIES_DISADV = 'CC'; export const COUNT_OF_CATEGORIES_DISADV = "CC";
export const SCORE_N_COMMUNITIES = 'SN_C'; export const SCORE_N_COMMUNITIES = "SN_C";
export const SCORE_N_TRIBAL = 'SN_T'; 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 = { export const SIDE_PANEL_STATE_VALUES = {
NATION: 'Nation', NATION: "Nation",
PUERTO_RICO: 'Puerto Rico', PUERTO_RICO: "Puerto Rico",
ISLAND_AREAS: 'Island Areas', ISLAND_AREAS: "Island Areas",
}; };
// Climate category // Climate category
export const IS_CLIMATE_FACTOR_DISADVANTAGED = 'N_CLT'; export const IS_CLIMATE_FACTOR_DISADVANTAGED = "N_CLT";
export const IS_CLIMATE_EXCEED_ONE_OR_MORE_INDICATORS = 'N_CLT_EOMI'; export const IS_CLIMATE_EXCEED_ONE_OR_MORE_INDICATORS = "N_CLT_EOMI";
export const EXP_AGRICULTURE_LOSS_PERCENTILE = 'EALR_PFS'; export const EXP_AGRICULTURE_LOSS_PERCENTILE = "EALR_PFS";
export const IS_EXCEEDS_THRESH_FOR_EXP_AGR_LOSS = 'EAL_ET'; export const IS_EXCEEDS_THRESH_FOR_EXP_AGR_LOSS = "EAL_ET";
export const EXP_BUILDING_LOSS_PERCENTILE = 'EBLR_PFS'; export const EXP_BUILDING_LOSS_PERCENTILE = "EBLR_PFS";
export const IS_EXCEEDS_THRESH_FOR_EXP_BLD_LOSS = 'EBL_ET'; export const IS_EXCEEDS_THRESH_FOR_EXP_BLD_LOSS = "EBL_ET";
export const EXP_POPULATION_LOSS_PERCENTILE = 'EPLR_PFS'; export const EXP_POPULATION_LOSS_PERCENTILE = "EPLR_PFS";
export const IS_EXCEEDS_THRESH_FOR_EXP_POP_LOSS = 'EPL_ET'; export const IS_EXCEEDS_THRESH_FOR_EXP_POP_LOSS = "EPL_ET";
export const FLOODING_PERCENTILE = 'FLD_PFS'; export const FLOODING_PERCENTILE = "FLD_PFS";
export const IS_EXCEEDS_THRESH_FLOODING = 'FLD_ET'; export const IS_EXCEEDS_THRESH_FLOODING = "FLD_ET";
export const WILDFIRE_PERCENTILE = 'WFR_PFS'; export const WILDFIRE_PERCENTILE = "WFR_PFS";
export const IS_EXCEEDS_THRESH_WILDFIRE = 'WFR_ET'; 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 POVERTY_BELOW_200_PERCENTILE = "P200_I_PFS";
export const IS_FEDERAL_POVERTY_LEVEL_200 = 'FPL200S'; export const IS_FEDERAL_POVERTY_LEVEL_200 = "FPL200S";
export const HIGHER_ED_PERCENTILE = 'CA'; export const HIGHER_ED_PERCENTILE = "CA";
export const IS_HIGHER_ED_PERCENTILE = 'CA_LT20'; export const IS_HIGHER_ED_PERCENTILE = "CA_LT20";
export const NON_HIGHER_ED_PERCENTILE = 'NCA';
export const NON_HIGHER_ED_PERCENTILE = "NCA";
// Energy category // Energy category
export const IS_ENERGY_FACTOR_DISADVANTAGED = 'N_ENY'; export const IS_ENERGY_FACTOR_DISADVANTAGED = "N_ENY";
export const IS_ENERGY_EXCEED_ONE_OR_MORE_INDICATORS = 'N_ENY_EOMI'; export const IS_ENERGY_EXCEED_ONE_OR_MORE_INDICATORS = "N_ENY_EOMI";
export const ENERGY_PERCENTILE = 'EBF_PFS'; export const ENERGY_PERCENTILE = "EBF_PFS";
export const IS_EXCEEDS_THRESH_FOR_ENERGY_BURDEN = 'EB_ET'; 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 PM25_PERCENTILE = "PM25F_PFS";
export const IS_EXCEEDS_THRESH_FOR_PM25 = "PM25_ET";
// Transport category // Transport category
export const IS_TRANSPORT_FACTOR_DISADVANTAGED = 'N_TRN'; export const IS_TRANSPORT_FACTOR_DISADVANTAGED = "N_TRN";
export const IS_TRANSPORT_EXCEED_ONE_OR_MORE_INDICATORS = 'N_TRN_EOMI'; export const IS_TRANSPORT_EXCEED_ONE_OR_MORE_INDICATORS = "N_TRN_EOMI";
export const DIESEL_MATTER_PERCENTILE = 'DSF_PFS'; export const DIESEL_MATTER_PERCENTILE = "DSF_PFS";
export const IS_EXCEEDS_THRESH_FOR_DIESEL_PM = 'DS_ET'; export const IS_EXCEEDS_THRESH_FOR_DIESEL_PM = "DS_ET";
export const TRAVEL_DISADV_PERCENTILE = 'TD_PFS'; export const TRAVEL_DISADV_PERCENTILE = "TD_PFS";
export const IS_EXCEEDS_THRESH_TRAVEL_DISADV = 'TD_ET'; 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 TRAFFIC_PERCENTILE = "TF_PFS";
export const IS_EXCEEDS_THRESH_FOR_TRAFFIC_PROX = "TP_ET";
// Housing category // Housing category
export const IS_HOUSING_FACTOR_DISADVANTAGED = 'N_HSG'; export const IS_HOUSING_FACTOR_DISADVANTAGED = "N_HSG";
export const IS_HOUSING_EXCEED_ONE_OR_MORE_INDICATORS = 'N_HSG_EOMI'; export const IS_HOUSING_EXCEED_ONE_OR_MORE_INDICATORS = "N_HSG_EOMI";
export const HISTORIC_UNDERINVESTMENT_EXCEED_THRESH = 'HRS_ET'; export const HISTORIC_UNDERINVESTMENT_EXCEED_THRESH = "HRS_ET";
export const HISTORIC_UNDERINVESTMENT_RAW_YES = '1'; export const HISTORIC_UNDERINVESTMENT_RAW_YES = "1";
export const HOUSING_BURDEN_PROPERTY_PERCENTILE = 'HBF_PFS'; export const HOUSING_BURDEN_PROPERTY_PERCENTILE = "HBF_PFS";
export const IS_EXCEEDS_THRESH_FOR_HOUSE_BURDEN = 'HB_ET'; export const IS_EXCEEDS_THRESH_FOR_HOUSE_BURDEN = "HB_ET";
export const IMPERVIOUS_PERCENTILE = 'IS_PFS'; export const IMPERVIOUS_PERCENTILE = "IS_PFS";
export const IS_EXCEEDS_THRESH_IMPERVIOUS = 'IS_ET'; export const IS_EXCEEDS_THRESH_IMPERVIOUS = "IS_ET";
export const KITCHEN_PLUMB_PERCENTILE = 'KP_PFS'; export const KITCHEN_PLUMB_PERCENTILE = "KP_PFS";
export const IS_EXCEEDS_THRESH_KITCHEN_PLUMB = 'KP_ET'; 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 LEAD_PAINT_PERCENTILE = "LPF_PFS";
export const IS_EXCEEDS_THRESH_FOR_LEAD_PAINT_AND_MEDIAN_HOME_VAL = "LPP_ET";
// Pollution category // Pollution category
export const IS_POLLUTION_FACTOR_DISADVANTAGED = 'N_PLN'; export const IS_POLLUTION_FACTOR_DISADVANTAGED = "N_PLN";
export const IS_POLLUTION_EXCEED_ONE_OR_MORE_INDICATORS = 'N_PLN_EOMI'; export const IS_POLLUTION_EXCEED_ONE_OR_MORE_INDICATORS = "N_PLN_EOMI";
export const AML_RAW_YES = 1; 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_YES = 1;
export const FUDS_RAW_NO = 0; 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 PROXIMITY_TSDF_SITES_PERCENTILE = "TSDF_PFS";
export const IS_EXCEEDS_THRESH_FOR_HAZARD_WASTE = 'TSDF_ET'; export const IS_EXCEEDS_THRESH_FOR_HAZARD_WASTE = "TSDF_ET";
export const PROXIMITY_NPL_SITES_PERCENTILE = 'NPL_PFS'; export const PROXIMITY_NPL_SITES_PERCENTILE = "NPL_PFS";
export const IS_EXCEEDS_THRESH_FOR_SUPERFUND = 'NPL_ET'; 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_RMP_SITES_PERCENTILE = "RMP_PFS";
export const IS_EXCEEDS_THRESH_FOR_RMP = "RMP_ET";
// Water category // Water category
export const IS_WATER_FACTOR_DISADVANTAGED = 'N_WTR'; export const IS_WATER_FACTOR_DISADVANTAGED = "N_WTR";
export const IS_WATER_EXCEED_ONE_OR_MORE_INDICATORS = 'N_WTR_EOMI'; export const IS_WATER_EXCEED_ONE_OR_MORE_INDICATORS = "N_WTR_EOMI";
export const LEAKY_UNDER_PERCENTILE = 'UST_PFS'; export const LEAKY_UNDER_PERCENTILE = "UST_PFS";
export const IS_EXCEEDS_THRESH_LEAKY_UNDER = 'UST_ET'; 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 WASTEWATER_PERCENTILE = "WF_PFS";
export const IS_EXCEEDS_THRESH_FOR_WASTEWATER = "WD_ET";
// Health category // Health category
export const IS_HEALTH_FACTOR_DISADVANTAGED = 'N_HLTH'; export const IS_HEALTH_FACTOR_DISADVANTAGED = "N_HLTH";
export const IS_HEALTH_EXCEED_ONE_OR_MORE_INDICATORS = 'N_HLTH_EOMI'; export const IS_HEALTH_EXCEED_ONE_OR_MORE_INDICATORS = "N_HLTH_EOMI";
export const ASTHMA_PERCENTILE = 'AF_PFS'; export const ASTHMA_PERCENTILE = "AF_PFS";
export const IS_EXCEEDS_THRESH_FOR_ASTHMA = 'A_ET'; export const IS_EXCEEDS_THRESH_FOR_ASTHMA = "A_ET";
export const DIABETES_PERCENTILE = 'DF_PFS'; export const DIABETES_PERCENTILE = "DF_PFS";
export const IS_EXCEEDS_THRESH_FOR_DIABETES = 'DB_ET'; export const IS_EXCEEDS_THRESH_FOR_DIABETES = "DB_ET";
export const HEART_PERCENTILE = 'HDF_PFS'; export const HEART_PERCENTILE = "HDF_PFS";
export const IS_EXCEEDS_THRESH_FOR_HEART_DISEASE = 'HD_ET'; 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 LIFE_PERCENTILE = "LLEF_PFS";
export const IS_EXCEEDS_THRESH_FOR_LOW_LIFE_EXP = "LLE_ET";
// Workforce category // Workforce category
export const IS_WORKFORCE_FACTOR_DISADVANTAGED = 'N_WKFC'; export const IS_WORKFORCE_FACTOR_DISADVANTAGED = "N_WKFC";
export const IS_WORKFORCE_EXCEED_ONE_OR_MORE_INDICATORS = 'N_WKFC_EOMI'; export const IS_WORKFORCE_EXCEED_ONE_OR_MORE_INDICATORS = "N_WKFC_EOMI";
export const LINGUISTIC_ISOLATION_PROPERTY_PERCENTILE = 'LIF_PFS'; export const LINGUISTIC_ISOLATION_PROPERTY_PERCENTILE = "LIF_PFS";
export const IS_EXCEEDS_THRESH_FOR_LINGUISITIC_ISO = 'LISO_ET'; export const IS_EXCEEDS_THRESH_FOR_LINGUISITIC_ISO = "LISO_ET";
export const LOW_MEDIAN_INCOME_PERCENTILE = 'LMI_PFS'; export const LOW_MEDIAN_INCOME_PERCENTILE = "LMI_PFS";
export const IS_EXCEEDS_THRESH_FOR_LOW_MEDIAN_INCOME = 'LMI_ET'; 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 ISLAND_AREAS_LOW_MEDIAN_INCOME_LOW_HS_EDU_PERCENTILE_FIELD =
export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_LOW_MEDIAN_INCOME = 'IA_LMI_ET'; "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 UNEMPLOYMENT_PROPERTY_PERCENTILE = "UF_PFS";
export const IS_EXCEEDS_THRESH_FOR_UNEMPLOYMENT = 'UN_ET'; export const IS_EXCEEDS_THRESH_FOR_UNEMPLOYMENT = "UN_ET";
export const ISLAND_AREAS_UNEMPLOYMENT_LOW_HS_EDU_PERCENTILE_FIELD= 'IAULHSE_PFS'; export const ISLAND_AREAS_UNEMPLOYMENT_LOW_HS_EDU_PERCENTILE_FIELD =
export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_UNEMPLOYMENT = 'IA_UN_ET'; "IAULHSE_PFS";
export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_UNEMPLOYMENT = "IA_UN_ET";
export const POVERTY_BELOW_100_PERCENTILE = 'P100_PFS'; export const POVERTY_BELOW_100_PERCENTILE = "P100_PFS";
export const IS_EXCEEDS_THRESH_FOR_BELOW_100_POVERTY = 'POV_ET'; 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 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_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 HIGH_SCHOOL_PROPERTY_PERCENTILE = `HSEF`;
export const IS_LOW_HS_EDUCATION_LOW_HIGHER_ED_PRIORITIZED = 'LHE'; export const IS_LOW_HS_EDUCATION_LOW_HIGHER_ED_PRIORITIZED = "LHE";
export const ISLAND_AREAS_HS_EDU_PERCENTAGE_FIELD= 'IAHSEF'; export const ISLAND_AREAS_HS_EDU_PERCENTAGE_FIELD = "IAHSEF";
export const ISLAND_AREA_LOW_HS_EDU = 'IALHE'; export const ISLAND_AREA_LOW_HS_EDU = "IALHE";
// Misc category // Misc category
export const ADJACENCY_EXCEEDS_THRESH = 'ADJ_ET'; export const ADJACENCY_EXCEEDS_THRESH = "ADJ_ET";
export const ADJACENCY_LOW_INCOME_EXCEEDS_THRESH = 'AJDLI_ET'; export const ADJACENCY_LOW_INCOME_EXCEEDS_THRESH = "AJDLI_ET";
export const IMPUTE_FLAG = 'IMP_FLG';
export const IMPUTE_FLAG = "IMP_FLG";
// ********** MAP CONSTANTS *************** // ********** MAP CONSTANTS ***************
// Source name constants // Source name constants
export const BASE_MAP_SOURCE_NAME = 'base-map-source-name'; export const BASE_MAP_SOURCE_NAME = "base-map-source-name";
export const HIGH_ZOOM_SOURCE_NAME = 'high-zoom-source-name'; export const HIGH_ZOOM_SOURCE_NAME = "high-zoom-source-name";
export const LOW_ZOOM_SOURCE_NAME = 'low-zoom-source-name'; export const LOW_ZOOM_SOURCE_NAME = "low-zoom-source-name";
export const TRIBAL_SOURCE_NAME = 'tribal-source-name'; export const TRIBAL_SOURCE_NAME = "tribal-source-name";
// Layer ID constants // Layer ID constants
export const SCORE_SOURCE_LAYER = 'blocks'; // The name of the layer within the tiles that contains the score 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 TRIBAL_SOURCE_LAYER = "blocks";
export const BASE_MAP_LAYER_ID = 'base-map-layer-id'; export const BASE_MAP_LAYER_ID = "base-map-layer-id";
export const HIGH_ZOOM_LAYER_ID = 'high-zoom-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 PRIORITIZED_HIGH_ZOOM_LAYER_ID = "prioritized-high-zoom-layer-id";
export const LOW_ZOOM_LAYER_ID = 'low-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 FEATURE_BORDER_LAYER_ID = "feature-border-layer-id";
export const SELECTED_FEATURE_BORDER_LAYER_ID = 'selected-feature-border-layer-id'; export const SELECTED_FEATURE_BORDER_LAYER_ID =
export const TRIBAL_LAYER_ID = 'tribal-layer-id'; "selected-feature-border-layer-id";
export const SELECTED_TRIBAL_FEATURE_BORDER_LAYER_ID = 'selected-feature-tribal-border-layer-id'; export const TRIBAL_LAYER_ID = "tribal-layer-id";
export const TRIBAL_ALASKA_POINTS_LAYER_ID = 'tribal-alaska-points-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: // Used in layer filters:
export const SCORE_PROPERTY_LOW = 'SCORE'; export const SCORE_PROPERTY_LOW = "SCORE";
export const SCORE_PROPERTY_HIGH = 'SN_C'; export const SCORE_PROPERTY_HIGH = "SN_C";
// Zoom // Zoom
export const GLOBAL_MIN_ZOOM = 3; 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; export const TRIBAL_FEATURE_FILL_OPACITY = 0.3;
// Colors // Colors
export const FEATURE_BORDER_COLOR = '#4EA5CF'; export const FEATURE_BORDER_COLOR = "#4EA5CF";
export const SELECTED_FEATURE_BORDER_COLOR = '#1A4480'; export const SELECTED_FEATURE_BORDER_COLOR = "#1A4480";
export const PRIORITIZED_FEATURE_FILL_COLOR = '#768FB3'; export const PRIORITIZED_FEATURE_FILL_COLOR = "#768FB3";
export const TRIBAL_BORDER_COLOR = '##4EA5CF'; export const TRIBAL_BORDER_COLOR = "##4EA5CF";
export const SELECTED_TRIBAL_BORDER_COLOR = '#1A4480'; export const SELECTED_TRIBAL_BORDER_COLOR = "#1A4480";
export const TRIBAL_FILL_COLOR = '#768FB3'; export const TRIBAL_FILL_COLOR = "#768FB3";
export const TRIBAL_ALASKA_CIRCLE_FILL_COLOR = '#768FB3'; export const TRIBAL_ALASKA_CIRCLE_FILL_COLOR = "#768FB3";
export const TRIBAL_ALASKA_CIRCLE_RADIUS = 5; export const TRIBAL_ALASKA_CIRCLE_RADIUS = 5;
// Widths // 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 // Bounds - these bounds can be obtained by using the getCurrentMapBoundingBox() function in the map
export const GLOBAL_MAX_BOUNDS: LngLatBoundsLike = [ export const GLOBAL_MAX_BOUNDS: LngLatBoundsLike = [
[-180.118306, 5.499550], [-180.118306, 5.49955],
[-65.0, 83.162102], [-65.0, 83.162102],
]; ];
@ -320,8 +313,8 @@ export const ALASKA_BOUNDS: LngLatBoundsLike = [
]; ];
export const HAWAII_BOUNDS: LngLatBoundsLike = [ export const HAWAII_BOUNDS: LngLatBoundsLike = [
[-161.174534, 17.652170], [-161.174534, 17.65217],
[-154.218940, 23.603623], [-154.21894, 23.603623],
]; ];
export const PUERTO_RICO_BOUNDS: LngLatBoundsLike = [ 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]; export const DEFAULT_CENTER = [33.4687126, -97.502136];
// USWDS Breakpoints // USWDS Breakpoints
export const USWDS_BREAKPOINTS = { export const USWDS_BREAKPOINTS = {
MOBILE_LG: 480, MOBILE_LG: 480,
DESKTOP: 1024, 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",
};

View file

@ -5,7 +5,7 @@ import {FormattedMessage} from 'gatsby-plugin-intl';
import {italicFn, linkFn} from './common'; import {italicFn, linkFn} from './common';
import {VERSION_NUMBER} from './methodology'; 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 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 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`} 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`} description={`Navigate to the about page. You will see How you can help list item 1`}
values={{ values={{
link1: linkFn('https://www.surveymonkey.com/r/P3LWTSB', false, true), link1: linkFn(SITE_SATISFACTION_SURVEY_LINKS.EN, false, true),
link1es: linkFn('https://www.surveymonkey.com/r/ZH36CYV', false, true), link1es: linkFn(SITE_SATISFACTION_SURVEY_LINKS.ES, false, true),
}} }}
/>, />,
LIST_ITEM_2: <FormattedMessage LIST_ITEM_2: <FormattedMessage
@ -260,8 +260,8 @@ export const HOW_YOU_CAN_HELP_LIST_ITEMS = {
defaultMessage={`Suggest new <link1>data sources</link1>.`} defaultMessage={`Suggest new <link1>data sources</link1>.`}
description={`Navigate to the about page. You will see How you can help list item 2`} description={`Navigate to the about page. You will see How you can help list item 2`}
values={{ values={{
link1: linkFn('https://www.surveymonkey.com/r/6G9TQJ8', false, true), link1: linkFn(DATA_SURVEY_LINKS.EN, false, true),
link1es: linkFn('https://www.surveymonkey.com/r/ZPKY8G9', false, true), link1es: linkFn(DATA_SURVEY_LINKS.ES, false, true),
}} }}
/>, />,
LIST_ITEM_3: <FormattedMessage 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`} description={`Navigate to the about page. You will see How you can help list item 3`}
values={{ values={{
link1: linkFn(PAGES_ENDPOINTS.METHODOLOGY, true, false), link1: linkFn(PAGES_ENDPOINTS.METHODOLOGY, true, false),
link2: linkFn('https://www.surveymonkey.com/r/5LZ7MNB', false, true), link2: linkFn(CONTACT_SURVEY_LINKS.EN, false, true),
link2es: linkFn('https://www.surveymonkey.com/r/CGTH5P7', false, true), link2es: linkFn(CONTACT_SURVEY_LINKS.ES, false, true),
}} }}
/>, />,
PARA1: <FormattedMessage PARA1: <FormattedMessage

View file

@ -3,6 +3,7 @@ import React from 'react';
import {defineMessages} from 'react-intl'; import {defineMessages} from 'react-intl';
import {FormattedDate, FormattedMessage} from 'gatsby-plugin-intl'; import {FormattedDate, FormattedMessage} from 'gatsby-plugin-intl';
import * as COMMON_COPY from './common'; import * as COMMON_COPY from './common';
import {CONTACT_SURVEY_LINKS} from '../constants';
export const PAGE_INTRO = defineMessages({ export const PAGE_INTRO = defineMessages({
PAGE_TILE: { PAGE_TILE: {
@ -75,17 +76,17 @@ export const CENSUS_TRACT_FEEDBACK = {
// `} // `}
// description={'Navigate to the contact page, this is the census tract feedback section'} // description={'Navigate to the contact page, this is the census tract feedback section'}
// />, // />,
// PARAGRAPH3: <FormattedMessage PARAGRAPH3: <FormattedMessage
// id={'contact.page.census.tract.feedback.para3'} id={'contact.page.census.tract.feedback.para3'}
// defaultMessage={` defaultMessage={`
// The best way to contact the Council on Environmental Quality (CEQ) is by filling out <link1>this form</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'} description={'Navigate to the survey. Spanish should substitute <link2> to get Spanish link! Already coded to support'}
// values={{ values={{
// link1: COMMON_COPY.linkFn('https://www.surveymonkey.com/r/5LZ7MNB', false, true), link1: COMMON_COPY.linkFn(CONTACT_SURVEY_LINKS.EN, false, true),
// link1es: COMMON_COPY.linkFn('https://www.surveymonkey.com/r/CGTH5P7', false, true), link1es: COMMON_COPY.linkFn(CONTACT_SURVEY_LINKS.ES, false, true),
// }} }}
// />, />,
}; };

View file

@ -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 {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 {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 {EXPLORE_PAGE_LINKS} from './explore';
import {DOWNLOAD_FILES} from './downloads'; 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.`} 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'} description={ 'Navigate to the FAQs page, this will be an answer, Q15_P1_2'}
values={{ values={{
link1: linkFn('https://www.surveymonkey.com/r/6G9TQJ8', false, true), link1: linkFn(DATA_SURVEY_LINKS.EN, false, true),
}} }}
/>, />,
Q15_P1_3: <FormattedMessage 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.`} 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'} description={ 'Navigate to the FAQs page, this will be an answer, Q15_P1_3'}
values={{ values={{
link1: linkFn('https://www.surveymonkey.com/r/P3LWTSB', false, true), link1: linkFn(SITE_SATISFACTION_SURVEY_LINKS.EN, false, true),
}} }}
/>, />,
Q15_P1_4: <FormattedMessage Q15_P1_4: <FormattedMessage

View file

@ -259,6 +259,10 @@
"defaultMessage": "https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf", "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." "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": { "contact.page.fab.survey.text": {
"defaultMessage": "Help improve the tool", "defaultMessage": "Help improve the tool",
"description": "Navigate to the contact page, this is the text for floating action button" "description": "Navigate to the contact page, this is the text for floating action button"

View file

@ -13,7 +13,7 @@ import SubPageNav from '../components/SubPageNav';
import * as ABOUT_COPY from '../data/copy/about'; import * as ABOUT_COPY from '../data/copy/about';
import {FEEDBACK_EMAIL} from '../data/copy/common'; 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 import accountBalanceIcon // @ts-ignore
from '/node_modules/uswds/dist/img/usa-icons/account_balance.svg'; from '/node_modules/uswds/dist/img/usa-icons/account_balance.svg';
@ -46,7 +46,7 @@ const AboutPage = ({location}: IAboutPageProps) => {
<section className={'page-heading'}> <section className={'page-heading'}>
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(ABOUT_COPY.PAGE.TITLE)}</h1> <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> </section>
<Grid row gap className={'j40-mb5-mt3'}> <Grid row gap className={'j40-mb5-mt3'}>

View file

@ -9,6 +9,7 @@ import DatasetsButton from '../components/DatasetsButton';
import * as CONTACT_COPY from '../data/copy/contact'; import * as CONTACT_COPY from '../data/copy/contact';
import {FEEDBACK_EMAIL} from '../data/copy/common'; import {FEEDBACK_EMAIL} from '../data/copy/common';
import {DATA_SURVEY_LINKS} from '../data/constants';
interface IContactPageProps { interface IContactPageProps {
location: Location; location: Location;
@ -24,7 +25,7 @@ const ContactPage = ({location}: IContactPageProps) => {
<section className={'page-heading'}> <section className={'page-heading'}>
<h1>{intl.formatMessage(CONTACT_COPY.PAGE_INTRO.PAGE_HEADING)}</h1> <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> </section>
<Grid row gap={6}> <Grid row gap={6}>
@ -34,6 +35,7 @@ const ContactPage = ({location}: IContactPageProps) => {
<h2> <h2>
{intl.formatMessage(CONTACT_COPY.PAGE_INTRO.PAGE_SUB_HEADING)} {intl.formatMessage(CONTACT_COPY.PAGE_INTRO.PAGE_SUB_HEADING)}
</h2> </h2>
<p>{CONTACT_COPY.CENSUS_TRACT_FEEDBACK.PARAGRAPH3}</p>
<p> <p>
<FormattedMessage <FormattedMessage
id={'contact.page.general'} id={'contact.page.general'}

View file

@ -10,7 +10,7 @@ import ReleaseUpdate from '../components/ReleaseUpdate';
import SubPageNav from '../components/SubPageNav'; import SubPageNav from '../components/SubPageNav';
import * as DOWNLOADS_COPY from '../data/copy/downloads'; 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 { interface IDownloadsPageProps {
location: Location; location: Location;
} }
@ -26,7 +26,7 @@ const DownloadsPage = ({location}: IDownloadsPageProps) => {
<section className={'page-heading'}> <section className={'page-heading'}>
<h1>{intl.formatMessage(DOWNLOADS_COPY.PAGE_INTRO.PAGE_HEADING1)}</h1> <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> </section>
<Grid row gap className={'j40-mb5-mt3'}> <Grid row gap className={'j40-mb5-mt3'}>

View file

@ -9,7 +9,7 @@ import Layout from '../components/layout';
import DatasetsButton from '../components/DatasetsButton'; import DatasetsButton from '../components/DatasetsButton';
import SubPageNav from '../components/SubPageNav'; 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 * as FAQS_COPY from '../data/copy/faqs';
import {PAGES_ENDPOINTS} from '../data/constants'; import {PAGES_ENDPOINTS} from '../data/constants';
import {SIDE_PANEL_INIT_STATE_ICON_ALT_TEXT} from '../data/copy/explore'; import {SIDE_PANEL_INIT_STATE_ICON_ALT_TEXT} from '../data/copy/explore';
@ -237,7 +237,7 @@ const FAQPage = ({location}: IFAQPageProps) => {
<section className={'page-heading'}> <section className={'page-heading'}>
<h1>{intl.formatMessage(FAQS_COPY.PAGE_INTRO.PAGE_TILE)}</h1> <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> </section>
<Grid row gap className={'j40-mb5-mt3'}> <Grid row gap className={'j40-mb5-mt3'}>

View file

@ -9,6 +9,7 @@ import Layout from '../components/layout';
import DatasetsButton from '../components/DatasetsButton'; import DatasetsButton from '../components/DatasetsButton';
import * as EXPLORE_COPY from '../data/copy/explore'; import * as EXPLORE_COPY from '../data/copy/explore';
import {DATA_SURVEY_LINKS} from '../data/constants';
interface IMapPageProps { interface IMapPageProps {
location: Location; location: Location;
@ -26,7 +27,7 @@ const ExporeToolPage = ({location}: IMapPageProps) => {
<section className={'page-heading'}> <section className={'page-heading'}>
<h1>{intl.formatMessage(EXPLORE_COPY.PAGE_INTRO.PAGE_HEADING)}</h1> <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> </section>
<Grid row gap className={'j40-mb5-mt3'}> <Grid row gap className={'j40-mb5-mt3'}>

View file

@ -10,7 +10,7 @@ import Layout from '../components/layout';
import SubPageNav from '../components/SubPageNav'; import SubPageNav from '../components/SubPageNav';
import DatasetsButton from '../components/DatasetsButton'; 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 * as METHODOLOGY_COPY from '../data/copy/methodology';
import {PAGES_ENDPOINTS} from '../data/constants'; import {PAGES_ENDPOINTS} from '../data/constants';
@ -29,7 +29,7 @@ const IndexPage = ({location}: MethodPageProps) => {
<section className={'page-heading'}> <section className={'page-heading'}>
<h1>{intl.formatMessage(METHODOLOGY_COPY.PAGE.HEADING)}</h1> <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> </section>
<Grid row gap className={'j40-mt3'}> <Grid row gap className={'j40-mt3'}>

View file

@ -10,7 +10,7 @@ import DatasetsButton from '../components/DatasetsButton';
import SubPageNav from '../components/SubPageNav'; import SubPageNav from '../components/SubPageNav';
import * as PREV_VER_COPY from '../data/copy/previousVer'; 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'; import {getDownloadFileUrl} from '../data/copy/downloads';
interface IPreviousVersionsProps { interface IPreviousVersionsProps {
@ -33,7 +33,7 @@ const PreviousVersions = ({location}: IPreviousVersionsProps) => {
<section className={'page-heading'}> <section className={'page-heading'}>
<h1 data-cy={'about-page-heading'}>{intl.formatMessage(PREV_VER_COPY.PAGE.TITLE)}</h1> <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> </section>
<Grid row gap className={'j40-mb5-mt3'}> <Grid row gap className={'j40-mb5-mt3'}>

View file

@ -405,7 +405,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
About About
</h1> </h1>
<a <a
href="https://www.surveymonkey.com/r/6G9TQJ8" href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -847,7 +847,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a <a
class="usa-link usa-link--external" class="usa-link usa-link--external"
data-cy="" data-cy=""
href="https://www.surveymonkey.com/r/P3LWTSB" href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -860,7 +860,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a <a
class="usa-link usa-link--external" class="usa-link usa-link--external"
data-cy="" data-cy=""
href="https://www.surveymonkey.com/r/6G9TQJ8" href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -1097,7 +1097,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/P3LWTSB" href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >

View file

@ -403,7 +403,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Contact Contact
</h1> </h1>
<a <a
href="https://www.surveymonkey.com/r/6G9TQJ8" href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -432,6 +432,21 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Contact us Contact us
</h2> </h2>
<p> <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: Email CEQ at:
<a <a
class="usa-link usa-link--external" 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" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/P3LWTSB" href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >

View file

@ -403,7 +403,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Downloads Downloads
</h1> </h1>
<a <a
href="https://www.surveymonkey.com/r/6G9TQJ8" href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -976,7 +976,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/P3LWTSB" href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >

View file

@ -403,7 +403,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Frequently asked questions Frequently asked questions
</h1> </h1>
<a <a
href="https://www.surveymonkey.com/r/6G9TQJ8" href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -1059,7 +1059,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a <a
class="usa-link usa-link--external" class="usa-link usa-link--external"
data-cy="" data-cy=""
href="https://www.surveymonkey.com/r/6G9TQJ8" href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -1072,7 +1072,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a <a
class="usa-link usa-link--external" class="usa-link usa-link--external"
data-cy="" data-cy=""
href="https://www.surveymonkey.com/r/P3LWTSB" href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -1510,7 +1510,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/P3LWTSB" href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >

View file

@ -403,7 +403,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Methodology Methodology
</h1> </h1>
<a <a
href="https://www.surveymonkey.com/r/6G9TQJ8" href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -1072,7 +1072,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="grid" data-testid="grid"
> >
<a <a
href="https://www.surveymonkey.com/r/6G9TQJ8" href="https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -3357,7 +3357,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/P3LWTSB" href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >

View file

@ -1417,7 +1417,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/P3LWTSB" href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >

View file

@ -616,7 +616,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/P3LWTSB" href="https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >