-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(console): simple onboarding flow (#152)
* chore(simple onboarding): remove overview from nav * chore(simple onboarding): basic consume instructions * chore(simple onboarding): api key in instructions * feat(console): correct docs link, render variables * chore(console): rename "Consume" to "How to Consume" --------- Co-authored-by: Ariel Weinberger <[email protected]>
- Loading branch information
1 parent
79cacdf
commit a85e306
Showing
5 changed files
with
96 additions
and
54 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
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
15 changes: 15 additions & 0 deletions
15
apps/console/src/app/components/prompts/ConsumePromptModal.tsx
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 { Modal } from "antd"; | ||
import { TypeScriptOpenAIIntegrationTutorial } from "../getting-started-wizard"; | ||
|
||
interface Props { | ||
open: boolean; | ||
onClose: () => void; | ||
} | ||
|
||
export const ConsumePromptModal = ({ open, onClose }: Props) => { | ||
return ( | ||
<Modal width={800} open={open} onCancel={onClose} footer={false}> | ||
<TypeScriptOpenAIIntegrationTutorial /> | ||
</Modal> | ||
); | ||
}; |
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