Update version number on frontend (#730)

* Update version number on frontend

- add verion to download packet
- add verison to side panel
- update snaphots
- add version to constant file

* Add minor UI changes from QA

- adjust copy in download package
- update tests

* Refactor all intl code and will add page tests

- remove all copy app wide and place into respective data/copy folder
- adds tests for each page
- allow product to make copy changes in one place
- prepare for spanish language effort
This commit is contained in:
Vim 2021-09-22 23:56:23 -07:00 committed by GitHub
commit 53c2d98eaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 3992 additions and 1050 deletions

View file

@ -0,0 +1,144 @@
import {defineMessages} from 'react-intl';
export const PAGE = defineMessages({
TILE: {
id: 'about.page.title.text',
defaultMessage: 'About',
description: 'about page title text',
},
HEADING_1: {
id: 'index.heading.screentool',
defaultMessage: 'The screening tool',
description: 'heading for about screening tool',
},
HEADING1_DESCRIPTION1: {
id: 'about.page.sub.header.1.text.1',
defaultMessage: 'On January 27, 2021, President Biden directed the Council on'+
' Environmental Quality (CEQ) to create a climate and economic'+
' justice screening tool. The purpose of the tool is to help'+
' Federal agencies identify disadvantaged communities and provide'+
' socioeconomic, environmental, and climate information and data'+
' to inform decisions that may affect these communities. The tool'+
' identifies disadvantaged communities as communities of focus'+
' through publicly available, nationally consistent, high-quality'+
' data.',
description: 'about page sub header text',
},
HEADING1_DESCRIPTION2: {
id: 'about.page.sub.header.1.text.2',
defaultMessage: 'The current version of the tool is in a public beta form and'+
' will be updated based on feedback from the public.',
description: 'about page sub header text',
},
HEADING_2: {
id: 'index.heading.justice40',
defaultMessage: 'The Justice40 Initiative',
description: 'heading for about justice 40',
},
HEADING2_DESCRIPTION1: {
id: 'about.page.sub.header.2.text.1',
defaultMessage: 'The tool will provide important information for the Justice40'+
' Initiative. The goal of the Justice40 Initiative is to provide'+
' 40-percent of the overall benefits of certain federal'+
' programs in seven key areas to disadvantaged communities.'+
' These seven key areas are: climate change, clean energy and'+
' energy efficiency, clean transit, affordable and sustainable'+
' housing, training and workforce development, the remediation'+
' and reduction of legacy pollution, and the development of'+
' critical clean water infrastructure.',
description: 'about page sub header text',
},
HEADING2_DESCRIPTION2: {
id: 'about.page.sub.header.2.text.2',
defaultMessage: 'Read more about the Justice40 Initiative in President Bidens',
description: 'about page sub header text',
},
PRESIDENT_LINK_LABEL: {
id: 'index.presidentalLinkLabel',
defaultMessage: 'Executive Order 14008 on Tackling the Climate Crisis at Home and Abroad',
description: 'Link url to presidential actions executive order. Part of paragraph 2',
},
});
export const EXEC_ORDER_LINK = 'https://www.whitehouse.gov/briefing-room/presidential-actions/2021/01/27/' +
'executive-order-on-tackling-the-climate-crisis-at-home-and-abroad/';
export const GITHUB_LINK = 'https://github.com/usds/justice40-tool';
export const HOW_TO_GET_STARTED = defineMessages({
TITLE: {
id: 'howToGetStarted.title',
defaultMessage: 'How to get started',
description: 'sub heading of page',
},
FEDERAL_PM_HEADING: {
id: 'federal.pm.info',
defaultMessage: 'Federal program managers',
description: 'sub heading of page',
},
FEDERAL_PM_INFO: {
id: 'federal.pm.info',
defaultMessage: 'Download the screening tools draft list of communities of focus.'+
' Explore data that may be useful to your program, and provide'+
' feedback on the tool.',
description: 'sub heading of page',
},
FEDERAL_PM_LINK_TEXT: {
id: 'federal.pm.link',
defaultMessage: 'Go to data & methodology',
description: 'link text to go to methodology page',
},
COMMUNITY_MEMBERS_HEADING: {
id: 'community.members.heading',
defaultMessage: 'Community members',
description: 'sub heading of page',
},
COMMUNITY_MEMBERS_INFO: {
id: 'community.members.info',
defaultMessage: 'Explore data about communities of focus in your area, and help '+
' provide feedback on the tool.',
description: 'sub heading of page',
},
COMMUNITY_MEMBERS_LINK_TEXT: {
id: 'community.members.link',
defaultMessage: 'Explore the tool',
description: 'link to explore the tool page',
},
});
export const GET_INVOLVED = defineMessages({
TITLE: {
id: 'getInvolved.title',
defaultMessage: 'How to get started',
description: 'sub heading of page',
},
SEND_FEEDBACK_HEADING: {
id: 'send.feedback.heading',
defaultMessage: 'Send feedback',
description: 'sending feedback heading',
},
SEND_FEEDBACK_INFO: {
id: 'send.feedback.info',
defaultMessage: 'Have ideas about how this tool can be improved to better reflect'+
' the on-the-ground experiences of your community?',
description: 'sending feedback information',
},
JOIN_OSC_HEADING: {
id: 'join.opensource.heading',
defaultMessage: 'Join the open source community',
description: 'join the community heading',
},
JOIN_OSC_INFO: {
id: 'join.open.source.info',
defaultMessage: 'The screening tools code is open source, which means it is '+
' available for the public to view and contribute to. Anyone can view and contribute on GitHub.',
description: 'info on joining open source community',
},
JOIN_OSC_LINK_TEXT: {
id: 'join.open.source.link',
defaultMessage: 'Check it out on GitHub',
description: 'link to github repository',
},
});