C12. Alert Banner
Release notes
Date | Update | Updated by |
---|---|---|
13 Jan 2022 | Component finalised | @Japneet Kaur (Deactivated) @Steven Mao (Unlicensed) |
Overview
Objective
The alerts banner is used to display important site wide messages. This should be triggered in the CMS.
Use case
The alerts banner can be used to efficiently deliver important messages to all users e.g. COVID-19 notifications about legal aid services.
As a content author, I want to use an alerts banner so that I can show a message to all website visitors
Business rules
BR-# | Business rules |
---|---|
BR-1 | By default, the alerts banner is placed at the top of the website header |
BR-2 | Dismiss alert banner The alerts bar will not be displayed if it has been ‘closed’ (user selects the 'x') |
BR-3 | The member will only ever view one alert at a time until a new alert is triggered in the CMS. |
BR-4 | Alert expiry Alerts will have a start and end date in the CMS and will be visible to the portal user during this period of time. The triggered alert will no longer be displayed once :
|
Design
Desktop | Mobile |
---|---|
Example | Example
|
CMS Elements
# | Title | Type | Mandatory | Action | Additional Notes & Rules |
---|---|---|---|---|---|
1 | Banner bar | Bar | Y | None |
|
2 | Banner text | Text | Y | None |
|
3 | Alerts CTA button | Button / Link | N | On load:
On hover:
On click:
|
|
4 | Close button | Button / Link | N | On hover:
On click:
|
|