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
fe514b49
Commit
fe514b49
authored
Dec 15, 2021
by
W.D.R.P. Sandeepa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
splash page design
parent
0d16e54b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
0 deletions
+27
-0
frontend/src/screen/auth/Forgot.js
frontend/src/screen/auth/Forgot.js
+0
-0
frontend/src/screen/auth/Login.js
frontend/src/screen/auth/Login.js
+0
-0
frontend/src/screen/auth/Register.js
frontend/src/screen/auth/Register.js
+0
-0
frontend/src/screen/splash/splash.js
frontend/src/screen/splash/splash.js
+27
-0
No files found.
frontend/src/screen/auth/Forgot.js
0 → 100644
View file @
fe514b49
frontend/src/auth/Login.js
→
frontend/src/
screen/
auth/Login.js
View file @
fe514b49
File moved
frontend/src/auth/Register.js
→
frontend/src/
screen/
auth/Register.js
View file @
fe514b49
File moved
frontend/src/screen/splash/splash.js
0 → 100644
View file @
fe514b49
import
{
useNavigation
}
from
"
@react-navigation/native
"
;
import
React
,
{
useEffect
,
useState
}
from
"
react
"
;
import
{
Image
,
View
,
Text
}
from
"
react-native
"
;
const
Splash
=
()
=>
{
const
[
isGo
,
setIsGo
]
=
useState
(
true
);
const
Navigation
=
useNavigation
();
useEffect
(
()
=>
{
if
(
isGo
==
true
){
setTimeout
(()
=>
{
Navigation
.
navigate
(
"
Login
"
);
setIsGo
(
false
);
},
2000
);
}
})
return
(
<
View
style
=
{{
flex
:
1
,
justifyContent
:
'
center
'
,
alignItems
:
'
center
'
,
backgroundColor
:
'
#ffffff
'
}}
>
<
Text
style
=
{{
fontWeight
:
'
bold
'
,
fontSize
:
20
,
color
:
'
#000000
'
}}
>
Welcome
To
<
/Text
>
<
Image
source
=
{
require
(
'
../../assets/login/logo.png
'
)}
style
=
{{
width
:
250
,
height
:
100
}}
><
/Image
>
<
/View
>
)
}
export
default
Splash
;
\ No newline at end of file
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