diff --git a/src/js/native/index.ios.js b/src/js/native/index.ios.js index de1917d3..f96d5d9a 100755 --- a/src/js/native/index.ios.js +++ b/src/js/native/index.ios.js @@ -15,6 +15,8 @@ var SequenceSelectView = require('../native_react_views/SequenceSelectView'); var LevelSelectView = require('../native_react_views/LevelSelectView'); var NUXView = require('../native_react_views/NUXView'); +var INITIAL_ROUTE = Routes.NUX; + var LearnGitBranching = React.createClass({ _renderScene: function(route, navigator) { @@ -32,7 +34,7 @@ var LearnGitBranching = React.createClass({ render: function() { return ( ); diff --git a/src/js/native_react_views/NUXView.js b/src/js/native_react_views/NUXView.js index 1642eb12..a6cfa2fa 100644 --- a/src/js/native_react_views/NUXView.js +++ b/src/js/native_react_views/NUXView.js @@ -28,23 +28,25 @@ var NUXView = React.createClass({ - - - Welcome To... + + + + Welcome To... + + + Learn Git Branching! + + + + Learn Git Branching is the most interactive + and visual way to master Git. - - Learn Git Branching! + + With over 30 tutorials and levels, everyone from + absolute beginners to experienced Git wizards + should find something challenging and new. - - Learn Git Branching is the most interactive - and visual way to master Git. - - - With over 30 tutorials and levels, everyone from - absolute beginners to experienced Git wizards - should find something challenging and new. - - + {Object.keys(Levels.levelSequences).map( sequenceID => this.renderSelector(sequenceID) )} @@ -58,20 +59,38 @@ var SequenceSelectView = React.createClass({ var about = intl.getIntlKey(info, 'about'); return ( - - - {name} - - - {about} - - + + + + + {name} + + + {about} + + + + + ); } }); var styles = StyleSheet.create({ + divider: { + height: 1, + marginBottom: 8, + backgroundColor: '#FFF' + }, + terminalContainer: { + paddingTop: 8, + paddingBottom: 8, + }, + textContainer: { + paddingLeft: 8, + paddingRight: 8, + }, sequenceName: assign({}, AppStyles.terminalTextStyle, { fontSize: 20, }), diff --git a/src/js/native_react_views/TerminalCardView.js b/src/js/native_react_views/TerminalCardView.js index ab5f411c..b399aae3 100644 --- a/src/js/native_react_views/TerminalCardView.js +++ b/src/js/native_react_views/TerminalCardView.js @@ -84,7 +84,6 @@ var styles = StyleSheet.create({ }, terminalTextContainer: { - padding: 12, borderWidth: 1 / PixelRatio.get(), borderColor: AppStyles.terminalBorder, borderRadius: BORDER_RADIUS