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
512afb6a
Commit
512afb6a
authored
Jan 07, 2022
by
W.D.R.P. Sandeepa
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'it18218640' into 'master'
some change See merge request
!76
parents
378e12de
134cf0e8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
21 deletions
+28
-21
frontend/src/router/router.js
frontend/src/router/router.js
+1
-1
frontend/src/screen/Color.js
frontend/src/screen/Color.js
+1
-1
frontend/src/screen/home.js
frontend/src/screen/home.js
+26
-19
No files found.
frontend/src/router/router.js
View file @
512afb6a
...
@@ -15,7 +15,7 @@ const Stack = createNativeStackNavigator();
...
@@ -15,7 +15,7 @@ const Stack = createNativeStackNavigator();
const
AppRouter
=
()
=>
{
const
AppRouter
=
()
=>
{
return
(
return
(
<
NavigationContainer
>
<
NavigationContainer
>
<
Stack
.
Navigator
initialRouteName
=
"
S
tart
"
>
<
Stack
.
Navigator
initialRouteName
=
"
S
plash
"
>
<
Stack
.
Screen
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
options
=
{{
headerShown
:
false
}}
name
=
"
Home
"
name
=
"
Home
"
...
...
frontend/src/screen/Color.js
View file @
512afb6a
...
@@ -20,7 +20,7 @@ export default function Color(){
...
@@ -20,7 +20,7 @@ export default function Color(){
.
get
(
webUrel
)
.
get
(
webUrel
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
setData
(
response
.
data
);
setData
(
response
.
data
);
console
.
log
(
response
.
data
);
//
console.log(response.data);
})
})
.
catch
((
err
)
=>
{
.
catch
((
err
)
=>
{
setNotify
({
setNotify
({
...
...
frontend/src/screen/home.js
View file @
512afb6a
...
@@ -19,6 +19,13 @@ export default function Home({ navigation }){
...
@@ -19,6 +19,13 @@ export default function Home({ navigation }){
resizeMode
=
"
contain
"
><
/Image
>
resizeMode
=
"
contain
"
><
/Image
>
<
ImageButton
path
=
"
Color
"
title
=
"
Color Activity
"
/>
<
ImageButton
path
=
"
Color
"
title
=
"
Color Activity
"
/>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
imageView
}
>
<
Image
style
=
{
styles
.
image
}
source
=
{
require
(
'
../assets/color/background.png
'
)}
resizeMode
=
"
contain
"
><
/Image
>
<
ImageButton
path
=
"
Read
"
title
=
"
Read Activity
"
/>
<
/View
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
imageContainer
}
>
<
View
style
=
{
styles
.
imageContainer
}
>
<
View
style
=
{
styles
.
imageView
}
>
<
View
style
=
{
styles
.
imageView
}
>
...
@@ -26,7 +33,7 @@ export default function Home({ navigation }){
...
@@ -26,7 +33,7 @@ export default function Home({ navigation }){
style
=
{
styles
.
image
}
style
=
{
styles
.
image
}
source
=
{
require
(
'
../assets/color/background.png
'
)}
source
=
{
require
(
'
../assets/color/background.png
'
)}
resizeMode
=
"
contain
"
><
/Image
>
resizeMode
=
"
contain
"
><
/Image
>
<
ImageButton
path
=
"
Read
"
title
=
"
Read Activity
"
/>
<
ImageButton
path
=
"
Progress
"
title
=
"
Progress Chack
"
/>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
<
/ScrollView
>
<
/ScrollView
>
...
...
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