Browse Source

feat(docs): Add announcement bar for new docs experience

Add a prominent announcement bar linking to the new documentation at
staging.docs.vendure.io to help users discover the improved experience.
David Höck 1 day ago
parent
commit
371360db8e
1 changed files with 7 additions and 0 deletions
  1. 7 0
      docs/docusaurus.config.js

+ 7 - 0
docs/docusaurus.config.js

@@ -66,6 +66,13 @@ const config = {
     themeConfig:
     themeConfig:
         /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
         /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
         ({
         ({
+            announcementBar: {
+                id: 'new_docs_experience',
+                content: '✨ Try the <a href="https://staging.docs.vendure.io">new docs experience</a>!',
+                backgroundColor: '#17c1ff',
+                textColor: '#000212',
+                isCloseable: true,
+            },
             colorMode: {
             colorMode: {
                 defaultMode: 'dark',
                 defaultMode: 'dark',
                 disableSwitch: false,
                 disableSwitch: false,