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
c9ebca6a
Commit
c9ebca6a
authored
Jan 07, 2022
by
W.D.R.P. Sandeepa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some change
parent
efe38537
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 @
c9ebca6a
...
...
@@ -15,7 +15,7 @@ const Stack = createNativeStackNavigator();
const
AppRouter
=
()
=>
{
return
(
<
NavigationContainer
>
<
Stack
.
Navigator
initialRouteName
=
"
S
tart
"
>
<
Stack
.
Navigator
initialRouteName
=
"
S
plash
"
>
<
Stack
.
Screen
options
=
{{
headerShown
:
false
}}
name
=
"
Home
"
...
...
frontend/src/screen/Color.js
View file @
c9ebca6a
...
...
@@ -20,7 +20,7 @@ export default function Color(){
.
get
(
webUrel
)
.
then
((
response
)
=>
{
setData
(
response
.
data
);
console
.
log
(
response
.
data
);
//
console.log(response.data);
})
.
catch
((
err
)
=>
{
setNotify
({
...
...
frontend/src/screen/home.js
View file @
c9ebca6a
...
...
@@ -19,6 +19,13 @@ export default function Home({ navigation }){
resizeMode
=
"
contain
"
><
/Image
>
<
ImageButton
path
=
"
Color
"
title
=
"
Color Activity
"
/>
<
/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
style
=
{
styles
.
imageContainer
}
>
<
View
style
=
{
styles
.
imageView
}
>
...
...
@@ -26,7 +33,7 @@ export default function Home({ navigation }){
style
=
{
styles
.
image
}
source
=
{
require
(
'
../assets/color/background.png
'
)}
resizeMode
=
"
contain
"
><
/Image
>
<
ImageButton
path
=
"
Read
"
title
=
"
Read Activity
"
/>
<
ImageButton
path
=
"
Progress
"
title
=
"
Progress Chack
"
/>
<
/View
>
<
/View
>
<
/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