Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Marketing Content → Components → Homepage Components → Homepage Alerts

What are Alerts?

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

...

 

Document Fields

Heading

...

Body

...

Learn More Text

...

Learn More URL

...

Linking Created Issue to display on Website and App

Info

Marketing Content → Features → Feature Home Page

...

Under Web - Unauthenticated, Web - Authenticated, App - Unauthenticated, App - Authenticated select Add Item + and then Referenced Alert and select the alert created in the first step. Move the referenced alert to the first position of the list.

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

...

  • Burger King

  • Popeyes

  • Tim Hortons

...

Body

...

This is the text content for the alert

...

  • Burger King

  • Popeyes

  • Tim Hortons

...

Learn More Text

...

Text for the learn more link

...

  • Burger King

  • Popeyes

  • Tim Hortons

...

Learn More URL

...

This is the url for the “Learn More Text” link above

...

. Color is defaulted by brand:

  • Burger King #323231, same as rgb(50,50,49).

  • Popeyes

  • Tim Hortons