import { createStackNavigator, createAppContainer } from 'react-navigation';
import WelcomeScreen from '../screens/onboaring/WelcomeScreen';
import LoginScreen from '../screens/auth/LoginScreen';
import SignupScreenOne from '../screens/auth/SignupScreen1';
import SignupScreenTwo from '../screens/auth/SignupScreen2';
import SignupScreenThreeA from '../screens/auth/SignupScreen3a';
import SignupScreenThreeB from '../screens/auth/SignupScreen3b';
import SignupScreenFive from '../screens/auth/SignupScreen5';
import TwitterWebView from '../screens/auth/TwitterWebView';
import ForgotPasswordScreen from '../screens/auth/ForgotPasswordScreen';

const MainNavigator = createStackNavigator({  
  welcome: WelcomeScreen,
  login: LoginScreen,
  forgotPassword: ForgotPasswordScreen,
  signup1: SignupScreenOne,
  signup2: SignupScreenTwo,
  signup3a: SignupScreenThreeA,
  signup3b: SignupScreenThreeB,
  signup5: SignupScreenFive
});

const RootNavigator = createStackNavigator(
{
  Main: {
    screen: MainNavigator,
    navigationOptions: { header: null }
  },
  twitterWebView: TwitterWebView
},
{ 
  mode: 'modal' 
});

const AppNavigator = createAppContainer(RootNavigator);

export default AppNavigator;
