Add video to PEC (#1524)

* Add video to PEC

- new component
- update snapshot

* Fix a11y issue

- move SummaryBox below H2
- create PublicEvents component to place a margin-bottom

* Remove PublicEvents component
This commit is contained in:
Vim 2022-04-01 11:13:40 -04:00 committed by GitHub
commit 952f97a20d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 243 additions and 23 deletions

View file

@ -64,6 +64,29 @@ export const PAGE_INTRO = defineMessages({
},
});
export const PUBLIC_ENG_VIDEO = defineMessages({
TITLE: {
id: 'public.eng.page.video.box.title.text',
defaultMessage: `Can't make an upcoming session?`,
description: 'Navigate to the the public engagement page, there will be box that allows users to watch previously recorded videos. This is that box title text.',
},
BODY: {
id: 'public.eng.page.video.box.body.text',
defaultMessage: `Watch a recorded version of the CEJST training on YouTube.`,
description: 'Navigate to the the public engagement page, there will be box that allows users to watch previously recorded videos. This is that box body text.',
},
BUTTON_TEXT: {
id: 'public.eng.page.video.box.button.text',
defaultMessage: `Watch on YouTube`,
description: 'Navigate to the the public engagement page, there will be box that allows users to watch previously recorded videos. This is that box button text.',
},
IMG_ALT_TEXT: {
id: 'public.eng.page.video.box.button.img.alt.text',
defaultMessage: `the icon to show that this button will open in a new tab`,
description: 'Navigate to the the public engagement page, there will be box that allows users to watch previously recorded videos. This is alt tag of the image in the button.',
},
});
export const PUBLIC_ENG_BUTTON = defineMessages({
LABEL: {
id: 'public.eng.page.button.label',