-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
152 lines (147 loc) · 4.3 KB
/
App.js
File metadata and controls
152 lines (147 loc) · 4.3 KB
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
import React from 'react'
import { StyleSheet, Text, View } from 'react-native'
import { NavigationContainer } from "@react-navigation/native";
import {createNativeStackNavigator} from '@react-navigation/native-stack';
import Login from "./Components/Welcome/Login.js";
import Register from "./Components/Welcome/Register.js";
import TypeStart from "./Components/Type/TypeStart.js";
import TypeTest from "./Components/Type/TypeTest.js";
import TestStart from "./Components/Diagnostic/TestStart.js"
import TestDone from "./Components/Diagnostic/TestDone.js"
import Test from "./Components/Diagnostic/Test.js";
import Dashboard from "./Components/Tabs/Dashboard.js"
import FractionVisual from "./Components/Lessons/FractionVisual.js"
import FractionRead from "./Components/Lessons/FractionRead.js"
import FractionKin from "./Components/Lessons/FractionKin.js"
import Unit from "./Components/Lessons/Unit.js"
import Explore from "./Components/Lessons/Explore.js"
import Classroom from "./Components/Tabs/Classroom.js"
import Settings from "./Components/Tabs/Settings.js"
import TeacherClassroom from "./Components/Tabs/Teacher/TeacherClass.js"
import TeacherAssign from "./Components/Tabs/Teacher/TeacherAssign.js"
import TeacherSettings from "./Components/Tabs/Teacher/TeacherSettings.js"
import FractionQuiz from "./Components/Quizzes/FractionQuiz.js"
import QuizDone from "./Components/Quizzes/QuizDone.js"
import Chatbot from "./Components/Tabs/Chatbot.js"
const Stack = createNativeStackNavigator();
export default App = () => {
return (
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen
name="Login"
component={Login}
options={{headerShown: false}}
/>
<Stack.Screen
name="Register"
component={Register}
options={{headerShown: false}}
/>
<Stack.Screen
name="Dashboard"
component={Dashboard}
options={{headerShown: false}}
/>
<Stack.Screen
name="TypeStart"
component={TypeStart}
options={{headerShown: false}}
/>
<Stack.Screen
name="TypeTest"
component={TypeTest}
options={{headerShown: false}}
/>
<Stack.Screen
name="TestStart"
component={TestStart}
options={{headerShown: false}}
/>
<Stack.Screen
name="Test"
component={Test}
options={{headerShown: false}}
/>
<Stack.Screen
name="TestDone"
component={TestDone}
options={{headerShown: false}}
/>
<Stack.Screen
name="FractionVisual"
component={FractionVisual}
options={{headerShown: false}}
/>
<Stack.Screen
name="FractionRead"
component={FractionRead}
options={{headerShown: false}}
/>
<Stack.Screen
name="FractionKin"
component={FractionKin}
options={{headerShown: false}}
/>
<Stack.Screen
name="Unit"
component={Unit}
options={{headerShown: false}}
/>
<Stack.Screen
name="Explore"
component={Explore}
options={{headerShown: false}}
/>
<Stack.Screen
name="Classroom"
component={Classroom}
options={{headerShown: false}}
/>
<Stack.Screen
name="TeacherClassroom"
component={TeacherClassroom}
options={{headerShown: false}}
/>
<Stack.Screen
name="TeacherAssign"
component={TeacherAssign}
options={{headerShown: false}}
/>
<Stack.Screen
name="TeacherSettings"
component={TeacherSettings}
options={{headerShown: false}}
/>
<Stack.Screen
name="Settings"
component={Settings}
options={{headerShown: false}}
/>
<Stack.Screen
name="FractionQuiz"
component={FractionQuiz}
options={{headerShown: false}}
/>
<Stack.Screen
name="QuizDone"
component={QuizDone}
options={{headerShown: false}}
/>
<Stack.Screen
name="Chatbot"
component={Chatbot}
options={{headerShown: false}}
/>
</Stack.Navigator>
</NavigationContainer>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center'
}
})