Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
21_22-J 38
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
21_22-J 38
21_22-J 38
Commits
0b34943c
Commit
0b34943c
authored
Mar 31, 2022
by
Neranga K.T.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
router->router.js updated
parent
a03ad09e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
110 additions
and
1 deletion
+110
-1
frontend/src/router/router.js
frontend/src/router/router.js
+110
-1
No files found.
frontend/src/router/router.js
View file @
0b34943c
import
React
from
'
react
'
;
import
{
NavigationContainer
}
from
'
@react-navigation/native
'
;
import
{
createNativeStackNavigator
}
from
'
@react-navigation/native-stack
'
;
import
Colors
from
'
../constants/Colors
'
import
Home
from
'
../screen/
H
ome
'
;
import
Home
from
'
../screen/
h
ome
'
;
import
Start
from
'
../screen/Start
'
;
import
Register
from
'
../screen/auth/Register
'
;
import
Login
from
'
../screen/auth/Login
'
;
...
...
@@ -15,6 +16,24 @@ import ReadActivity2 from '../screen/activity/readActivity2'
import
ColorResult
from
'
../screen/result/ColorResult
'
;;
import
PrimaryType
from
'
../screen/activity/PrimaryType
'
import
SecondaryType
from
'
../screen/activity/SecondaryType
'
import
ColorResult
from
'
../screen/result/ColorResult
'
;
import
PrimaryType
from
'
../screen/activity/PrimaryType
'
import
SecondaryType
from
'
../screen/activity/SecondaryType
'
import
GameList
from
'
../screen/memory/GameList
'
;
import
StartGameScreen
from
'
../screen/memory/StartGameScreen
'
import
GameScreenOne
from
'
../screen/memory/elementry/GameScreenOne
'
;
import
GameScreenOneAll
from
'
../screen/memory/elementry/GameScreenOneAll
'
;
import
GameScreenTwo
from
'
../screen/memory/elementry/GameScreenTwo
'
;
import
GameScreenTwoAll
from
'
../screen/memory/elementry/GameScreenTwoAll
'
;
import
GameScreenThree
from
'
../screen/memory/elementry/GameScreenThree
'
;
import
GameScreenThreeAll
from
'
../screen/memory/elementry/GameScreenThreeAll
'
;
import
GameScreenFour
from
'
../screen/memory/elementry/GameScreenFour
'
;
import
GameScreenFourAll
from
'
../screen/memory/elementry/GameScreenFourAll
'
import
GameScreenFive
from
'
../screen/memory/elementry/GameScreenFive
'
;
import
GameScreenFiveAll
from
'
../screen/memory/elementry/GameScreenFiveAll
'
import
GameScreenSix
from
'
../screen/memory/elementry/GameScreenSix
'
;
import
GameScreenSixAll
from
'
../screen/memory/elementry/GameScreenSixAll
'
import
GameOverScreen
from
'
../screen/memory/GameOverScreen
'
;
const
Stack
=
createNativeStackNavigator
();
...
...
@@ -77,6 +96,96 @@ const AppRouter = () => {
name
=
"
ColorResult
"
component
=
{
ColorResult
}
/
>
<
Stack
.
Screen
name
=
"
GameList
"
component
=
{
GameList
}
options
=
{{
headerShown
:
true
,
title
:
'
Memory Games
'
,
headerTintColor
:
'
white
'
,
headerStyle
:
{
backgroundColor
:
Colors
.
primary
},
}}
/
>
<
Stack
.
Screen
name
=
"
StartGameScreen
"
component
=
{
StartGameScreen
}
options
=
{{
headerShown
:
true
,
title
:
'
Game Start
'
,
headerTintColor
:
'
white
'
,
headerStyle
:
{
backgroundColor
:
Colors
.
primary
},
}}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
GameScreenOne
"
component
=
{
GameScreenOne
}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
GameScreenOneAll
"
component
=
{
GameScreenOneAll
}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
GameScreenTwo
"
component
=
{
GameScreenTwo
}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
GameScreenTwoAll
"
component
=
{
GameScreenTwoAll
}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
GameScreenThree
"
component
=
{
GameScreenThree
}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
GameScreenThreeAll
"
component
=
{
GameScreenThreeAll
}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
GameScreenFour
"
component
=
{
GameScreenFour
}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
GameScreenFourAll
"
component
=
{
GameScreenFourAll
}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
GameScreenFive
"
component
=
{
GameScreenFive
}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
GameScreenFiveAll
"
component
=
{
GameScreenFiveAll
}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
GameScreenSix
"
component
=
{
GameScreenSix
}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
GameScreenSixAll
"
component
=
{
GameScreenSixAll
}
/
>
<
Stack
.
Screen
name
=
"
GameOverScreen
"
component
=
{
GameOverScreen
}
options
=
{{
headerShown
:
true
,
title
:
'
Game Over
'
,
headerTintColor
:
'
white
'
,
headerStyle
:
{
backgroundColor
:
Colors
.
primary
},
}}
/
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
PrimaryType
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment