Skip to content

Commit

Permalink
Add roadmap announcement to docs (#1469)
Browse files Browse the repository at this point in the history
* Add roadmap announcement to docs

* Add cspell file with noopener added

* Update the link to roadmap
  • Loading branch information
aniav authored Feb 12, 2025
1 parent 61441a4 commit b75c6a3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"slugifying",
"turborepo",
"undiscounted",
"żółta"
"żółta",
"noopener"
],
"allowCompoundWords": true,
"useGitignore": true,
Expand Down
9 changes: 9 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,15 @@ module.exports = {
],

themeConfig: {
announcementBar: {
id: "announcement-bar",
content:
'👀 <b>Sneak Peek Alert!</b> Get a glimpse of upcoming features on our <a target="_blank" rel="noopener noreferrer" href="https://saleor.notion.site/roadmap">public roadmap</a>.',
backgroundColor: "light-dark(rgb(255, 251, 235), var(--purple5))",
textColor: "light-dark(#000, #fff)",
isCloseable: true,
},

algolia: {
appId: "P1Y4DTZUZN", // cspell: disable-line
apiKey: "021901243603f49a626be6b7435a2a8d",
Expand Down
5 changes: 5 additions & 0 deletions src/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -368,3 +368,8 @@
/* --ifm-color-danger-contrast-background: rgb(75, 17, 19);*/
/* --ifm-color-danger-contrast-foreground: rgb(255, 235, 236);*/
/*}*/

div[class^="announcementBar_"] {
height: auto;
padding: 5px 0 5px 0;
}

0 comments on commit b75c6a3

Please # to comment.