File tree Expand file tree Collapse file tree 4 files changed +17
-10
lines changed Expand file tree Collapse file tree 4 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,19 @@ const styles = {
1919 flexDirection : 'column' as 'column' ,
2020 justifyContent : 'flex-end' as 'flex-end' ,
2121 alignItems : 'center' as 'center' ,
22- backgroundColor : '#EBEBEB' ,
2322 fontSize : '1rem' ,
2423 lineHeight : '1rem' ,
2524 padding : '1rem' ,
2625 } ,
2726 title : {
28- fontSize : '4rem ' ,
27+ fontSize : '3rem ' ,
2928 } ,
3029 subtitle : {
31- fontSize : '1.6rem ' ,
30+ fontSize : '1.3rem ' ,
3231 } ,
3332 options : {
3433 flex : 1 ,
34+ backgroundColor : '#EBEBEB' ,
3535 display : 'flex' as 'flex' ,
3636 flexDirection : 'column' as 'column' ,
3737 justifyContent : 'flex-start' as 'flex-start' ,
@@ -64,14 +64,14 @@ export const StartPage = (props: Props) => (
6464
6565 < div css = { styles . options } >
6666 < div css = { styles . buttonContainer } >
67- < Button size = "large" type = "primary" onClick = { props . onNew } style = { { width : '10rem ' } } >
68- Start
67+ < Button size = "large" type = "primary" onClick = { props . onNew } style = { { width : '12rem ' } } >
68+ New Tutorial
6969 </ Button >
7070 </ div >
7171 { props . tutorial && (
7272 < div css = { styles . buttonContainer } >
73- < Button size = "large" onClick = { props . onContinue } style = { { width : '10rem ' } } >
74- Continue
73+ < Button size = "large" onClick = { props . onContinue } style = { { width : '12rem ' } } >
74+ Continue " { props . tutorial . summary . title } "
7575 </ Button >
7676 </ div >
7777 ) }
Original file line number Diff line number Diff line change 11import { storiesOf } from '@storybook/react'
22import React from 'react'
3- import LoadingPage from '../src/containers/LoadingPage '
3+ import LoadingPage from '../src/containers/Loading '
44import SideBarDecorator from './utils/SideBarDecorator'
55
66storiesOf ( 'Components' , module )
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const tutorialList = [
2323 } ,
2424]
2525
26- storiesOf ( 'Start ' , module )
26+ storiesOf ( 'Select Tutorial ' , module )
2727 . addDecorator ( SideBarDecorator )
2828 . add ( 'New Page' , ( ) => {
2929 return < NewPage tutorialList = { tutorialList } />
Original file line number Diff line number Diff line change @@ -11,7 +11,14 @@ const styles = {
1111
1212storiesOf ( 'Start' , module )
1313 . addDecorator ( SideBarDecorator )
14- . add ( 'StartPage' , ( ) => {
14+ . add ( 'New' , ( ) => {
15+ return (
16+ < div css = { styles . container } >
17+ < StartPage send = { action ( 'send' ) } context = { { } } />
18+ </ div >
19+ )
20+ } )
21+ . add ( 'Continue' , ( ) => {
1522 const tutorial = {
1623 summary : {
1724 title : 'Tutorial Title' ,
You can’t perform that action at this time.
0 commit comments