Alerts are for adding ONE block of text to the brands homepage for important announcements, such as COVID response.
Set-up Process
Go to Sanity
Go to Alerts Tab
Create a document
Add a header, body and URL to static page if necessary
Go to App Data and link the document to the Site Alert field
Other Notes
Color of the component is handled in code
Can also add this alert to the Feature Homepage in Sanity
Document Fields
Title | Description | Example Image | Example URL | Used By |
---|---|---|---|---|
Heading | This is the main title of the alert |
| ||
Body | This is the text content for the alert |
| ||
Learn More Text | Text for the learn more link |
| ||
Learn More URL | This is the url for the “Learn More Text” link above |
|