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
11d28b15
Commit
11d28b15
authored
Feb 02, 2022
by
W.D.R.P. Sandeepa
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'it18218640' into 'master'
change route See merge request
!101
parents
70dae64d
f82aa9c5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
frontend/src/component/colorActivity.js
frontend/src/component/colorActivity.js
+1
-1
frontend/src/router/router.js
frontend/src/router/router.js
+1
-1
frontend/src/screen/activity/Blue.js
frontend/src/screen/activity/Blue.js
+3
-3
No files found.
frontend/src/component/colorActivity.js
View file @
11d28b15
import
{
useNavigation
}
from
"
@react-navigation/native
"
;
import
React
from
"
react
"
;
import
React
,
{
useEffect
}
from
"
react
"
;
import
{
Text
,
TouchableOpacity
,
StyleSheet
,
View
,
Image
}
from
'
react-native
'
...
...
frontend/src/router/router.js
View file @
11d28b15
...
...
@@ -8,7 +8,7 @@ import Register from '../screen/auth/Register';
import
Login
from
'
../screen/auth/Login
'
;
import
Splash
from
'
../screen/splash/Splash
'
;
import
Color
from
'
../screen/Color
'
;
import
Blue
from
'
../screen/Blue
'
;
import
Blue
from
'
../screen/
activity/
Blue
'
;
import
Read
from
'
../screen/Read
'
;
import
ReadActivity
from
'
../screen/activity/readActivity
'
;
const
Stack
=
createNativeStackNavigator
();
...
...
frontend/src/screen/Blue.js
→
frontend/src/screen/
activity/
Blue.js
View file @
11d28b15
...
...
@@ -36,7 +36,7 @@ export default function Blue() {
return
(
<
SafeAreaView
>
<
View
style
=
{{
flexDirection
:
"
column
"
}}
>
<
ImageBackground
style
=
{
styles
.
image
}
source
=
{
require
(
"
../assets/game/gameback.png
"
)}
>
<
ImageBackground
style
=
{
styles
.
image
}
source
=
{
require
(
"
../
../
assets/game/gameback.png
"
)}
>
<
View
>
...
...
@@ -44,13 +44,13 @@ export default function Blue() {
<
Text
style
=
{
styles
.
text
}
>
Say
the
name
of
this
color
?
<
/Text
>
<
/View
>
<
Image
style
=
{
styles
.
robo
}
source
=
{
require
(
"
../assets/game/robo.png
"
)}
><
/Image
>
<
Image
style
=
{
styles
.
robo
}
source
=
{
require
(
"
../
../
assets/game/robo.png
"
)}
><
/Image
>
<
/View
>
<
View
>
<
Image
style
=
{
styles
.
blackboard
}
source
=
{
require
(
"
../assets/game/blackboard.png
"
)}
><
/Image
>
<
Image
style
=
{
styles
.
blackboard
}
source
=
{
require
(
"
../
../
assets/game/blackboard.png
"
)}
><
/Image
>
<
View
style
=
{
styles
.
box
}
>
<
/View
>
...
...
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