-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHome.js
118 lines (101 loc) · 3.75 KB
/
Home.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
import React,{useEffect} from "react";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import SignUp from "./components/login/SignUp";
import Login from "./components/login/Login";
import ForgetPassword from "./components/login/ForgetPassword";
import CreatePassword from "./components/login/CreatePassword";
import Otp from "./components/login/Otp";
import Main from "./components/AppComponents/Main";
import AppHome from "./components/AppComponents/AppHome";
import DeliverInvoice from "./components/AppComponents/Sidebar/components/DeliverInvoice";
import DeliveryDetails from "./components/AppComponents/Sidebar/components/DeliveryDetails";
import Slide from "./components/intro slider/Slide";
import MyService from "./components/AppComponents/profileComponents/MyService";
import Upcoming from "./components/AppComponents/Sidebar/components/Upcoming";
import UpcomingInvoice from "./components/AppComponents/Sidebar/components/UpcomingInvoice";
import ContactUs from "./components/AppComponents/profileComponents/ContactUs";
import Settings from "./components/AppComponents/profileComponents/Settings";
import CarService from "./components/AppComponents/HomepageComponents/CarService";
import TyreWheel from "./components/AppComponents/HomepageComponents/TyreWheel";
import { SafeAreaView } from "react-native";
import ScheduleApp from "./components/AppComponents/Sidebar/components/ScheduleApp";
import Payment from "./components/AppComponents/Sidebar/components/Payment";
import NewCustomer from "./components/AppComponents/HomepageComponents/NewCustomer";
const Stack = createNativeStackNavigator();
export default function Home() {
//console.log("check get req",res )
return (
<>
<Stack.Navigator screenOptions={{ headerShown: false }}>
<Stack.Screen name="Slider" component={Slide} />
<Stack.Screen name="Login" component={Login} />
<Stack.Screen name="SignUp" component={SignUp} />
<Stack.Screen name="ForgetPassword" component={ForgetPassword} />
<Stack.Screen name="CreatePassword" component={CreatePassword} />
<Stack.Screen name="Otp" component={Otp} />
<Stack.Screen name="Main" component={Main} />
<Stack.Screen name="AppHome" component={AppHome} />
<Stack.Screen
name="DeliveryDetails"
component={DeliveryDetails}
options={{ title: "Delivered ", headerShown: true }}
/>
<Stack.Screen
name="DeliverInvoice"
component={DeliverInvoice}
options={{ title: "Deliver Invoice", headerShown: true }}
/>
<Stack.Screen
name="MyService"
component={MyService}
options={{ title: "My Service ", headerShown: true }}
/>
<Stack.Screen
name="ScheduleApp"
component={ScheduleApp}
options={{ title: "ScheduleApp", headerShown: true }}
/>
<Stack.Screen
name="Upcoming"
component={Upcoming}
options={{ title: "Upcoming", headerShown: true }}
/>
<Stack.Screen
name="UpcomingInvoice"
component={UpcomingInvoice}
options={{ title: "Upcoming Invoice", headerShown: true }}
/>
<Stack.Screen
name="ContactUs"
component={ContactUs}
options={{ title: "Contact-us ", headerShown: true }}
/>
<Stack.Screen
name="Settings"
component={Settings}
options={{ title: "Settings ", headerShown: true }}
/>
<Stack.Screen
name="CarService"
component={CarService}
options={{ title: "Services ", headerShown: true }}
/>
<Stack.Screen
name="TyreWheel"
component={TyreWheel}
options={{ title: "Tyre & WheelCare", headerShown: true }}
/>
<Stack.Screen
name="Payment"
component={Payment }
options={{ title: "Payment", headerShown: true }}
/>
<Stack.Screen
name="NewCustomer"
component={NewCustomer }
options={{ title: "Create Customer", headerShown: true }}
/>
</Stack.Navigator>
</>
);
}