File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const styles = {
2727 cursor : 'pointer' ,
2828 } ,
2929 content : {
30- paddingBottom : '3rem ' ,
30+ paddingBottom : '5rem ' ,
3131 } ,
3232 header : {
3333 color : 'white' ,
@@ -40,6 +40,11 @@ const styles = {
4040 description : {
4141 fontSize : '1rem' ,
4242 } ,
43+ meta : {
44+ display : 'flex' as 'flex' ,
45+ flexDirection : 'row' as 'row' ,
46+ flexWrap : 'wrap' as 'wrap' ,
47+ } ,
4348 levelList : {
4449 padding : '0rem 1rem' ,
4550 } ,
@@ -88,10 +93,10 @@ const Summary = (props: Props) => (
8893 </ div >
8994 < h1 css = { styles . title } > { props . title } </ h1 >
9095 < h3 > { props . description } </ h3 >
91- < h4 >
92- < span css = { { marginRight : '2rem' } } > Created by { props . createdBy . name } </ span >
93- < span > Last updated { moment ( props . updatedAt ) . format ( 'M/YYYY' ) } </ span >
94- </ h4 >
96+ < h5 css = { styles . meta } >
97+ < div css = { { marginRight : '2rem' } } > Created by { props . createdBy . name } </ div >
98+ < div > Last updated { moment ( props . updatedAt ) . format ( 'M/YYYY' ) } </ div >
99+ </ h5 >
95100 </ div >
96101 < div >
97102 < div css = { styles . levelList } >
@@ -110,8 +115,6 @@ const Summary = (props: Props) => (
110115 </ div >
111116 </ div >
112117
113- < div css = { { height : '3rem ' } } />
114-
115118 < div css = { styles . footer } >
116119 { /* TODO Add back button */ }
117120 < Button type = "primary" onClick = { props . onNext } >
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ const styles = {
2929 } ,
3030 subtitle : {
3131 fontSize : '1.3rem' ,
32+ textAlign : 'center' as 'center' ,
3233 } ,
3334 options : {
3435 flex : 1 ,
@@ -54,11 +55,10 @@ export const StartPage = (props: Props) => (
5455 < BetaBadge >
5556 < span css = { styles . title } > CodeRoad</ span >
5657 </ BetaBadge >
57- < h3 css = { styles . subtitle } > Play Interactive Coding Tutorials in VSCode</ h3 >
58- < p > Learn by coding in a real environment.</ p >
58+ < h3 css = { styles . subtitle } > Play Tutorials in VSCode</ h3 >
59+ < p > Learn in a real environment.</ p >
5960 < p > Instant feedback on save.</ p >
60- < p > Progress saves to Git.</ p >
61- < p > Build your portfolio as you learn.</ p >
61+ < p > Build your portfolio and Git timeline.</ p >
6262 </ div >
6363
6464 < div css = { styles . options } >
You can’t perform that action at this time.
0 commit comments