mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-28 12:43:12 +08:00
misc: add announcement bar
This commit is contained in:
@ -8,6 +8,10 @@ module.exports = {
|
|||||||
organizationName: 'yangshun',
|
organizationName: 'yangshun',
|
||||||
projectName: 'tech-interview-handbook',
|
projectName: 'tech-interview-handbook',
|
||||||
themeConfig: {
|
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: {
|
prism: {
|
||||||
theme: require('prism-react-renderer/themes/github'),
|
theme: require('prism-react-renderer/themes/github'),
|
||||||
darkTheme: require('prism-react-renderer/themes/dracula'),
|
darkTheme: require('prism-react-renderer/themes/dracula'),
|
||||||
|
@ -37,3 +37,9 @@ html[data-theme='dark'] {
|
|||||||
--ifm-h3-font-size: 1.25rem;
|
--ifm-h3-font-size: 1.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div[class^='announcementBar_'] {
|
||||||
|
background-color: var(--ifm-color-primary);
|
||||||
|
color: #fff;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user