import { createStackNavigator } 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 SignupScreenFour from '../../screens/auth/SignupScreen4';
import SignupScreenFive from '../../screens/auth/SignupScreen5';
import SignupScreenSix from '../../screens/auth/SignupScreen6';
import TwitterWebView from '../../screens/auth/TwitterWebView';
import ForgotPasswordScreen from '../../screens/auth/ForgotPasswordScreen';

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

const AuthStack = createStackNavigator(
{
  auth: {
    screen: AuthNavigator,
    navigationOptions: { header: null }
  },
  twitterWebView: TwitterWebView
},
{ 
  mode: 'modal' 
});

export default AuthStack;
