{"size": 1101, "ext": "js", "max_stars_repo_path": "src/routes.js", "max_stars_repo_name": "matgaspar/zeus-app", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/routes.js", "max_issues_repo_name": "matgaspar/zeus-app", "max_issues_repo_issues_event_min_datetime": "2020-09-05T01:50:25.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-01T07:17:00.000Z", "max_forks_repo_path": "src/routes.js", "max_forks_repo_name": "matgaspar/zeus-app", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 25.6046511628, "max_line_length": 99, "alphanum_fraction": 0.6920980926}
import { createAppContainer, createStackNavigator, createSwitchNavigator } from 'react-navigation';

import AuthLoadingScreen from './pages/authLoadingScreen';
import Login from './pages/login';
import Main from './pages/main';
import Pessoas from './pages/pessoas';
import PessoasTest from './pages/pessoasTest';
import Pessoa from './pages/pessoa';
import Veiculos from './pages/veiculos';
import Rotas from './pages/rotas';

const SignedInScreens = createStackNavigator(
  {
    Main,
    Pessoas,
    PessoasTest,
    Pessoa,
    Veiculos,
    Rotas,
  },
  {
    initialRouteName: 'Pessoas',
    defaultNavigationOptions: {
      headerTitle: 'ZEUS',
      headerTintColor: '#FFF',
      headerBackTitle: null,
      headerStyle: {
        backgroundColor: '#213257',
      },
    },
    mode: 'modal',
  },
);

const SignedOutScreens = createSwitchNavigator({ Login }, { mode: 'modal' });

export default createAppContainer(
  createSwitchNavigator(
    { AuthLoading: AuthLoadingScreen, SignedIn: SignedInScreens, SignedOut: SignedOutScreens },
    { initialRouteName: 'AuthLoading' },
  ),
);
