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
f47c67d1
Commit
f47c67d1
authored
May 01, 2022
by
Lihinikaduwa D.N.R.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed some component
parent
a84dab60
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
frontend/src/router/router.js
frontend/src/router/router.js
+2
-2
frontend/src/screen/Start.js
frontend/src/screen/Start.js
+3
-3
frontend/src/screen/profile.js
frontend/src/screen/profile.js
+1
-1
frontend/src/screen/sideMenu.js
frontend/src/screen/sideMenu.js
+4
-4
No files found.
frontend/src/router/router.js
View file @
f47c67d1
...
...
@@ -3,11 +3,11 @@ 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
'
;
import
Splash
from
'
../screen/splash/
s
plash
'
;
import
Splash
from
'
../screen/splash/
S
plash
'
;
import
Color
from
'
../screen/Color
'
;
import
Blue
from
'
../screen/activity/Blue
'
;
import
Blue2
from
'
../screen/activity/Blue2
'
;
...
...
frontend/src/screen/Start.js
View file @
f47c67d1
...
...
@@ -4,9 +4,9 @@ import { NavigationContainer } from "@react-navigation/native";
import
{
createDrawerNavigator
,
DrawerItem
}
from
"
@react-navigation/drawer
"
;
import
FontAwesome5
from
'
react-native-vector-icons/FontAwesome5
'
;
import
Home
from
"
./
h
ome
"
;
import
profile
from
"
./
p
rofile
"
;
import
report
from
"
./
r
eport
"
;
import
Home
from
"
./
H
ome
"
;
import
profile
from
"
./
P
rofile
"
;
import
report
from
"
./
R
eport
"
;
import
Login
from
"
./auth/Login
"
;
const
Drawer
=
createDrawerNavigator
();
...
...
frontend/src/screen/profile.js
View file @
f47c67d1
import
React
from
"
react
"
;
import
{
StyleSheet
,
View
,
Text
,
Pressable
}
from
'
react-native
'
;
export
default
function
pr
ofile
({
navigation
}){
export
default
function
P
ofile
({
navigation
}){
const
onPressHandler
=
()
=>
{
navigation
.
navigate
(
'
Start
'
);
...
...
frontend/src/screen/sideMenu.js
View file @
f47c67d1
...
...
@@ -8,8 +8,8 @@ import {
Image
,
}
from
"
react-native
"
;
import
home
from
"
./h
ome
"
;
import
profile
from
"
./p
rofile
"
;
import
Home
from
"
./H
ome
"
;
import
Profile
from
"
./P
rofile
"
;
import
{
NavigationContainer
}
from
"
@react-navigation/native
"
;
import
{
createDrawerNavigator
}
from
"
@react-navigation/drawer
"
;
...
...
@@ -22,11 +22,11 @@ function sideMenu(){
<
NavigationContainer
>
<
Drawer
.
Navigator
>
<
Drawer
.
Screen
name
=
"
home
"
component
=
{
h
ome
}
component
=
{
H
ome
}
/
>
<
Drawer
.
Screen
name
=
"
profile
"
component
=
{
p
rofile
}
component
=
{
P
rofile
}
/
>
<
/Drawer.Navigator
>
<
/NavigationContainer
>
...
...
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