-
Notifications
You must be signed in to change notification settings - Fork 0
(PL) Ogłoszenia
bartekl1 edited this page Jan 20, 2024
·
1 revision
Ogłoszenia należy zapisać w pliku announcements.json
.
Klucz | Typ | Opis |
---|---|---|
id |
string |
ID ogłoszenia, unikatowy ciąg pozwalający na identyfikację ogłoszenia |
message |
string |
Treść ogłoszenia, możesz użyć Markdown i HTML |
icon |
string |
Nazwa ikony Bootstrap Icons |
style |
string |
Styl ogłoszenia, dostępne są style Bootstrap Alerts |
Przykładowy plik ogłoszeń:
[
{
"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"
}
]