-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
161 lines (151 loc) · 6.55 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
// App.js
import 'react-native-gesture-handler'
import React, { useEffect } from 'react'
import { NavigationContainer } from '@react-navigation/native'
import { createStackNavigator } from '@react-navigation/stack'
import { StatusBar } from 'react-native'
import { AppProvider, useAppContext } from './AppContext'
import NightSkyBackdrop from './components/nightSky/NightSkyBackdrop'
import LetterSections from './components/Letter/LetterSection'
import LetterContent from './components/Letter/LetterContent'
import CountDown from './components/CountDown/CountDown'
import Affirmations from './components/Affirmation/Affirmations'
import MemorySection from './components/Memory/MemorySection'
import MemorySectionDate from './components/Memory/MemoryDateSection'
import MemoryDateContent from './components/Memory/MemoryDateContent'
import MemorySectionVlog from './components/Memory/MemoryVlogSection'
import MemoryVlogContent from './components/Memory/MemoryVlogContent'
import MemorySmsSection from './components/Memory/MemorySmsSection'
import MemorySectionFun from './components/Memory/MemoryFunSection'
import MemoryFunContent from './components/Memory/MediaPlayer'
import CameraPhoto from './components/Camera/CameraPhoto'
import CameraVideo from './components/Camera/CameraVideo'
import BucketList from './components/BucketList/BucketList'
import Settings from './components/Settings/Settings'
import Form from './components/RDV/RDV'
import audioFiles from './assets/sound/AudioFileType'
import PlaylistComponent from './components/Music/PlaylistComponent'
import MusicPlayer from './components/Music/MusicPlayer'
import MemoryPhotoShoot from './components/Memory/MemoryPhotoShootSection'
const App = () => {
const Stack = createStackNavigator()
return (
// @ts-ignore
<AppProvider>
<NavigationContainer>
<StatusBar hidden />
<Stack.Navigator>
<Stack.Screen
name='homeScreen'
component={NightSkyBackdrop}
options={{ title: 'SkyMap', headerShown: false }}
/>
<Stack.Screen
name='Letters'
component={LetterSections}
options={{ headerShown: false }}
/>
<Stack.Screen
name='LetterContent'
component={LetterContent}
options={{
title: 'Letter Content',
headerStyle: { backgroundColor: '#FDF5E6' },
}}
/>
<Stack.Screen
name='CountDown'
component={CountDown}
options={{ headerShown: false }}
/>
<Stack.Screen
name='Affirmations'
component={Affirmations}
options={{ headerShown: false }}
/>
<Stack.Screen
name='Tests'
component={MemorySection}
options={{ headerShown: false }}
/>
<Stack.Screen
name='DateSection'
component={MemorySectionDate}
options={{ headerShown: false }}
/>
<Stack.Screen
name='DateContent'
component={MemoryDateContent}
options={{
title: 'Date memories',
headerStyle: { backgroundColor: '#FDF5E6' },
}}
/>
<Stack.Screen
name='VlogSection'
component={MemorySectionVlog}
options={{ headerShown: false }}
/>
<Stack.Screen
name='Sms'
component={MemorySmsSection}
options={{ headerShown: false }}
/>
<Stack.Screen
name='VlogContent'
component={MemoryVlogContent}
options={{
title: 'Vlog memories',
headerStyle: { backgroundColor: '#FDF5E6' },
}}
/>
<Stack.Screen
name='FunSection'
component={MemorySectionFun}
options={{ headerShown: false }}
/>
<Stack.Screen
name='FunContent'
component={MemoryFunContent}
options={{
title: 'Fun memories',
headerStyle: { backgroundColor: '#FDF5E6' },
}}
/>
<Stack.Screen
name='PhotoShoot'
component={MemoryPhotoShoot}
options={{
title: 'Photshoot',
headerStyle: { backgroundColor: '#FDF5E6' },
}}
/>
<Stack.Screen
name='CameraPhoto'
component={CameraPhoto}
options={{ headerShown: false }}
/>
<Stack.Screen
name='CameraVideo'
component={CameraVideo}
options={{ headerShown: false }}
/>
<Stack.Screen name='BucketList' component={BucketList} />
<Stack.Screen
name='PlaylistPage'
options={{ title: 'Music', headerShown: false }}
component={PlaylistComponent}
/>
<Stack.Screen
name='Music player'
component={MusicPlayer}
options={{ headerShown: false }}
/>
<Stack.Screen name='RDV' component={Form} options={{ headerShown: false }} />
<Stack.Screen name='Settings' component={Settings} />
</Stack.Navigator>
</NavigationContainer>
</AppProvider>
)
}
export default App