/* eslint-disable max-len */ import React from 'react'; import {defineMessages} from 'react-intl'; import {FormattedMessage} from 'gatsby-plugin-intl'; import {italicFn, linkFn} from './common'; import {VERSION_NUMBER} from './methodology'; 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'; export const FED_RECOGNIZED_INDIAN_ENTITIES = `https://www.federalregister.gov/documents/2022/01/28/2022-01789/indian-entities-recognized-by-and-eligible-to-receive-services-from-the-united-states-bureau-of`; export const EJSCREEN = 'https://www.epa.gov/ejscreen/how-does-epa-use-ejscreen'; export const CEJST_INSTRUCT = process.env.GATSBY_CDN_TILES_BASE_URL +`/data-versions/2.0/data/score/downloadable/CEQ-CEJST-Instructions.pdf`; export const CEJST_INSTRUCT_ES = process.env.GATSBY_CDN_TILES_BASE_URL +`/data-versions/2.0/data/score/downloadable/CEQ-CEJST-Instructions-es.pdf`; export const CEJST_MEMO = `https://www.whitehouse.gov/wp-content/uploads/2023/01/M-23-09_Signed_CEQ_CPO.pdf`; export const CEJST_MEMO_ES = process.env.GATSBY_CDN_TILES_BASE_URL +`/data-versions/2.0/data/score/downloadable/M-23-09_Signed_CEQ_CPO_es.pdf`; export const USE_MAP_TUTORIAL_LINK = process.env.GATSBY_CDN_TILES_BASE_URL +`/data-versions/2.0/data/score/downloadable/Using-the-CEJST-Tutorial.pdf`; export const USE_MAP_TUTORIAL_LINK_ES = process.env.GATSBY_CDN_TILES_BASE_URL +`/data-versions/2.0/data/score/downloadable/Using-the-CEJST-Tutorial-es.pdf`; export const USE_DATA_TUTORIAL_LINK = process.env.GATSBY_CDN_TILES_BASE_URL +`/data-versions/2.0/data/score/downloadable/Using-the-CEJST-Spreadsheet-Tutorial.pdf`; export const USE_DATA_TUTORIAL_LINK_ES = process.env.GATSBY_CDN_TILES_BASE_URL +`/data-versions/2.0/data/score/downloadable/Using-the-CEJST-Spreadsheet-Tutorial-es.pdf`; export const PAGE = defineMessages({ TITLE: { id: 'about.page.title.text', defaultMessage: 'About', description: 'Navigate to the About page. This is the about page title text', }, }); export const CONTENT = { PARA1: Executive Order 14008. The order directed the Council on Environmental Quality (CEQ) to develop a new tool. This tool is called the Climate and Economic Justice Screening Tool. The tool has an interactive map and uses datasets that are indicators of burdens in eight categories: climate change, energy, health, housing, legacy pollution, transportation, water and wastewater, and workforce development. The tool uses this information to identify communities that are experiencing these burdens. These are the communities that are disadvantaged because they are overburdened and underserved. `} description={'Navigate to the About page. This is the paragraph 1'} values={{ link1: linkFn(EXEC_ORDER_LINK, false, true), italictag: italicFn, }} />, PARA2: Justice40 Initiative. The Justice40 Initiative seeks to deliver 40% of the overall benefits of investments in climate, clean energy, and related areas to disadvantaged communities. `} description={'Navigate to the About page. This is the paragraph 2'} values={{ link1: linkFn(EXEC_ORDER_LINK, false, true), italictag: italicFn, }} />, PARA3: , LI1: Memorandum on Using the CEJST for the Justice40 Initiative `} description={'Navigate to the About page. This is the list item 1'} values={{ link1: linkFn(CEJST_MEMO, false, true), }} />, LI2: Instructions to Federal agencies on using the CEJST `} description={'Navigate to the About page. This is the list item 2'} values={{ link1: linkFn(CEJST_INSTRUCT, false, true), link1es: linkFn(CEJST_INSTRUCT_ES, false, true), }} />, PARA4: Sign-up for updates from CEQ. `} description={'Navigate to the About page. This is the paragraph 4'} values={{ version: VERSION_NUMBER, link1: linkFn('https://lp.constantcontactpages.com/su/Vm8pCFj/spring', false, true), }} />, PARA5: , USE_DATA_PARA: download. This data can be used to filter by state or county. `} description={'Navigate to the About page. This is the paragraph 4'} values={{ link1: linkFn(PAGES_ENDPOINTS.DOWNLOADS, true, false), }} />, HOW_TO_USE_PARA1: statistical areas are determined by the U.S. Census Bureau once every ten years. The tool utilizes the census tract boundaries from 2010. This was chosen because many of the data sources in the tool currently use the 2010 census boundaries. The tool also shows land within the boundaries of Federally Recognized Tribes and point locations for Alaska Native Villages. `} description={'Navigate to the About page. This is the paragraph 4'} values={{ link1: linkFn('https://www.census.gov/programs-surveys/acs/geography-acs/geography-boundaries-by-year.html', false, true), }} />, HOW_TO_USE_PARA3: methodology or are on land within the boundaries of Federally Recognized Tribes. `} description={'Navigate to the About page. This is the paragraph 4'} values={{ link1: linkFn(PAGES_ENDPOINTS.METHODOLOGY, true, false), }} />, USE_MAP_TUTORIAL: , USE_DATA_TUTORIAL: , }; export const HOW_TO_USE_TOOL = defineMessages({ TITLE: { id: 'about.page.how.to.use.tool.title', defaultMessage: 'How to use the tool', description: 'Navigate to the About page. This is the sub heading of How to use the tool', }, PARA2: { id: 'about.page.how.to.use.tool.para2', defaultMessage: 'The tool ranks most of the burdens using percentiles. Percentiles show how much burden each tract experiences compared to other tracts. Certain burdens use percentages or a simple yes/no.', description: 'Navigate to the About page. This is the sub heading of How to use the tool paragraph1', }, USE_MAP_HEADING: { id: 'about.page.use.map.heading', defaultMessage: 'Using the map', description: 'Navigate to the About page. This is the sub heading of Using the map', }, USE_MAP_PARA: { id: 'about.page.use.map.para', defaultMessage: ` Zoom in and select any census tract to see if it is considered disadvantaged. `, description: 'Navigate to the About page. This is the paragraph of Using the map', }, USE_DATA_HEADING: { id: 'about.page.use.data.heading', defaultMessage: 'Using the data', description: 'Navigate to the About page. This is the sub heading of Using the data', }, }); export const GET_INVOLVED = defineMessages({ TITLE: { id: 'about.page.getInvolved.title', defaultMessage: 'Get involved', description: 'Navigate to the About page. This is the sub heading of page', }, SEND_FEEDBACK_HEADING: { id: 'about.page.send.feedback.heading', defaultMessage: 'Send feedback', description: 'Navigate to the About page. This is the sending feedback heading', }, SEND_FEEDBACK_INFO: { id: 'about.page.send.feedback.info', defaultMessage: ` Have ideas for the tool? Contact the Council on Environmental Quality’s (CEQ). `, description: 'Navigate to the About page. This is the sending feedback information', }, JOIN_OSC_HEADING: { id: 'about.page.join.opensource.heading', defaultMessage: 'Join the open source community', description: 'Navigate to the About page. This is the join the community heading', }, JOIN_OSC_INFO: { id: 'about.page.join.open.source.info', defaultMessage: ` The tool’s code is open source, which means it is available for the public to view and contribute to it. `, description: 'info on Navigate to the About page. This is the joining open source community', }, JOIN_OSC_LINK_TEXT: { id: 'about.page.join.open.source.link', defaultMessage: 'Check it out on GitHub', description: 'Navigate to the About page. This is the link to github repository', }, }); export const GET_INVOLVED_COMMENTS = { EMAIL: , }; export const HOW_YOU_CAN_HELP_LIST_ITEMS = { HEADING: , LIST_ITEM_1: general feedback on the CEJST website`} description={`Navigate to the about page. You will see How you can help list item 1`} values={{ link1: linkFn(SITE_SATISFACTION_SURVEY_LINKS.EN, false, true), link1es: linkFn(SITE_SATISFACTION_SURVEY_LINKS.ES, false, true), }} />, LIST_ITEM_2: data sources.`} description={`Navigate to the about page. You will see How you can help list item 2`} values={{ link1: linkFn(DATA_SURVEY_LINKS.EN, false, true), link1es: linkFn(DATA_SURVEY_LINKS.ES, false, true), }} />, LIST_ITEM_3: , LIST_ITEM_4: Screeningtool-Support@omb.eop.gov.`} 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(CONTACT_SURVEY_LINKS.EN, false, true), link2es: linkFn(CONTACT_SURVEY_LINKS.ES, false, true), }} />, PARA1: , };