diff --git a/docusaurus.config.js b/docusaurus.config.js index 8339bb274db..62d69dcaa9b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -314,14 +314,14 @@ module.exports = { // Useful if you want to support a single color mode disableSwitch: false, }, - // announcementBar: { - // id: 'redisconf20201cfp', // Any value that will identify this message. - // content: - // 'RedisDays Available Now On-Demand.', - // backgroundColor: '#fff', // Defaults to `#fff`. - // textColor: '#000', // Defaults to `#000`. - // isCloseable: true, // Defaults to `true`. - // }, + announcementBar: { + id: 'redis-7-2-release', // Any value that will identify this message. + content: + '
Announcing Redis 7.2 and Enhanced Vector DB Learn more
', + backgroundColor: 'rgb(210, 215, 254)', // Defaults to `#fff`. + textColor: 'rgb(22 31 49)', // Defaults to `#000`. + isCloseable: true, // Defaults to `true`. + }, }), presets: [ [ diff --git a/src/css/custom.scss b/src/css/custom.scss index 2c344e188bc..a823949198b 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -55,3 +55,16 @@ html[data-theme='dark'] { .home-main { overflow: hidden; } + +.announcement-bar { + :hover { + color: rgb(79, 70, 229); + } + + > a { + display: inline-block; + width:100%; + text-decoration: none !important; + font-size: 1rem; + } +}