-
Notifications
You must be signed in to change notification settings - Fork 0
Announcements
bartekl1 edited this page Jan 20, 2024
·
1 revision
The announcements should be save in announcements.json
file.
Key | Type | Description |
---|---|---|
id |
string |
Announcement ID, a unique string to identify the announcement |
message |
string |
The content of the announcement, you can use Markdown and HTML |
icon |
string |
Bootstrap Icons icon name |
style |
string |
Announcement style, Bootstrap Alerts styles are available |
Example announcements file:
[
{
"id": "test2",
"message": "This is another example announcement. **Example Markdown** <i>Example HTML</i>",
"icon": "megaphone-fill",
"style": "danger"
},
{
"id": "test",
"message": "This is example announcement.",
"icon": "megaphone",
"style": "info"
}
]