diff --git a/native-base-theme/variables/commonColor.js b/native-base-theme/variables/commonColor.js index 4759d04..d7ad093 100755 --- a/native-base-theme/variables/commonColor.js +++ b/native-base-theme/variables/commonColor.js @@ -108,13 +108,13 @@ export default { cardDefaultBg: "#fff", // Color - brandPrimary: "#2aa198", + brandPrimary: "#ee4782", // brandInfo: "#268bd2", brandInfo: "#6c71c4", brandSuccess: "#859900", brandDanger: "#dc322f", brandWarning: "#b58900", - brandSidebar: "#002b36", + brandSidebar: "#FFFFFF", // Font fontFamily: platform === "ios" ? "System" : "Roboto", diff --git a/src/App.js b/src/App.js index 3c7a397..cdbf772 100755 --- a/src/App.js +++ b/src/App.js @@ -18,7 +18,7 @@ const AppNavigator = StackNavigator({ StarWars: { screen: StarWars }, Person: { screen: Person } }, { - initialRouteName: 'Login' + initialRouteName: 'Home' }); export default () => ( diff --git a/src/BrandedContainer.js b/src/BrandedContainer.js index 681e375..f8e84b4 100755 --- a/src/BrandedContainer.js +++ b/src/BrandedContainer.js @@ -11,7 +11,7 @@ import { } from 'native-base/src'; import colors from '../native-base-theme/variables/commonColor'; -const background = require('./images/codehangar-transparent.png'); +const background = require('./images/appicon.png'); export default class BrandedContainer extends React.PureComponent { getLowerStyles = () => { diff --git a/src/Home.js b/src/Home.js index d7e495b..c4c4f91 100755 --- a/src/Home.js +++ b/src/Home.js @@ -1,84 +1,72 @@ import React from 'react'; import { - StyleSheet + StyleSheet } from 'react-native'; import { - StyleProvider, - Container, - Content, - H1, H2, H3, - Text, - Button + StyleProvider, + Content, + H1, H2, H3, + Text, + Button, + Footer } from 'native-base/src'; +import BrandedContainer from './BrandedContainer'; // import { Button } from 'native-base/src/basic/Button'; export default class Home extends React.Component { - static navigationOptions = ({ navigation, screenProps }) => ({ - title: 'React Native Rockstarter', - headerRight: ( - - ) - }); + static navigationOptions = ({navigation, screenProps}) => ({ + title: 'LadyDevs Mentor Match', + }); - constructor(props) { - super(props); - this.state = { - text: '', - isLoading: true - }; - } + constructor(props) { + super(props); + this.state = { + text: '', + isLoading: true + }; + } - render() { - const { navigate } = this.props.navigation; - return ( - - -

Welcome

-

to the

-

React Native Rockstarter

- - - - - -
-
- ); - } + render() { + const {navigate} = this.props.navigation; + return ( + + +

LadyDevs Mentor Match

+ Connect with a dev mentor in your community. +
+ + +
+ ); + } } const styles = StyleSheet.create({ container: { - flex: 1, - flexDirection: 'column', - alignItems: 'center' - // justifyContent: 'center' + flex: 1, + flexDirection: 'column', + alignItems: 'center', + padding: 20 + }, + description: { + textAlign: 'center', + marginTop: 10 }, buttonContainer: { - margin: 10, - alignSelf: 'center' + margin: 10, + alignSelf: 'center' + }, + footer: { + backgroundColor: '#fff' + }, + button: { + marginBottom: 20 } -}); + }) +; diff --git a/src/Register.js b/src/Register.js index b2daa6b..b4a2dce 100755 --- a/src/Register.js +++ b/src/Register.js @@ -9,7 +9,10 @@ import { Text, Icon, Item, - Input + Input, + CheckBox, + Body, + ListItem } from 'native-base/src'; import { NavigationActions } from 'react-navigation'; import API from './utils/api'; @@ -18,8 +21,14 @@ import BrandedContainer from './BrandedContainer'; export default class Register extends React.Component { static navigationOptions = { - title: 'Register', - headerLeft: null + title: 'Create an Account', + headerBackTitleStyle: { + color: '#ee4782' + }, + headerTintColor: '#ee4782', + headerTitleStyle: { + color: '#000' + } }; constructor(props) { @@ -133,19 +142,24 @@ export default class Register extends React.Component { + + + + I agree to abide by the LadyDevs Code of Conduct. + + - + {/**/} ); diff --git a/src/images/loading-screen copy.png b/src/images/loading-screen.png similarity index 100% rename from src/images/loading-screen copy.png rename to src/images/loading-screen.png