-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add auth error page * Fix page * update tests * remove async
- Loading branch information
Showing
3 changed files
with
51 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
"use client"; | ||
import React from "react"; | ||
import { Icon } from "@trussworks/react-uswds"; | ||
import Header from "../../Header"; | ||
|
||
/** | ||
* @returns The error auth page JSX component. | ||
*/ | ||
const ErrorAuthPage = () => ( | ||
<div className="height-viewport width-viewport display-flex flex-column"> | ||
<Header /> | ||
<main className="display-flex flex-justify-center height-full"> | ||
<div className="display-inline-block margin-y-auto"> | ||
<h2 className="font-family-serif font-serif-xl margin-bottom-0"> | ||
<Icon.Error | ||
size={5} | ||
className="margin-right-105 text-middle" | ||
aria-hidden | ||
/> | ||
Authentication Failed | ||
</h2> | ||
<div className="text-semibold font-sans-md margin-top-1"> | ||
Check your credentials and try again. | ||
</div> | ||
<div className="bg-info-lighter border border-info-light radius-md font-sans-md line-height-sans-4 padding-3 margin-top-2"> | ||
Please try the following: | ||
<ul className="margin-0 padding-left-3"> | ||
<li> | ||
<b>Return to NBS:</b> Return to NBS and try to reopen the eCR. | ||
</li> | ||
<li> | ||
<b>Contact support:</b> If the problem persists, please reach out | ||
to your eCR coordinator. | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</main> | ||
</div> | ||
); | ||
|
||
export default ErrorAuthPage; |
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