-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Step Counter to new workflow (#20)
Co-authored-by: Bob Zhao <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: m-goggins <[email protected]>
- Loading branch information
1 parent
126765d
commit 9d7d10a
Showing
15 changed files
with
184 additions
and
55 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 |
---|---|---|
|
@@ -40,7 +40,6 @@ | |
"publicOnly": true | ||
} | ||
] | ||
// "@typescript-eslint/no-explicit-any": "error" | ||
}, | ||
"overrides": [ | ||
{ | ||
|
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
31 changes: 31 additions & 0 deletions
31
query-connector/src/app/query/components/DisclaimerAlerts.tsx
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,31 @@ | ||
import { Alert } from "@trussworks/react-uswds"; | ||
import { ReactNode } from "react"; | ||
|
||
const PII_DISCLAIMER_BANNER = ( | ||
<Alert type="info" headingLevel="h4" slim className="custom-alert"> | ||
This site is for demo purposes only. Please do not enter PII on this | ||
website. | ||
</Alert> | ||
); | ||
const CONTACT_US_BANNER = ( | ||
<Alert type="info" headingLevel="h4" slim className="custom-alert"> | ||
Interested in learning more about using the TEFCA Query Connector for your | ||
jurisdiction? Send us an email at{" "} | ||
<a | ||
href="mailto:[email protected]" | ||
style={{ | ||
color: "inherit", | ||
fontWeight: "bold", | ||
textDecoration: "underline", | ||
}} | ||
> | ||
[email protected] | ||
</a> | ||
</Alert> | ||
); | ||
|
||
export const alertBannerMap: { [mode: string]: ReactNode } = { | ||
search: PII_DISCLAIMER_BANNER, | ||
customize_query: PII_DISCLAIMER_BANNER, | ||
results: CONTACT_US_BANNER, | ||
}; |
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
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
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
Oops, something went wrong.