import { createNativeStackNavigator } from "@react-navigation/native-stack";
import HomeUserNotLoggedIn from "@screens/HomeUserNotLoggedIn";
import UserLoginScreen from "@screens/UserLoginScreen";
import { BottomTabs } from "./BottomTabs";
import type { UnloggedUserStackParamList } from "./Types";

const Stack = createNativeStackNavigator<UnloggedUserStackParamList>();

const UnloggedUserStackNavigation = () => {
	return (
		<Stack.Navigator
			initialRouteName="homeUserNotLoggedIn"
			screenOptions={{ headerShown: false }}
		>
			<Stack.Screen name="homeUserNotLoggedIn" component={HomeUserNotLoggedIn} />
			<Stack.Screen name="userLoginScreen" component={UserLoginScreen} />
			<Stack.Screen name="bottomTabs" component={BottomTabs} />
		</Stack.Navigator>
	);
};

export default UnloggedUserStackNavigation;
