docs: redesigned announcement bar (#2559)

This commit is contained in:
Shahed Nasser
2022-11-07 14:13:54 +02:00
committed by GitHub
parent f7126fc9e1
commit bbf4039147
13 changed files with 257 additions and 21 deletions

View File

@@ -40,11 +40,9 @@ async function main () {
//add new announcement
announcement = {
id: `release-${version.replace(/\./g, '-')}`,
content: `New Release! Version ${version} of Medusa is out now! Read all about it <a href='${response.data.html_url}'>here</a>.`,
backgroundColor: '#7C53FF',
textColor: '#fff',
isCloseable: false,
id: response.data.html_url,
content: `${version} is out`,
isCloseable: true,
}
}