|
1 | 1 | import { Box, Button, Divider, Paper, Stack, Typography } from '@linode/ui'; |
2 | 2 | import { capitalize } from '@linode/utilities'; |
| 3 | +import { Link } from '@mui/material'; |
3 | 4 | import * as React from 'react'; |
4 | 5 | import { useMemo } from 'react'; |
5 | 6 |
|
@@ -64,9 +65,11 @@ export const FormSubmitBar = (props: StreamFormSubmitBarProps) => { |
64 | 65 | </> |
65 | 66 | )} |
66 | 67 | <Divider dark spacingBottom={0} spacingTop={16} /> |
67 | | - <Typography mb={1}> |
68 | | - Stream provisioning may take up to 45 minutes. |
69 | | - </Typography> |
| 68 | + {formType === 'stream' && ( |
| 69 | + <Typography mb={1}> |
| 70 | + Stream provisioning may take up to 45 minutes. |
| 71 | + </Typography> |
| 72 | + )} |
70 | 73 | <Button |
71 | 74 | buttonType="outlined" |
72 | 75 | data-pendo-id={`${pagePendoId}-Test Connection`} |
@@ -96,6 +99,22 @@ export const FormSubmitBar = (props: StreamFormSubmitBarProps) => { |
96 | 99 | > |
97 | 100 | {buttonLabel} |
98 | 101 | </Button> |
| 102 | + {formType === 'stream' && ( |
| 103 | + <Typography mb={1}> |
| 104 | + By using this service, you acknowledge your obligations under the |
| 105 | + United States Department of Justice Bulk Sensitive Data Transaction |
| 106 | + Rule ("BSD Rule"). You also agree that you will not use the |
| 107 | + service to transfer, onward transfer, or otherwise make accessible |
| 108 | + any United States government-related data or bulk United States |
| 109 | + sensitive personal data to countries of concern or a covered person, |
| 110 | + as each of those terms and concepts are defined in the{' '} |
| 111 | + <Link href="https://www.federalregister.gov/documents/2024/03/01/2024-04573/preventing-access-to-americans-bulk-sensitive-personal-data-and-united-states-government-related"> |
| 112 | + BSD Rule |
| 113 | + </Link> |
| 114 | + . Anyone using the service is solely responsible for compliance with |
| 115 | + the BSD Rule. |
| 116 | + </Typography> |
| 117 | + )} |
99 | 118 | </Stack> |
100 | 119 | </Paper> |
101 | 120 | ); |
|
0 commit comments