Skip to content

Commit

Permalink
feat: Cookbook Onboard integration (#1387)
Browse files Browse the repository at this point in the history
fix

fix
  • Loading branch information
ClockRide authored Aug 14, 2024
1 parent b30d7db commit 2f31f31
Show file tree
Hide file tree
Showing 3 changed files with 1,602 additions and 42 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
},
"dependencies": {
"@algolia/client-search": "^4.22.0",
"@cookbookdev/docsbot": "^4.21.5",
"@crowdin/cli": "^4.0.0",
"@docusaurus/core": "^3.0.0",
"@docusaurus/plugin-client-redirects": "^3.0.0",
Expand Down
15 changes: 15 additions & 0 deletions src/theme/Navbar/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import React from "react";
import Navbar from "@theme-original/Navbar";
import AskCookbook from "@cookbookdev/docsbot/react";


const COOKBOOK_PUBLIC_API_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NWRkMGIyNGRkNGUyMjU1NmM4NGM3MzMiLCJpYXQiOjE3MDg5ODUxMjQsImV4cCI6MjAyNDU2MTEyNH0.8mR88RgXUgi8hKxiswE9kg7VnheRpGpbmlz3KW_Wln4"

export default function NavbarWrapper(props) {
return (
<>
<Navbar {...props} />
<AskCookbook apiKey={COOKBOOK_PUBLIC_API_KEY} />
</>
);
}
Loading

0 comments on commit 2f31f31

Please sign in to comment.