profile not done

This commit is contained in:
Abin Toppo
2025-09-15 10:50:58 +05:30
parent 0ff184c400
commit 29ac0307db
14 changed files with 1462 additions and 40 deletions
+17 -2
View File
@@ -7,6 +7,8 @@ import OtpVerificationScreen from "../screens/OtpVarificationScreen";
import BottomTabs from "./BottomTabs";
import SplashScreen from "../screens/SplashScreen";
import OrganizerRegisterScreen from "../screens/OrgnizerRagister";
import GroupCreation from "../screens/GroupCreation";
import GroupReview from "../screens/GroupReview";
const Stack = createNativeStackNavigator();
export type RootStackParamList = {
@@ -16,6 +18,9 @@ const Stack = createNativeStackNavigator();
HomeTabs:undefined
splash: undefined
OrganizerRegister:undefined
Profile: undefined;
GroupCreation: undefined;
GroupReview: undefined;
};
@@ -39,15 +44,25 @@ function ProfileScreen() {
}
export default function AppNavigator() {
const linking = {
prefixes: ["myapp://", "https://api.godemo.in"], // supports both
config: {
screens: {
Profile: "EProcurementSB", // dynamic route
},
},
};
return (
<NavigationContainer>
<NavigationContainer linking={linking} >
<Stack.Navigator initialRouteName="Splash">
<Stack.Screen name="Splash" component={SplashScreen} options={{ headerShown: false }} />
<Stack.Screen name="HomeTabs" component={BottomTabs} options={{ headerShown: false }} />
<Stack.Screen name="Login" component={LoginScreen} options={{ headerShown: false }} />
<Stack.Screen name="OrganizerRegister" component={OrganizerRegisterScreen} options={{ headerShown: false }} />
<Stack.Screen name="OtpVarify" component={OtpVerificationScreen} options={{ headerShown: false }} />
<Stack.Screen name="Profile" component={ProfileScreen} />
<Stack.Screen name="Profile" component={ProfileScreen} options={{ headerShown: false }}/>
<Stack.Screen name="GroupCreation" component={GroupCreation}options={{ headerShown: false }} />
<Stack.Screen name="GroupReview" component={GroupReview}options={{ headerShown: false }} />
</Stack.Navigator>
</NavigationContainer>
);
+2 -7
View File
@@ -3,6 +3,7 @@ import { createBottomTabNavigator } from "@react-navigation/bottom-tabs";
import { View, Text, StyleSheet, Platform } from "react-native";
import { Ionicons } from '@react-native-vector-icons/ionicons';
import GroupScreen from "../screens/GroupScreen";
import ProfileScreen from "../screens/ProfileScreen";
const Tab = createBottomTabNavigator();
@@ -24,13 +25,7 @@ function HomeScreen() {
</View>
);
}
function ProfileScreen() {
return (
<View style={styles.screen}>
<Text style={styles.text}>👤 Profile</Text>
</View>
);
}
function SettingsScreen() {
return (
<View style={styles.screen}>