Skip to content

add coderoad repo links #270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web-app/src/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const Routes = () => {
</Route>
{/* Completed */}
<Route path="Tutorial.Completed">
<CompletedPage send={send} context={context} />
<CompletedPage context={context} />
</Route>
</Router>
</Workspace>
Expand Down
8 changes: 5 additions & 3 deletions web-app/src/components/NewUserExperience/NuxTutorial.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,11 @@ const NewUserExperienceTutorialCollapsible = (props: NuxProps) => {
</li>
</ol>
</Panel>
<Panel title="Contact">
We'd love to hear your comments, requests, issues, questions - reach out at{' '}
<a href="mailto:coderoadapp@gmail.com">coderoadapp@gmail.com</a>.
<Panel title="Feedback">
<p>
Find a bug? Want to request a feature? Post an issue at{' '}
<a href="https://github.com/coderoad/coderoad-vscode">https://github.com/coderoad/coderoad-vscode</a>
</p>
</Panel>
</Collapse>
)
Expand Down
14 changes: 4 additions & 10 deletions web-app/src/containers/Tutorial/CompletedPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,14 @@ const styles = {

interface Props {
context: T.MachineContext
send(action: T.Action | string): void
}

const CompletedPage = (props: Props) => {
const selectNewTutorial = () => {
props.send('SELECT_TUTORIAL')
}
return (
<div css={styles.page}>
<h1>Tutorial Complete!</h1>
<div css={styles.section}>
<p>Thank you for demoing the CodeRoad beta!</p>
<p>Thank you for demoing the CodeRoad preview!</p>
</div>
<div css={styles.section}>
<h3>Subscribe!</h3>
Expand All @@ -42,17 +38,15 @@ const CompletedPage = (props: Props) => {
</div>
<div css={styles.section}>
<h3>Contact Us</h3>
<p>We'd love to hear your comments, ideas & feedback.</p>
<p>We'd love to hear your comments, issues, ideas & feedback.</p>
<p>
Reach out at <a href="mailto:coderoadapp@gmail.com">coderoadapp@gmail.com</a>!
Reach out at{' '}
<a href="https://github.com/coderoad/coderoad-vscode">https://github.com/coderoad/coderoad-vscode</a>!
</p>
</div>
<div css={styles.section}>
<h3>Continue</h3>
<p>To try another tutorial, open a new VSCode workspace and launch the CodeRoad app</p>
<div css={styles.buttonContainer}>
<Button onClick={selectNewTutorial}>Return to Tutorial List</Button>
</div>
</div>
</div>
)
Expand Down