Closed tlageman-epa closed 8 months ago
@ergjustin will research on this today and ask questions if have any.
@tlageman-epa May I know the position of the banner is okay or need to replace somewhere else? At this position it will visible for all CAMPD pages.
yes, that looks good. Will we be able to configure the style (color) of the banner? @ergjustin
@tlageman-epa Yes, we can able to change the color, content, icon, heading from easey-content |
Variable | type | |
---|---|---|---|
enable | Boolean | ||
type | String | info, warning, error, success | |
icon | Boolean | ||
content | String | ||
slim | Boolean | ||
heading | String, Boolean | ||
headingLevel | String | h4, h3 |
great!
@shahbazkhan1999 I am just informing that easy-content PR was merged
Changed the alert-banner path, now in dev/camps/alert-banner.json.
PR: https://github.com/US-EPA-CAMD/easey-content/pull/175 & https://github.com/US-EPA-CAMD/easey-campd-ui/pull/610
@bchofor test this on dev
Developer test in dev env I enabled the alert banner in dev env by using easey-content Alert-Banner-dev-env
looks good in staging
production screenshot
EPA or designated contractor should be able to manually enable or disable a USWDS style alert banner that would appear on all pages of CAMPD. If possible, the color of banner (https://designsystem.digital.gov/components/alert/) should be configurable by EPA staff. If not possible, the color should be blue. Also, the content of the alert banner should be customizable/editable by EPA staff using the content repo (https://github.com/US-EPA-CAMD/easey-content) similar to other content in CAMPD.