-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathApp.tsx
More file actions
104 lines (101 loc) · 3.55 KB
/
App.tsx
File metadata and controls
104 lines (101 loc) · 3.55 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
import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import { Provider as PaperProvider } from 'react-native-paper';
import { StatusBar } from 'expo-status-bar';
import WelcomeScreen from './src/screens/WelcomeScreen';
import HomeScreen from './src/screens/HomeScreen';
import ResultScreen from './src/screens/ResultScreen';
import BlueScreen from './src/screens/BlueScreen';
import DashboardScreen from './src/screens/DashboardScreen';
import VoiceAnalysisScreen from './src/screens/VoiceAnalysisScreen';
import TextAnalysisScreen from './src/screens/TextAnalysisScreen';
import FollowUpQuestionScreen from './src/screens/FollowUpQuestionScreen';
import SkillsDashboardScreen from './src/screens/SkillsDashboardScreen';
import DialogueDashboardScreen from './src/screens/DialogueDashboardScreen';
import { RootStackParamList } from './src/types/navigation';
import LoginScreen from './src/screens/LoginScreen';
import RegisterScreen from './src/screens/RegisterScreen';
const Stack = createStackNavigator<RootStackParamList>();
export default function App() {
return (
<PaperProvider>
<NavigationContainer>
<StatusBar style="auto" />
<Stack.Navigator
initialRouteName="Login"
screenOptions={{
headerStyle: {
backgroundColor: '#2196F3',
},
headerTintColor: '#fff',
headerTitleStyle: {
fontWeight: 'bold',
},
}}
>
<Stack.Screen
name="Login"
component={LoginScreen}
options={{ title: 'Sign In', headerShown: false }}
/>
<Stack.Screen
name="Register"
component={RegisterScreen}
options={{ title: 'Create Account', headerShown: false }}
/>
<Stack.Screen
name="Welcome"
component={WelcomeScreen}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Home"
component={HomeScreen}
options={{ title: 'Activity Analyzer' }}
/>
<Stack.Screen
name="Result"
component={ResultScreen}
options={{ title: 'Analysis Results' }}
/>
<Stack.Screen
name="Blue"
component={BlueScreen}
options={{ title: 'Voice Transcription' }}
/>
<Stack.Screen
name="Dashboard"
component={DashboardScreen}
options={{ title: 'Achievement Dashboard' }}
/>
<Stack.Screen
name="SkillsDashboard"
component={SkillsDashboardScreen}
options={{ title: 'Skills Dashboard' }}
/>
<Stack.Screen
name="DialogueDashboard"
component={DialogueDashboardScreen}
options={{ title: 'Skills Passport' }}
/>
<Stack.Screen
name="VoiceAnalysis"
component={VoiceAnalysisScreen}
options={{ title: 'Voice Analysis' }}
/>
<Stack.Screen
name="TextAnalysis"
component={TextAnalysisScreen}
options={{ title: 'Text Analysis' }}
/>
<Stack.Screen
name="FollowUpQuestion"
component={FollowUpQuestionScreen}
options={{ title: 'Answer Follow-up Question' }}
/>
</Stack.Navigator>
</NavigationContainer>
</PaperProvider>
);
}