-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* first pass * update sdks * add stepkey * fix typo * use correct number of sig figs
- Loading branch information
1 parent
7b8072d
commit 3fe9dc2
Showing
9 changed files
with
74 additions
and
2 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
8 changes: 8 additions & 0 deletions
8
frontend/src/scenes/onboarding/sdks/surveys/SurveysFinalSteps.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,8 @@ | ||
export const SurveysFinalSteps = (): JSX.Element => { | ||
return ( | ||
<> | ||
<h3>Next up: Create a survey</h3> | ||
<p>Complete this onboarding flow, then create a survey from one of our templates or from scratch.</p> | ||
</> | ||
) | ||
} |
8 changes: 8 additions & 0 deletions
8
frontend/src/scenes/onboarding/sdks/surveys/SurveysSDKInstructions.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,8 @@ | ||
import { SDKInstructionsMap, SDKKey } from '~/types' | ||
import { JSWebInstructions, NextJSInstructions, ReactInstructions } from '.' | ||
|
||
export const SurveysSDKInstructions: SDKInstructionsMap = { | ||
[SDKKey.JS_WEB]: JSWebInstructions, | ||
[SDKKey.NEXT_JS]: NextJSInstructions, | ||
[SDKKey.REACT]: ReactInstructions, | ||
} |
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,3 @@ | ||
export * from './js-web' | ||
export * from './next-js' | ||
export * from './react' |
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,13 @@ | ||
import { LemonDivider } from 'lib/lemon-ui/LemonDivider' | ||
import { SDKInstallJSWebInstructions } from '../sdk-install-instructions' | ||
import { SurveysFinalSteps } from './SurveysFinalSteps' | ||
|
||
export function JSWebInstructions(): JSX.Element { | ||
return ( | ||
<> | ||
<SDKInstallJSWebInstructions /> | ||
<LemonDivider thick dashed className="my-4" /> | ||
<SurveysFinalSteps /> | ||
</> | ||
) | ||
} |
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,11 @@ | ||
import { SDKInstallNextJSInstructions } from '../sdk-install-instructions/next-js' | ||
import { SurveysFinalSteps } from './SurveysFinalSteps' | ||
|
||
export function NextJSInstructions(): JSX.Element { | ||
return ( | ||
<> | ||
<SDKInstallNextJSInstructions /> | ||
<SurveysFinalSteps /> | ||
</> | ||
) | ||
} |
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,11 @@ | ||
import { SDKInstallReactInstructions } from '../sdk-install-instructions/react' | ||
import { SurveysFinalSteps } from './SurveysFinalSteps' | ||
|
||
export function ReactInstructions(): JSX.Element { | ||
return ( | ||
<> | ||
<SDKInstallReactInstructions /> | ||
<SurveysFinalSteps /> | ||
</> | ||
) | ||
} |