@@ -4,27 +4,29 @@ var path_1 = require('path');
44var index_1 = require ( '../../index' ) ;
55var imagePath = path_1 . join ( __dirname , '../../../../' , 'img' , 'coderoad.jpg' ) ;
66var styles = {
7- backgroundImage : "url(\"" + imagePath + "\")" ,
8- backgroundRepeat : 'no-repeat' ,
9- backgroundColor : 'inherit' ,
10- height : '350px' ,
11- textAlign : 'center' ,
12- marginTop : '0px' ,
13- textShadow : '1px 1px 1px #000' ,
7+ header : {
8+ backgroundImage : "url(\"" + imagePath + "\")" ,
9+ backgroundRepeat : 'no-repeat' ,
10+ backgroundColor : 'inherit' ,
11+ height : '350px' ,
12+ textAlign : 'center' ,
13+ marginTop : '0px' ,
14+ textShadow : '1px 1px 1px #000' ,
15+ } ,
16+ title : {
17+ paddingTop : '120px' ,
18+ color : 'white' ,
19+ fontSize : '2em' ,
20+ } ,
21+ tagline : {
22+ fontSize : '1.5em' ,
23+ } ,
24+ button : {
25+ fontSize : '1.4em' ,
26+ boxShadow : '2px 2px 1px #888888' ,
27+ textShadow : '1px 1px 0px #000' ,
28+ } ,
1429} ;
15- var titleStyles = {
16- paddingTop : '120px' ,
17- color : 'white' ,
18- fontSize : '2em'
19- } ;
20- var taglineStyles = {
21- fontSize : '1.5em' ,
22- } ;
23- var buttonStyles = {
24- fontSize : '1.4em' ,
25- boxShadow : '2px 2px 1px #888888' ,
26- textShadow : '1px 1px 0px #000' ,
27- } ;
28- var Welcome = function ( ) { return ( React . createElement ( "div" , { style : styles , className : 'cr-bg' } , React . createElement ( "div" , { style : titleStyles } , "CodeRoad Builder" ) , React . createElement ( "div" , { style : taglineStyles } , "Create Tutorials" ) , React . createElement ( "br" , null ) , React . createElement ( "br" , null ) , React . createElement ( index_1 . RouteButton , { label : 'Start' , route : 'tutorials' , style : buttonStyles } ) ) ) ; } ;
30+ var Welcome = function ( ) { return ( React . createElement ( "div" , { style : styles . header , className : 'cr-bg' } , React . createElement ( "div" , { style : styles . title } , "CodeRoad Builder" ) , React . createElement ( "div" , { style : styles . tagline } , "Create Tutorials" ) , React . createElement ( "br" , null ) , React . createElement ( "br" , null ) , React . createElement ( index_1 . RouteButton , { label : 'Start' , route : 'tutorialConfig' , style : styles . button } ) ) ) ; } ;
2931Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
3032exports . default = Welcome ;
0 commit comments