-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
80 lines (78 loc) · 3.73 KB
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import React from "react";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import SplashScreen from "./screens/SplashScreen";
import { Login, Signup, Welcome } from "./screens";
import Nav from "./Nav/Nav";
import Employersignup from "./screens/Auth/Employersignup";
import Employernav from "./Nav/Employernav";
import Mainmenu from "./App/More/menu/Mainmenu";
import Jobdetail from "./App/Jobs/Jobdetail";
import Home from "./App/Home/Home";
import Success from "./components/Success";
import Postjob from "./Admin/Jobpost/Postjob";
import Success1 from "./components/Success1";
import Forgotpw from "./screens/Auth/Forgotpw";
import Recoverotp from "./screens/Auth/Recoverotp";
import Createnewpw from "./screens/Auth/Createnewpw";
import EmployeeSignup from "./screens/Auth/EmployeeSignup";
import ApplicationForm from "./App/application/ApplicationForm";
import CompleteProfileScreen from "./App/Profile/CompleteProfileScreen";
import JobDetails from "./App/Home/JobDetails";
import CompleteProfile from "./screens/Auth/CompleteProfile";
import CompleteEmployerProfile from "./screens/Auth/CompleteEmployerProfile";
import { UserProvider } from "./constants/UserContext";
import EmployerProfile from "./Admin/Applications/EmployerProfile";
import ForgotPassword from "./screens/ForgotPassword";
import Application from "./Admin/Applications/Application";
import TotalApplication from "./Admin/Applications/TotalApplication";
import TotalJob from "./Admin/Jobs/TotalJob";
const Stack = createNativeStackNavigator();
export default function App() {
return (
<UserProvider>
<NavigationContainer>
<Stack.Navigator
initialRouteName="SplashScreen"
screenOptions={{ headerShown: false }}
>
<Stack.Screen name="SplashScreen" component={SplashScreen} />
<Stack.Screen name="Welcome" component={Welcome} />
<Stack.Screen name="Login" component={Login} />
<Stack.Screen name="Signup" component={Signup} />
<Stack.Screen name="EmployeeSignup" component={EmployeeSignup} />
<Stack.Screen name="Employersignup" component={Employersignup} />
<Stack.Screen name="Nav" component={Nav} />
<Stack.Screen
name="Employernav"
component={Employernav}
options={{ title: "Employernav" }}
/>
<Stack.Screen name="Jobdetail" component={Jobdetail} />
<Stack.Screen name="Success" component={Success} />
<Stack.Screen name="Success1" component={Success1} />
<Stack.Screen name="Postjob" component={Postjob} />
<Stack.Screen name="Forgotpw" component={ForgotPassword} />
<Stack.Screen name="ForgotPassword" component={Forgotpw} />
<Stack.Screen name="Recoverotp" component={Recoverotp} />
<Stack.Screen name="Createnewpw" component={Createnewpw} />
<Stack.Screen name="ApplicationForm" component={ApplicationForm} />
<Stack.Screen name="JobDetails" component={JobDetails} />
<Stack.Screen name="CompleteProfile" component={CompleteProfile} />
<Stack.Screen name="EmployerProfile" component={EmployerProfile} />
<Stack.Screen name="Application" component={Application} />
<Stack.Screen name="TotalApplication" component={TotalApplication} />
<Stack.Screen name="TotalJob" component={TotalJob} />
<Stack.Screen
name="CompleteEmployerProfile"
component={CompleteEmployerProfile}
/>
<Stack.Screen
name="CompleteProfileScreen"
component={CompleteProfileScreen}
/>
</Stack.Navigator>
</NavigationContainer>
</UserProvider>
);
}