Skip to content

Commit

Permalink
feat: Add new help center announcement bar
Browse files Browse the repository at this point in the history
  • Loading branch information
mErrenst committed Oct 15, 2024
1 parent 7da3c9a commit 860d94f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,6 @@ const config = {
position: 'left',
label: 'Help Center',
},
{
type: 'doc',
docId: 'api/index',
position: 'left',
label: 'API',
},
{
to: 'https://famedly.com/',
label: 'Website',
Expand All @@ -96,6 +90,10 @@ const config = {
},
],
},
announcementBar: {
id: 'announcementBar',
content: 'Das Famedly Help Cencer ist umgezogen / The Famedly Help Center has moved: <a href="https://docs.famedly.com">https://docs.famedly.com</a>.',
},
footer: {
copyright: `Copyright © ${new Date().getFullYear()} Famedly GmbH`,
},
Expand Down
9 changes: 9 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -409,3 +409,12 @@
ol ol, ul ol, ol {
list-style-type: decimal;
}

div[role='banner'] {
background-color: #FFC700;
height: 32px;
}
div[role='banner'] > div {
font-size: 16px;
line-height: 24px;
}

0 comments on commit 860d94f

Please sign in to comment.