add instructions to download page (#2165)

- closes #2163
This commit is contained in:
Vim 2023-02-14 11:06:24 -08:00 committed by GitHub
commit bc511756a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 36 additions and 3 deletions

View file

@ -70,7 +70,7 @@ export const DOWNLOAD_FILES = {
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
INSTRUCTIONS: {
SIZE: .8, // KB // Todo: Update when actual file is uploaded
SIZE: 228.4, // KB // Todo: Update when actual file is uploaded
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_INSTRUCT_PDF, false),
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
@ -598,5 +598,19 @@ export const DOWNLOAD_LINKS = {
/>,
}}
/>,
LINK6: <FormattedMessage
id={'download.page.download.file.6'}
defaultMessage={`<link6>Instructions to Federal agencies on using the CEJST</link6> (.pdf {instructions})`}
description={'Navigate to the download page. This is sixth download file link'}
values={{
link6: COMMON_COPY.linkFn(DOWNLOAD_FILES.NARWAL.INSTRUCTIONS.URL, false, true),
instructions: <FormattedNumber
value={DOWNLOAD_FILES.NARWAL.INSTRUCTIONS.SIZE}
style="unit"
unit="kilobyte"
unitDisplay="narrow"
/>,
}}
/>,
// };
};