Update Download sidebar, add new alert (#1587)

* Update Download sidebar, add new alert

- Fixes #1567
- Cleaned up styles related to buttons.
- Refactored buttons a little to make easier to maintain.
- Updated test snapshots/translation files

* Fixes

* More text fixes
This commit is contained in:
TomNUSDS 2022-04-27 07:43:34 -07:00 committed by GitHub
commit 6ab7d76fdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 525 additions and 124 deletions

View file

@ -61,6 +61,22 @@ export const ALERTS = {
/>,
}}
/>,
ALERT_2_TITLE: defineMessages({
TITLE: {
id: 'common.pages.alerts.additional_docs_available.title',
defaultMessage: 'Additional documentation now available',
description: 'Alert title that appears at the top of pages.',
},
}),
ALERT_2_DESCRIPTION: <FormattedMessage
id={'common.pages.alerts.additional_docs_available.description'}
defaultMessage={`Download new technical support and other documentation and <link2>send feedback</link2>.`}
description={`Alert title that appears at the top of pages.`}
values={{
link2: linkFn(`mailto:${FEEDBACK_EMAIL}`, false, true),
}}
/>,
};
// Header