misc: add announcement bar

This commit is contained in:
Yangshun
2021-11-05 10:41:40 +08:00
parent a1cb7ce4e6
commit 0901ab14b2
2 changed files with 10 additions and 0 deletions

View File

@@ -8,6 +8,10 @@ module.exports = {
organizationName: 'yangshun',
projectName: 'tech-interview-handbook',
themeConfig: {
announcementBar: {
id: 'announcement-1', // Increment on change
content: `⭐️ Bring your interview skills to the next level with Educative. <a href="https://www.educative.io/explore?search_string=interview&aff=x23W">Join today for a discount!</a> ⭐️`,
},
prism: {
theme: require('prism-react-renderer/themes/github'),
darkTheme: require('prism-react-renderer/themes/dracula'),