-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathApp.js
109 lines (105 loc) · 3.18 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
import { StatusBar } from "expo-status-bar";
import { Button, StyleSheet, Text, View } from "react-native";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import Login from "./Screens/Login";
import Dashboard from "./Screens/Dashboard";
import Schedule from "./Screens/Schedule";
import CalendarView from "./Screens/CalendarView";
import SettingsView from "./Screens/Settings";
import EmergencyProtocols from "./Screens/EmergencyProtocols";
import DayAgenda from "./Screens/DayAgenda";
import EmergencyPage from "./Screens/EmergencyPage";
import Notifications from "./Screens/Notifications";
import SnazzyLogin from "./Screens/SnazzyLogin";
import EventsCalendar from "./Screens/EventsCalendar";
import LoginMicrosoft from "./Screens/LoginMicrosoft";
import { Doctors } from "./Screens/Doctors"
import VoiceRecorder from "./Screens/VoiceRecorder";
const Stack = createNativeStackNavigator();
function App() {
// This is the main function that will be called when the app is loaded
return (
<NavigationContainer>
<Stack.Navigator>
{
<Stack.Screen
options={{ headerShown: false }}
name="Login"
component={SnazzyLogin}
/>
}
<Stack.Screen
name="Schedule"
component={Schedule}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Dashboard"
component={Dashboard}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Doctors"
component={Doctors}
options={{ headerShown: false }}
/>
<Stack.Screen
name="LoginMicrosoft"
component={LoginMicrosoft}
options={{ headerShown: false }}
/>
<Stack.Screen
name="CalendarView"
component={CalendarView}
options={{ headerShown: false }}
/>
<Stack.Screen
name="SettingsView"
component={SettingsView}
options={{ headerShown: false }}
/>
<Stack.Screen
name="EmergencyProtocols"
component={EmergencyProtocols}
options={{ headerShown: false }}
/>
<Stack.Screen
name="DayAgenda"
component={DayAgenda}
options={{ headerShown: false }}
/>
<Stack.Screen
name="EmergencyPage"
component={EmergencyPage}
options={{ headerShown: false }}
/>
<Stack.Screen
name="EventsCalendar"
component={EventsCalendar}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Notifications"
component={Notifications}
options={{ headerShown: false }}
/>
<Stack.Screen
name="snazzyLogin"
component={SnazzyLogin}
options={{ headerShown: false }}
/>
</Stack.Navigator>
</NavigationContainer>
);
}
//styles for the app
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#00ffff",
alignItems: "center",
justifyContent: "center",
},
});
export default App;