diff --git a/web-app/src/containers/Tutorial/components/Reset.tsx b/web-app/src/containers/Tutorial/components/Reset.tsx index 7b02d329..22f15432 100644 --- a/web-app/src/containers/Tutorial/components/Reset.tsx +++ b/web-app/src/containers/Tutorial/components/Reset.tsx @@ -33,6 +33,7 @@ const Reset = (props: Props) => { disabled={props.disabled} warning={props.warning} style={props.style} + htmlType="reset" > Reset diff --git a/web-app/src/containers/Tutorial/components/SideMenu.tsx b/web-app/src/containers/Tutorial/components/SideMenu.tsx index 31323880..159c7649 100644 --- a/web-app/src/containers/Tutorial/components/SideMenu.tsx +++ b/web-app/src/containers/Tutorial/components/SideMenu.tsx @@ -25,8 +25,8 @@ const styles = { interface Props { visible: boolean toggleVisible(visible: boolean): void - page: 'about' | 'level' | 'review' | 'settings' - setPage(page: 'about' | 'level' | 'review' | 'settings'): void + page: 'level' | 'review' | 'settings' + setPage(page: 'level' | 'review' | 'settings'): void } const SideMenu = (props: Props) => { @@ -69,18 +69,6 @@ const SideMenu = (props: Props) => { Review - { - onMenuClose() - props.setPage('about') - }} - > - - About - {
Settings
-
-
-
-
Reset Tutorial
-
- This will reset the whole tutorial and change the source files back to the first level and first task - checkpoint. This will reset the whole tutorial and change the source files back to the first level and - first task checkpoint. This will reset the whole tutorial and change the source files back to the first - level and first task checkpoint. -
+ + + + +
+ CodeRoad is an open source VSCode extension that allows you to create and{' '} + play interactive coding tutorials inside VSCode.
- -
-
+ + + + GitHub + + Email + + + + + + + + This will reset the whole tutorial and change the source files back to the first level and first task + checkpoint. This will reset the whole tutorial and change the source files back to the first level and first + task checkpoint. This will reset the whole tutorial and change the source files back to the first level and + first task checkpoint. + + + + + +
) diff --git a/web-app/src/containers/Tutorial/index.tsx b/web-app/src/containers/Tutorial/index.tsx index c16c62e2..98edb72d 100644 --- a/web-app/src/containers/Tutorial/index.tsx +++ b/web-app/src/containers/Tutorial/index.tsx @@ -4,7 +4,6 @@ import * as selectors from '../../services/selectors' import SideMenu from './components/SideMenu' import Level from './components/Level' import Icon from '../../components/Icon' -import AboutPage from './containers/About' import ReviewPage from './containers/Review' import Button from '../../components/Button' import ProcessMessages from '../../components/ProcessMessages' @@ -126,7 +125,7 @@ const TutorialPage = (props: PageProps) => { const [menuVisible, setMenuVisible] = React.useState(false) - const [page, setPage] = React.useState<'about' | 'level' | 'review' | 'settings'>('level') + const [page, setPage] = React.useState<'level' | 'review' | 'settings'>('level') const onSettingsReset = () => { //Reset to first level first step @@ -159,8 +158,6 @@ const TutorialPage = (props: PageProps) => { {tutorial.summary.title} - {page === 'about' && } - {page === 'level' && ( diff --git a/web-app/stories/About.stories.tsx b/web-app/stories/About.stories.tsx deleted file mode 100644 index f3155267..00000000 --- a/web-app/stories/About.stories.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import * as React from 'react' -import { storiesOf } from '@storybook/react' -import SideBarDecorator from './utils/SideBarDecorator' -import AboutPage from '../src/containers/Tutorial/containers/About' - -storiesOf('About', module) - .addDecorator(SideBarDecorator) - .add('About Page', () => { - return - })