Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasetya Saputra
clone_excelso
Commits
e00e4537
Commit
e00e4537
authored
May 18, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://repo.cs.co.id:2222/wahyu/bahanoprek
parents
34aef581
7badcbe9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
10 deletions
+15
-10
Auth.js
view/Auth.js
+3
-5
Login.js
view/Login.js
+1
-1
WelcomeLog.js
view/WelcomeLog.js
+2
-2
WelcomeReg.js
view/WelcomeReg.js
+9
-2
No files found.
view/Auth.js
View file @
e00e4537
...
@@ -145,12 +145,7 @@ class Auth extends React.Component {
...
@@ -145,12 +145,7 @@ class Auth extends React.Component {
<>
<>
<
Stack
.
Screen
name
=
"Login"
component
=
{
Login
}
options
=
{{
headerShown
:
false
}}
/
>
<
Stack
.
Screen
name
=
"Login"
component
=
{
Login
}
options
=
{{
headerShown
:
false
}}
/
>
<
Stack
.
Screen
name
=
"Login Welcome"
component
=
{
WelcomeLog
}
options
=
{{
headerShown
:
false
,
}}
/
>
<
Stack
.
Screen
name
=
"Home"
component
=
{
Home
}
/
>
<
Stack
.
Screen
name
=
"Home"
component
=
{
Home
}
/
>
<
Stack
.
Screen
name
=
"Profile"
component
=
{
ProfilePage
}
options
=
{{
<
Stack
.
Screen
name
=
"Profile"
component
=
{
ProfilePage
}
options
=
{{
headerStyle
:
{
backgroundColor
:
'#CFB368'
},
headerStyle
:
{
backgroundColor
:
'#CFB368'
},
headerTitleContainerStyle
:
{
alignContent
:
'center'
},
headerTitleContainerStyle
:
{
alignContent
:
'center'
},
...
@@ -205,6 +200,9 @@ class Auth extends React.Component {
...
@@ -205,6 +200,9 @@ class Auth extends React.Component {
<
/
>
<
/
>
)
:
(
)
:
(
<>
<>
<
Stack
.
Screen
name
=
"Login Welcome"
component
=
{
WelcomeLog
}
options
=
{{
headerShown
:
false
,
}}
/
>
<
Stack
.
Screen
name
=
"Home"
component
=
{
HomePage
}
<
Stack
.
Screen
name
=
"Home"
component
=
{
HomePage
}
options
=
{{
options
=
{{
headerShown
:
false
,
headerShown
:
false
,
...
...
view/Login.js
View file @
e00e4537
...
@@ -138,7 +138,7 @@ class Login extends React.Component {
...
@@ -138,7 +138,7 @@ class Login extends React.Component {
index
:
0
,
index
:
0
,
routes
:
[
routes
:
[
{
{
name
:
'
H
ome'
,
name
:
'
LoginWelc
ome'
,
params
:
{
someParam
:
'Param1'
},
params
:
{
someParam
:
'Param1'
},
},
},
],
],
...
...
view/WelcomeLog.js
View file @
e00e4537
...
@@ -6,7 +6,7 @@ export default class WelcomeLog extends React.Component {
...
@@ -6,7 +6,7 @@ export default class WelcomeLog extends React.Component {
constructor
(
props
)
{
constructor
(
props
)
{
super
(
props
);
super
(
props
);
this
.
state
=
({
this
.
state
=
({
spinner
:
''
spinner
:
false
})
})
}
}
...
@@ -38,7 +38,7 @@ export default class WelcomeLog extends React.Component {
...
@@ -38,7 +38,7 @@ export default class WelcomeLog extends React.Component {
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
v_policy
}
>
<
View
style
=
{
styles
.
v_policy
}
>
<
View
style
=
{{
flex
:
1
,
height
:
50
,
marginRight
:
70
,
marginLeft
:
70
,
justifyContent
:
'center'
}}
>
<
View
style
=
{{
flex
:
1
,
height
:
50
,
marginRight
:
70
,
marginLeft
:
70
,
justifyContent
:
'center'
}}
>
<
TouchableOpacity
onPress
=
{()
=>
navigation
.
reset
({
<
TouchableOpacity
onPress
=
{()
=>
this
.
props
.
navigation
.
reset
({
index
:
0
,
index
:
0
,
routes
:
[
routes
:
[
{
{
...
...
view/WelcomeReg.js
View file @
e00e4537
...
@@ -7,7 +7,7 @@ export default class Welcome extends React.Component {
...
@@ -7,7 +7,7 @@ export default class Welcome extends React.Component {
constructor
(
props
)
{
constructor
(
props
)
{
super
(
props
);
super
(
props
);
this
.
state
=
({
this
.
state
=
({
spinner
:
''
spinner
:
false
})
})
}
}
...
@@ -39,7 +39,14 @@ export default class Welcome extends React.Component {
...
@@ -39,7 +39,14 @@ export default class Welcome extends React.Component {
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
v_policy
}
>
<
View
style
=
{
styles
.
v_policy
}
>
<
View
style
=
{{
flex
:
1
,
height
:
50
,
marginRight
:
70
,
marginLeft
:
70
,
justifyContent
:
'center'
}}
>
<
View
style
=
{{
flex
:
1
,
height
:
50
,
marginRight
:
70
,
marginLeft
:
70
,
justifyContent
:
'center'
}}
>
<
TouchableOpacity
onPress
=
{()
=>
this
.
props
.
navigation
.
navigate
(
'Login'
)}
>
<
TouchableOpacity
onPress
=
{()
=>
this
.
props
.
navigation
.
reset
({
index
:
0
,
routes
:
[
{
name
:
'Login'
,
},
],
})}
>
<
View
style
=
{{
height
:
50
,
borderRadius
:
20
,
backgroundColor
:
'#CFB368'
}}
>
<
View
style
=
{{
height
:
50
,
borderRadius
:
20
,
backgroundColor
:
'#CFB368'
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'black'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
15
}}
>
NEXT
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'black'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
15
}}
>
NEXT
<
/Text
>
<
/View
>
<
/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