-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathApp.js
More file actions
156 lines (151 loc) · 5.52 KB
/
App.js
File metadata and controls
156 lines (151 loc) · 5.52 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
153
154
155
156
const Stack = createNativeStackNavigator();
import * as React from "react";
import { NavigationContainer } from "@react-navigation/native";
import { useFonts } from "expo-font";
import Home from "./screens/Home";
import GroupsList from "./screens/GroupsList";
import Communities from "./screens/Communities";
import CommunitiesList from "./screens/CommunitiesList";
import GroupWishlist from "./screens/GroupWishlist";
import PersonalTripsUser from "./screens/PersonalTripsUser";
import GroupTrip from "./screens/GroupTrip";
import PersonalTripsUser1 from "./screens/PersonalTripsUser1";
import ChatOutfit from "./screens/ChatOutfit";
import ChatOutfit1 from "./components/ChatOutfit1";
import Home1 from "./screens/Home1";
import MenuMoreVertical from "./components/MenuMoreVertical";
import Group from "./screens/Group";
import OutfitPage from "./screens/OutfitPage";
import Members from "./screens/Members";
import PreviousWardrobe from "./screens/PreviousWardrobe";
import ModeLightTypeDefault from "./components/ModeLightTypeDefault";
import ToggleHome from "./components/ToggleHome";
import ToggleComm from "./components/ToggleComm";
import Outfit from "./components/Outfit";
import Product from "./components/Product";
import ToggleWardrobe from "./components/ToggleWardrobe";
import GroupOutfit from "./screens/GroupOutfit";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import { View, Text, Pressable, TouchableOpacity } from "react-native";
import RightSwipFeature from "./screens/RightSwipFeature";
import LeftSwipFeature from "./screens/RightSwipFeature";
import SwipFeature from "./screens/SwipFeature";
const App = () => {
const [hideSplashScreen, setHideSplashScreen] = React.useState(true);
const [fontsLoaded, error] = useFonts({
"Roboto-Regular": require("./assets/fonts/Roboto-Regular.ttf"),
"Roboto-Medium": require("./assets/fonts/Roboto-Medium.ttf"),
"Roboto-Black": require("./assets/fonts/Roboto-Black.ttf"),
"Inter-Light": require("./assets/fonts/Inter-Light.ttf"),
"Inter-Regular": require("./assets/fonts/Inter-Regular.ttf"),
"Inter-Medium": require("./assets/fonts/Inter-Medium.ttf"),
"Inter-SemiBold": require("./assets/fonts/Inter-SemiBold.ttf"),
"Inter-ExtraBold": require("./assets/fonts/Inter-ExtraBold.ttf"),
"Montserrat-Regular": require("./assets/fonts/Montserrat-Regular.ttf"),
"Montserrat-SemiBold": require("./assets/fonts/Montserrat-SemiBold.ttf"),
});
if (!fontsLoaded && !error) {
return null;
}
return (
<>
<NavigationContainer>
{hideSplashScreen ? (
<Stack.Navigator screenOptions={{ headerShown: false }}>
<Stack.Screen
name="Home"
component={Home}
options={{ headerShown: false }}
/>
<Stack.Screen
name="GroupsList"
component={GroupsList}
options={{ headerShown: false }}
/>
<Stack.Screen
name="SwipFeature"
component={SwipFeature}
options={{ headerShown: false }}
/>
<Stack.Screen
name="RightSwipFeature"
component={RightSwipFeature}
options={{ headerShown: false }}
/>
<Stack.Screen
name="LeftSwipFeature"
component={LeftSwipFeature}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Communities"
component={Communities}
options={{ headerShown: false }}
/>
<Stack.Screen
name="CommunitiesList"
component={CommunitiesList}
options={{ headerShown: false }}
/>
<Stack.Screen
name="GroupWishlist"
component={GroupWishlist}
options={{ headerShown: false }}
/>
<Stack.Screen
name="PersonalTripsUser"
component={PersonalTripsUser}
options={{ headerShown: false }}
/>
<Stack.Screen
name="GroupTrip"
component={GroupTrip}
options={{ headerShown: false }}
/>
<Stack.Screen
name="PersonalTripsUser1"
component={PersonalTripsUser1}
options={{ headerShown: false }}
/>
<Stack.Screen
name="ChatOutfit"
component={ChatOutfit}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Home1"
component={Home1}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Group"
component={Group}
options={{ headerShown: false }}
/>
<Stack.Screen
name="OutfitPage"
component={OutfitPage}
options={{ headerShown: false }}
/>
<Stack.Screen
name="Members"
component={Members}
options={{ headerShown: false }}
/>
<Stack.Screen
name="PreviousWardrobe"
component={PreviousWardrobe}
options={{ headerShown: false }}
/>
<Stack.Screen
name="GroupOutfit"
component={GroupOutfit}
options={{ headerShown: false }}
/>
</Stack.Navigator>
) : null}
</NavigationContainer>
</>
);
};
export default App;