-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into MCR-3777-single-rate
- Loading branch information
Showing
4 changed files
with
77 additions
and
3 deletions.
There are no files selected for viewing
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,28 @@ | ||
import React from 'react' | ||
import styles from './Errors.module.scss' | ||
import { GridContainer } from '@trussworks/react-uswds' | ||
import { PageHeading } from '../../components' | ||
|
||
interface ForbiddenErrorPageProps { | ||
errorMsg?: string | ||
} | ||
|
||
export const ErrorForbiddenPage = ({ | ||
errorMsg, | ||
}: ForbiddenErrorPageProps): React.ReactElement => { | ||
return ( | ||
<section className={styles.errorsContainer}> | ||
<GridContainer> | ||
<PageHeading>Forbidden</PageHeading> | ||
{errorMsg ? ( | ||
<p>{errorMsg}</p> | ||
) : ( | ||
<p> | ||
You do not have permission to view the requested file or | ||
resource. | ||
</p> | ||
)} | ||
</GridContainer> | ||
</section> | ||
) | ||
} |
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