Skip to content

Commit

Permalink
Merge pull request #7 from FriendlyCaptcha/v2-docs-warning
Browse files Browse the repository at this point in the history
Add warning banner to state v2 docs
  • Loading branch information
rokostik authored Mar 14, 2024
2 parents 7d82a34 + d04bbc3 commit 0fc2904
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ const config = {
defaultMode: "light",
respectPrefersColorScheme: true,
},
announcementBar: {
id: "v2-docs-warning",
content:
"You're looking at the Friendly Captcha V2 Docs which is in <strong>early preview</strong>. The V1 Docs are found <a href='https://docs.friendlycaptcha.com'>here</a>.",
backgroundColor: "#ffb731",
textColor: "#333",
},
// Replace with your project's social card
image: "img/friendlycaptcha-social-card.png",
navbar: {
Expand Down

0 comments on commit 0fc2904

Please sign in to comment.