-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
328 lines (320 loc) · 10.2 KB
/
App.tsx
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
import React from 'react';
import 'react-native-gesture-handler';
import {enableScreens} from 'react-native-screens';
import {SafeAreaProvider} from 'react-native-safe-area-context';
import {NavigationContainer} from '@react-navigation/native';
import {createNativeStackNavigator} from '@react-navigation/native-stack';
import Q_Home from './src/screens/home';
//import defaultPage from './src/screens/default/defaultPage';
import HQ_1 from './src/screens/HQ/HQ_1';
import HQ_2 from './src/screens/HQ/HQ_2';
import HQ_3 from './src/screens/HQ/HQ_3';
import WQ_1 from './src/screens/WQ/wq_1';
import WQ_2 from './src/screens/WQ/wq_2';
import WQ_3 from './src/screens/WQ/wq_3';
import WQ_4 from './src/screens/WQ/wq_4';
import FQ_1 from './src/screens/OTHERQ/fq_1';
import NQ_1 from './src/screens/OTHERQ/nq_1';
import ALQ_1 from './src/screens/OTHERQ/alq_1';
import IQ_1 from './src/screens/OTHERQ/iq_1';
import Q_RESULT from './src/screens/OTHERQ/q_result';
import RESULT_HOME from './src/screens/result/result_home';
import RESULT_CONTENT from './src/screens/result/result_contentPage';
import ProcedureInfo from './src/screens/result/procedureInfo';
import Search from './src/screens/result/column';
import {LogBox} from 'react-native';
import Survey from './src/screens/survey';
import Survey2 from './src/screens/survey2';
import SurveyResult from './src/screens/surveyResult';
import HospitalMap from './src/screens/contents/hospital_map';
import TreatmentInfo from './src/screens/contents/treatmentInfo/treatmentInfo';
import ColumnDetail from './src/screens/result/columnDetail';
import termDetail from './src/screens/contents/treatmentInfo/termDetail';
import injectionDetail from './src/screens/contents/treatmentInfo/injectionDetail';
// import TermDetail from './src/screens/contents/treatmentInfo/termDetail';
// import InjectionDetail from './src/screens/contents/treatmentInfo/injectionDetail';
LogBox.ignoreAllLogs();
enableScreens();
const Stack = createNativeStackNavigator();
const App = () => {
return (
<>
<SafeAreaProvider>
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen
options={{headerShown: false}}
name="Home"
component={Q_Home}
/>
<Stack.Screen
options={{headerShown: false}}
name="Survey"
component={Survey}
/>
<Stack.Screen
options={{headerShown: false}}
name="Survey2"
component={Survey2}
/>
<Stack.Screen
options={{headerShown: false}}
name="SurveyResult"
component={SurveyResult}
/>
{/* 호르몬페이지 추가부분 */}
<Stack.Screen
options={{headerShown: false}}
name="HQ_1"
component={HQ_1}
/>
<Stack.Screen
options={{headerShown: false}}
name="HQ_2"
component={HQ_2}
/>
<Stack.Screen
options={{headerShown: false}}
name="HQ_3"
component={HQ_3}
/>
<Stack.Screen
options={{headerShown: false}}
name="WQ_1"
component={WQ_1}
/>
<Stack.Screen
options={{headerShown: false}}
name="WQ_2"
component={WQ_2}
/>
<Stack.Screen
options={{headerShown: false}}
name="WQ_3"
component={WQ_3}
/>
<Stack.Screen
options={{headerShown: false}}
name="WQ_4"
component={WQ_4}
/>
<Stack.Screen
options={{headerShown: false}}
name="FQ_1"
component={FQ_1}
/>
<Stack.Screen
options={{headerShown: false}}
name="NQ_1"
component={NQ_1}
/>
<Stack.Screen
options={{headerShown: false}}
name="ALQ_1"
component={ALQ_1}
/>
<Stack.Screen
options={{headerShown: false}}
name="IQ_1"
component={IQ_1}
/>
<Stack.Screen
options={{headerShown: false}}
name="Q_RESULT"
component={Q_RESULT}
/>
<Stack.Screen
options={{headerShown: false}}
name="RESULT_HOME"
component={RESULT_HOME}
/>
<Stack.Screen
options={{headerShown: false}}
name="RESULT_CONTENT"
component={RESULT_CONTENT}
/>
<Stack.Screen
options={{headerShown: false}}
name="ProcedureInfo"
component={ProcedureInfo}
/>
<Stack.Screen
options={{headerShown: false}}
name="Search"
component={Search}
/>
<Stack.Screen
options={{headerShown: false}}
name="HOSPITAL_SEARCH"
component={HospitalMap}
/>
<Stack.Screen
options={{headerShown: false}}
name="TreatmentInfo"
component={TreatmentInfo}
/>
<Stack.Screen
options={{headerShown: false}}
name="ColumnDetail"
component={ColumnDetail}
/>
<Stack.Screen
options={{headerShown: false}}
name="termDetail"
component={termDetail}
/>
<Stack.Screen
options={{headerShown: false}}
name="injectionDetail"
component={injectionDetail}
/>
</Stack.Navigator>
</NavigationContainer>
</SafeAreaProvider>
</>
);
// return (
// <SafeAreaProvider>
// <NavigationContainer>
// <Stack.Navigator>
// <Stack.Screen
// options={{headerShown: false}}
// name="Home"
// component={Q_Home}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_Default_1"
// component={Q_Default_1}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_Default_2"
// component={Q_Default_2}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_Default_3"
// component={Q_Default_3}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_userA_1"
// component={Q_A_1}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_userA_1_1"
// component={Q_A_1_1}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_userA_2"
// component={Q_A_2}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_userA_2_1"
// component={Q_A_2_1}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_userA_2_2"
// component={Q_A_2_2}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_userA_2_3"
// component={Q_A_2_3}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_userA_3"
// component={Q_A_3}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_userA_4"
// component={Q_A_4}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_userA_4_1"
// component={Q_A_4_1}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_userA_Type"
// component={Q_A_Type}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="HQ_1"
// component={HQ_1}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="HQ_2"
// component={HQ_2}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="HQ_3"
// component={HQ_3}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="WQ_1"
// component={WQ_1}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="WQ_2"
// component={WQ_2}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="WQ_3"
// component={WQ_3}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="WQ_4"
// component={WQ_4}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="FQ_1"
// component={FQ_1}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="NQ_1"
// component={NQ_1}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="ALQ_1"
// component={ALQ_1}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="IQ_1"
// component={IQ_1}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="Q_RESULT"
// component={Q_RESULT}
// />
// <Stack.Screen
// options={{headerShown: false}}
// name="RESULT_HOME"
// component={RESULT_HOME}
// />
// </Stack.Navigator>
// </NavigationContainer>
// </SafeAreaProvider>
// );
};
export default App;