website: add announcement banner
This commit is contained in:
parent
4da53aac23
commit
d0f47427ac
|
|
@ -10,6 +10,10 @@ module.exports = {
|
|||
projectName: 'front-end-interview-handbook',
|
||||
onBrokenLinks: 'ignore',
|
||||
themeConfig: {
|
||||
announcementBar: {
|
||||
id: 'announcement-1', // Increment on change
|
||||
content: `⭐️ Front End Interview Handbook now includes content on coding questions and system design questions!⭐️`,
|
||||
},
|
||||
prism: {
|
||||
theme: require('prism-react-renderer/themes/github'),
|
||||
darkTheme: require('prism-react-renderer/themes/dracula'),
|
||||
|
|
|
|||
|
|
@ -37,3 +37,8 @@ html[data-theme='dark'] {
|
|||
--ifm-h3-font-size: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
div[class^='announcementBar_'] {
|
||||
background-color: var(--ifm-color-primary);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue