Commit 28bacd56 authored by W.D.R.P. Sandeepa's avatar W.D.R.P. Sandeepa

change initial route and add some images

parent 8c12c240
...@@ -8,19 +8,21 @@ import Register from "../screen/auth/Register"; ...@@ -8,19 +8,21 @@ import Register from "../screen/auth/Register";
import Login from "../screen/auth/Login"; import Login from "../screen/auth/Login";
import Splash from "../screen/splash/Splash"; import Splash from "../screen/splash/Splash";
import Color from "../screen/Color"; import Color from "../screen/Color";
import Blue from "../screen/Blue"
const Stack = createNativeStackNavigator(); const Stack = createNativeStackNavigator();
const AppRouter = () => { const AppRouter = () => {
return( return(
<NavigationContainer> <NavigationContainer>
<Stack.Navigator initialRouteName="Splash"> <Stack.Navigator initialRouteName="Color">
<Stack.Screen options={{headerShown:false}} name="Home" component={Home} /> <Stack.Screen options={{headerShown:false}} name="Home" component={Home} />
<Stack.Screen options={{headerShown:false}} name="Splash" component={Splash} /> <Stack.Screen options={{headerShown:false}} name="Splash" component={Splash} />
<Stack.Screen options={{headerShown:false}} name="Register" component={Register} /> <Stack.Screen options={{headerShown:false}} name="Register" component={Register} />
<Stack.Screen options={{headerShown:false}} name="Login" component={Login} /> <Stack.Screen options={{headerShown:false}} name="Login" component={Login} />
<Stack.Screen options={{headerShown:false}} name="Start" component={Start} /> <Stack.Screen options={{headerShown:false}} name="Start" component={Start} />
<Stack.Screen options={{headerShown:false}} name="Color" component={Color} /> <Stack.Screen options={{headerShown:false}} name="Color" component={Color} />
<Stack.Screen options={{headerShown:false}} name="Blue" component={Blue} />
</Stack.Navigator> </Stack.Navigator>
</NavigationContainer> </NavigationContainer>
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment