-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Cookbook Onboard integration (#1387)
fix fix
- Loading branch information
Showing
3 changed files
with
1,602 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} /> | ||
</> | ||
); | ||
} |
Oops, something went wrong.