-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2364 from cisagov/2323-update-notification-with-n…
…ew-messaging Re-design of AuthLogin Page
- Loading branch information
Showing
11 changed files
with
544 additions
and
293 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import React from 'react'; | ||
import { Box, Grid, Paper, Typography } from '@mui/material'; | ||
import { styled } from '@mui/material/styles'; | ||
import cisa_logo from '../../pages/AuthLogin/img/CISA_LOGO.png'; | ||
|
||
export const CrossfeedWarning: React.FC = (props) => { | ||
const BackgroundPaper = styled(Paper)(({ theme }) => ({ | ||
width: 900, | ||
borderColor: '#047d95', | ||
borderWidth: 2, | ||
padding: theme.spacing(1), | ||
backgroundColor: 'inherit' | ||
})); | ||
return ( | ||
<Box sx={{ display: 'flex', justifyContent: 'center', py: 5, px: 1 }}> | ||
<BackgroundPaper variant="outlined"> | ||
<Grid container spacing={1}> | ||
<Grid item xs={12} sm={3} display="flex" justifyContent="end"> | ||
<Box m="auto"> | ||
<img alt="CISA LOGO" src={cisa_logo} width="140px" /> | ||
</Box> | ||
</Grid> | ||
<Grid item xs={12} sm={9}> | ||
<Typography variant="h6" textAlign="center"> | ||
WARNING | ||
</Typography> | ||
<Typography | ||
variant="caption" | ||
component="div" | ||
fontSize={11} | ||
lineHeight={1} | ||
> | ||
Crossfeed is hosted by Department of Homeland Security (DHS) | ||
Cybersecurity and Infrastructure Security Agency (CISA) | ||
Cybersecurity Division (CSD) Vulnerability Management (VM) Attack | ||
Attack Attack Surface Management (ASM) Automation is computer | ||
systems systems may systems may be monitored for all unlawful | ||
unlawful purposes, including to ensure their use is authorized, | ||
for management of the system, to protection against security | ||
procedures, survivability, and operational operational operational | ||
operational security. All information, information, including | ||
information, placed or sent this system may be monitored. | ||
Monitoring includes actives attacks by authorized US Government | ||
entities to test or verify the security of this system. | ||
<br /> | ||
<br /> | ||
Use of the computer system, authorized or unauthorized, | ||
constitutes consent to monitoring of this system. Unauthorized | ||
subject you to criminal prosecution. Evidence of unauthorized | ||
collected during monitoring may be used for administrivia, | ||
criminal, or other adverse action. Use of this system constitutes | ||
to monitoring for these purposes. Use of this system implies | ||
understanding of these items and conditions. | ||
</Typography> | ||
</Grid> | ||
</Grid> | ||
</BackgroundPaper> | ||
</Box> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './Warning'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { styled } from '@mui/material/styles'; | ||
|
||
const PREFIX = 'Warning'; | ||
|
||
export const warningClasses = { | ||
warningBox: `${PREFIX}-warningBox`, | ||
warningContainer: `${PREFIX}-footerContainer`, | ||
warning_logo: `${PREFIX}-warning_logo` | ||
}; | ||
export const WarningRoot = styled('div')(({ theme }) => ({ | ||
[`& .${warningClasses.warningBox}`]: { | ||
position: 'relative', | ||
top: '20px', | ||
bottom: 0, | ||
width: '100%' | ||
}, | ||
[`& .${warningClasses.warningContainer}`]: { | ||
display: 'flex', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
margin: '0 auto', | ||
maxWidth: '1444px' | ||
}, | ||
[`& .${warningClasses.warning_logo}`]: { | ||
display: 'flex', | ||
justifyContent: 'center', | ||
height: '100%' | ||
} | ||
})); |
Oops, something went wrong.