mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-03 21:44:18 -07:00
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:
parent
b1a4d26be8
commit
53c2d98eaa
41 changed files with 3992 additions and 1050 deletions
117
client/src/data/copy/common.tsx
Normal file
117
client/src/data/copy/common.tsx
Normal file
|
@ -0,0 +1,117 @@
|
|||
import {defineMessages} from 'react-intl';
|
||||
|
||||
// Alerts
|
||||
export const ALERTS = defineMessages({
|
||||
BETA_TITLE: {
|
||||
id: 'alert.alertBetaTitle',
|
||||
defaultMessage:
|
||||
'Public beta',
|
||||
description: 'Title for an alert inform users that datasets may change',
|
||||
},
|
||||
BETA_BODY: {
|
||||
id: 'alert.alertBetaBody',
|
||||
defaultMessage:
|
||||
'This website may be continuously updated',
|
||||
description: 'Body for an alert inform users that datasets may change',
|
||||
},
|
||||
LIMITED_TITLE: {
|
||||
id: 'alert.alertDataLimitedTitle',
|
||||
defaultMessage:
|
||||
'Limited data sources',
|
||||
description: 'Title for an alert inform users that datasets may change',
|
||||
},
|
||||
LIMITED_BODY: {
|
||||
id: 'alert.alertDataLimitedBody',
|
||||
defaultMessage:
|
||||
'Datasets may be added, updated, or removed.',
|
||||
description: 'Body for an alert inform users that datasets may change',
|
||||
},
|
||||
});
|
||||
|
||||
// Header
|
||||
export const HEADER = defineMessages({
|
||||
TITLE_LINE_1: {
|
||||
id: 'header.title.line1',
|
||||
defaultMessage: `Climate and Economic Justice`,
|
||||
description: 'Title in nav header line 1 of 2',
|
||||
},
|
||||
TITLE_LINE_2: {
|
||||
id: 'header.title.line2',
|
||||
defaultMessage: `Screening Tool`,
|
||||
description: 'Title in nav header line 2 of 2',
|
||||
},
|
||||
ABOUT: {
|
||||
id: 'header.about',
|
||||
defaultMessage: 'About',
|
||||
description: 'Header navigate item to the about page',
|
||||
},
|
||||
EXPLORE: {
|
||||
id: 'header.explore',
|
||||
defaultMessage: 'Explore the tool',
|
||||
description: 'Header navigate item to the Explore the tool page',
|
||||
},
|
||||
METHODOLOGY: {
|
||||
id: 'header.methodology',
|
||||
defaultMessage: 'Data & methodology',
|
||||
description: 'Header navigate item to the Methodology page',
|
||||
},
|
||||
CONTACT: {
|
||||
id: 'header.contact',
|
||||
defaultMessage: 'Contact',
|
||||
description: 'Header navigate item to the Contact page',
|
||||
},
|
||||
});
|
||||
|
||||
// Footer
|
||||
export const FOOTER = defineMessages({
|
||||
ARIA_LABEL: {
|
||||
id: 'footer.arialabel',
|
||||
defaultMessage: 'Footer navigation',
|
||||
description: 'aria-label text for whole footer',
|
||||
},
|
||||
TITLE: {
|
||||
id: 'footer.logo.title',
|
||||
defaultMessage: 'Council on Environmental Quality',
|
||||
description: 'Footer under logo',
|
||||
},
|
||||
MORE_INFO: {
|
||||
id: 'footer.moreinfoheader',
|
||||
defaultMessage: 'More information',
|
||||
description: 'Footer column header',
|
||||
},
|
||||
FOIA: {
|
||||
id: 'footer.foialink',
|
||||
defaultMessage: 'Freedom of Information Act (FOIA)',
|
||||
description: 'Footer FOIA link text',
|
||||
},
|
||||
PRIVACY: {
|
||||
id: 'footer.privacylink',
|
||||
defaultMessage: 'Privacy Policy',
|
||||
description: 'Footer privacy policy link text',
|
||||
},
|
||||
LOGO_ALT: {
|
||||
id: 'footer.whitehouselogoalt',
|
||||
defaultMessage: 'Whitehouse logo',
|
||||
description: 'Footer Whitehouse logo alt text',
|
||||
},
|
||||
QUESTIONS: {
|
||||
id: 'footer.questionsheader',
|
||||
defaultMessage: 'Have a question about government services?',
|
||||
description: 'Footer column header',
|
||||
},
|
||||
CONTACT_LINK: {
|
||||
id: 'footer.findcontactlink',
|
||||
defaultMessage: 'Find a contact at USA.gov',
|
||||
description: 'Footer find contact link text',
|
||||
},
|
||||
});
|
||||
|
||||
export const FOOTER_CEQ_ADDRESS = {
|
||||
NAME: 'Council on Environmental Quality',
|
||||
STREET: '730 Jackson Pl NW',
|
||||
CITY_STATE: 'Washington, D.C. 20506',
|
||||
PHONE: '(202) 395-5750',
|
||||
}
|
||||
;
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue