-
Notifications
You must be signed in to change notification settings - Fork 2
/
App.js
166 lines (113 loc) · 6.25 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
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
import { StatusBar } from 'expo-status-bar';
import { StyleSheet, Text, View } from 'react-native';
import { TailwindProvider } from 'tailwindcss-react-native';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import HomeScreen from './screens/HomeScreen';
import LoginScreen from './screens/LoginScreen';
import useAuth, { AuthProvider } from './hooks/useAuth';
import ChatScreen from './screens/ChatScreen';
import ProgramScreen from './screens/ProgramScreen';
import Data1Screen from './screens/Data1Screen';
import Data2Screen from './screens/Data2Screen';
import Data3Screen from './screens/Data3Screen';
import Data4Screen from './screens/Data4Screen';
import Data5Screen from './screens/Data5Screen';
import AnimationScreen from './screens/AnimationScreen';
import ProgressScreen from './screens/ProgressScreen';
import app from './chatbot/app'
import WorkoutScreen from "./screens/WorkoutScreen";
import ExerciseScreen from "./screens/AbsScreen";
import BootyScreen from "./screens/BootyScreen";
import LegsScreen from "./screens/LegsScreen";
import ArmsScreen from "./screens/ArmsScreen";
import CardioScreen from "./screens/CardioScreen";
import FullBodyScreen from "./screens/FullBodyScreen";
import ToningSideAbsScreen from "./screens/ToningSideAbsScreen";
import SideBendScreen from "./screens/SideBendScreen";
import SidePlankScreen from "./screens/SidePlankScreen";
import ReverseCrunchesScreen from "./screens/ReverseCrunchesScreen";
import LowerAbsScreen from "./screens/LowerAbsScreen";
import Lying2Screen from "./screens/Lying2Screen";
import TonedGlutesScreen from "./screens/TonedGlutesScreen";
import BarBellGluteScreen from "./screens/BarBellGluteScreen";
import WalkingLungeScreen from "./screens/WalkingLungeScreen";
import DonkeyKickScreen from "./screens/DonkeyKickScreen";
import CalendarScreen from './screens/CalendarScreen';
import ProfileScreen from './screens/ProfileScreen';
import UserDetailsScreen from './screens/UserDetailsScreen';
import NotificationScreen from './screens/NotificationScreen';
import NewMed1Screen from './screens/NewMed1Screen';
import NewMed2Screen from './screens/NewMed2Screen';
import NewMed3Screen from './screens/NewMed3Screen';
import WaterIntake from './screens/WaterIntake';
import AllRecipies from './screens/AllRecipies';
import OatScreen from './screens/OatScreen';
import MangoScreen from './screens/MangoScreen';
const Stack = createNativeStackNavigator();
export default function App() {
const user=useAuth();
return (
<NavigationContainer>
<TailwindProvider>
<AuthProvider>
<Stack.Navigator>
<Stack.Screen name="AnimationScreen" component={AnimationScreen} options={{presentation:"fullScreenModal" ,headerShown:false}} />
<Stack.Screen name="Pro" component={ProfileScreen} />
<Stack.Screen name="Progress" component={ProgressScreen} />
<Stack.Screen name="Workouts" component={WorkoutScreen} />
<Stack.Screen name="Abs" component={ExerciseScreen} />
<Stack.Screen name="Notification" component={NotificationScreen} options={{presentation:"fullScreenModal" ,headerShown:false}} />
<Stack.Screen name = "User Details" component = {UserDetailsScreen}
options={{ headerShown: false }}/>
<Stack.Screen name="Recipy" component={AllRecipies}/>
<Stack.Screen name="Oat" component={OatScreen}/>
<Stack.Screen name="Mango" component={MangoScreen}/>
<Stack.Screen name="Booty" component={BootyScreen}/>
<Stack.Screen name="Legs" component={LegsScreen}/>
<Stack.Screen name="Arms" component={ArmsScreen}/>
<Stack.Screen name="Cardio" component={CardioScreen}/>
<Stack.Screen name="Full Body" component={FullBodyScreen}/>
<Stack.Screen name="water" component={WaterIntake}/>
{/* {Abs workout exercise-1} */}
<Stack.Screen name="Toning side abs" component={ToningSideAbsScreen}/>
<Stack.Screen name="Standing Side Bends" component={SideBendScreen}
options={{presentation:"fullScreenModal", headerShown: false }}/>
<Stack.Screen name="Side Plank" component={SidePlankScreen}
options={{presentation:"fullScreenModal", headerShown: false }}/>
<Stack.Screen name="Reverse Crunches" component={ReverseCrunchesScreen}
options={{presentation:"fullScreenModal", headerShown: false }}/>
{/* {Abs workout exrecise-2} */}
<Stack.Screen name="Lower abs" component={LowerAbsScreen}/>
<Stack.Screen name="Lying Lower" component={Lying2Screen}
options={{presentation:"fullScreenModal", headerShown: false }}/>
{/* {Booty workout exercise-1} */}
<Stack.Screen name="Toned Glutes" component={TonedGlutesScreen}/>
<Stack.Screen name="BarBell Glute" component={BarBellGluteScreen}
options={{presentation:"fullScreenModal", headerShown: false }}/>
<Stack.Screen name="Walking Lunge" component={WalkingLungeScreen}
options={{presentation:"fullScreenModal", headerShown: false }}/>
<Stack.Screen name="Donkey Kicks" component={DonkeyKickScreen}
options={{presentation:"fullScreenModal", headerShown: false }}/>
<Stack.Screen name="chat" component={app} />
<Stack.Screen name="Home" component={HomeScreen} />
<Stack.Screen name="Login" component={LoginScreen} />
<Stack.Screen name="Program" component={ProgramScreen} />
<Stack.Screen name="Data1" component={Data1Screen} />
<Stack.Screen name="Data2" component={Data2Screen} />
<Stack.Screen name="Data3" component={Data3Screen} />
<Stack.Screen name="Data4" component={Data4Screen} />
<Stack.Screen name="Data5" component={Data5Screen} />
<Stack.Screen name="Calendar" component={CalendarScreen} />
<Stack.Screen name = "Medi1" component = { NewMed1Screen }
options = {{ headerShown: false }}/>
<Stack.Screen name = "Medi2" component = { NewMed2Screen }
options = {{ headerShown: false }}/>
<Stack.Screen name = "Medi3" component = { NewMed3Screen }
options = {{ headerShown: false }}/>
</Stack.Navigator>
</AuthProvider>
</TailwindProvider>
</NavigationContainer>
);
}