Skip to content

Commit

Permalink
added space to platform notification
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyc1 committed Nov 3, 2023
1 parent 0224d98 commit 5f986eb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 32 deletions.
47 changes: 15 additions & 32 deletions frontend/src/pages/AuthLogin/AuthLogin.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
import {
Paper,

Check warning on line 2 in frontend/src/pages/AuthLogin/AuthLogin.tsx

View workflow job for this annotation

GitHub Actions / lint

'Paper' is defined but never used
TableContainer,

Check warning on line 3 in frontend/src/pages/AuthLogin/AuthLogin.tsx

View workflow job for this annotation

GitHub Actions / lint

'TableContainer' is defined but never used
TextareaAutosize,

Check warning on line 4 in frontend/src/pages/AuthLogin/AuthLogin.tsx

View workflow job for this annotation

GitHub Actions / lint

'TextareaAutosize' is defined but never used
Chip,

Check warning on line 5 in frontend/src/pages/AuthLogin/AuthLogin.tsx

View workflow job for this annotation

GitHub Actions / lint

'Chip' is defined but never used
MenuItem,

Check warning on line 6 in frontend/src/pages/AuthLogin/AuthLogin.tsx

View workflow job for this annotation

GitHub Actions / lint

'MenuItem' is defined but never used
Menu

Check warning on line 7 in frontend/src/pages/AuthLogin/AuthLogin.tsx

View workflow job for this annotation

GitHub Actions / lint

'Menu' is defined but never used
} from '@mui/material';
import {
Table,

Check warning on line 10 in frontend/src/pages/AuthLogin/AuthLogin.tsx

View workflow job for this annotation

GitHub Actions / lint

'Table' is defined but never used
TableBody,

Check warning on line 11 in frontend/src/pages/AuthLogin/AuthLogin.tsx

View workflow job for this annotation

GitHub Actions / lint

'TableBody' is defined but never used
TableCell,

Check warning on line 12 in frontend/src/pages/AuthLogin/AuthLogin.tsx

View workflow job for this annotation

GitHub Actions / lint

'TableCell' is defined but never used
TableHead,

Check warning on line 13 in frontend/src/pages/AuthLogin/AuthLogin.tsx

View workflow job for this annotation

GitHub Actions / lint

'TableHead' is defined but never used
TableRow
} from '@mui/material';
import React, { useEffect, useState } from 'react';
import { Link } from 'react-router-dom';
import { AuthForm } from 'components';
Expand Down Expand Up @@ -115,38 +130,6 @@ export const AuthLogin: React.FC<{ showSignUp?: boolean }> = ({
</a>
</div>
</div>
<div className="banner_box">
<div className="banner_header">**Warning**</div>
<div className="banner_login">
{' '}
This system contains U.S. Government Data. Unauthorized use of
this system is prohibited. Use of this computer system, authorized
or unauthorized, constitutes consent to monitoring of this system.
</div>
<div className="banner_login">
{' '}
This computer system, including all related equipment, networks,
and network devices (specifically including internet access) are
provided only for authorized U.S. Government use. U.S. Government
computer systems may be monitored for all lawful purposes,
including to ensure that their use is authorized, for management
of the system, to facilitate protection against unauthorized
access, and to verify security procedures, survivability, and
operational security. Monitoring includes active attacks by
authorized U.S. Government entities to test or verify the security
of this system. During monitoring, information may be examined,
recorded, copied and used for authorized purposes. All
information, including personal information, placed or sent over
this system may be monitored.
</div>
<div className="banner_login">
{' '}
Unauthorized use may subject you to criminal prosecution. Evidence
of unauthorized use collected during monitoring may be used for
administrative, criminal, or other adverse action. Use of this
system constitutes consent to monitoring for these purposes.
</div>
</div>
</ThemeProvider>
</AuthForm>
);
Expand Down
1 change: 1 addition & 0 deletions frontend/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ form[data-amplify-authenticator-setup-totp] {
border-width: 3px;
border-style: solid;
border-color: hsl(190, 95%, 30%);
margin-top: 25px;
}
.platform_header {
padding-left: 105px;
Expand Down

0 comments on commit 5f986eb

Please sign in to comment.