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
0d16e54b
Commit
0d16e54b
authored
Dec 15, 2021
by
W.D.R.P. Sandeepa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
register page design
parent
28caee26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
131 additions
and
0 deletions
+131
-0
frontend/src/auth/Register.js
frontend/src/auth/Register.js
+131
-0
No files found.
frontend/src/auth/Register.js
0 → 100644
View file @
0d16e54b
import
React
from
"
react
"
;
import
{
useNavigation
}
from
"
@react-navigation/native
"
;
import
{
SafeAreaView
,
ScrollView
,
View
,
StyleSheet
,
ImageBackground
,
Text
,
TextInput
,
TouchableOpacity
,
Image
}
from
"
react-native
"
;
const
Register
=
()
=>
{
const
navigation
=
useNavigation
();
return
(
<
SafeAreaView
>
<
ScrollView
>
<
View
style
=
{
styles
.
continer
}
>
<
ImageBackground
style
=
{
styles
.
backgroundImage
}
source
=
{
require
(
'
../../assets/login/login_background.png
'
)}
resizeMode
=
"
cover
"
>
<
View
>
<
Image
style
=
{
styles
.
logo
}
source
=
{
require
(
'
../../assets/login/logo.png
'
)}
resizeMode
=
"
contain
"
><
/Image
>
<
/View
>
<
View
elevation
=
{
5
}
style
=
{
styles
.
main_container
}
>
<
Text
style
=
{
styles
.
main_title
}
>
Sign
Up
<
/Text
>
<
View
style
=
{
styles
.
form_input
}
>
<
TextInput
style
=
{
styles
.
text_input
}
placeholder
=
"
Enter Email
"
><
/TextInput
>
<
/View
>
<
View
style
=
{
styles
.
form_input
}
>
<
TextInput
style
=
{
styles
.
text_input
}
placeholder
=
"
Enter Email
"
><
/TextInput
>
<
/View
>
<
View
style
=
{
styles
.
form_input
}
>
<
TextInput
keyboardType
=
"
visible-password
"
style
=
{
styles
.
text_input
}
placeholder
=
"
Enter Password
"
><
/TextInput
>
<
/View
>
<
View
style
=
{
styles
.
form_input
}
>
<
TextInput
keyboardType
=
"
visible-password
"
style
=
{
styles
.
text_input
}
placeholder
=
"
Enter Password
"
><
/TextInput
>
<
/View
>
<
View
style
=
{
styles
.
form_input
}
>
<
TouchableOpacity
onPress
=
{()
=>
{
navigation
.
navigate
(
"
Home
"
)}}
style
=
{
styles
.
btn
}
>
<
Text
style
=
{
styles
.
btn_text
}
>
Sign
Up
<
/Text
>
<
/TouchableOpacity
>
<
/View
>
<
View
style
=
{
styles
.
text_if
}
>
<
TouchableOpacity
onPress
=
{()
=>
{
navigation
.
navigate
(
"
Login
"
)}}
>
<
Text
style
=
{
styles
.
btn_text
}
>
If
you
have
an
account
?
Sign
In
<
/Text
>
<
/TouchableOpacity
>
<
/View
>
<
/View
>
<
/ImageBackground
>
<
/View
>
<
/ScrollView
>
<
/SafeAreaView
>
)
}
const
styles
=
StyleSheet
.
create
({
continer
:{
flex
:
1
},
backgroundImage
:{
width
:
'
100%
'
,
height
:
900
},
logo
:{
marginTop
:
70
,
marginLeft
:
50
,
width
:
'
80%
'
,
height
:
'
40%
'
},
main_container
:{
marginTop
:
-
190
,
marginLeft
:
30
,
width
:
350
,
height
:
610
,
backgroundColor
:
"
#ffffff
"
,
borderColor
:
'
#000000
'
,
borderRadius
:
50
,
shadowColor
:
"
#000000
"
,
shadowOpacity
:
0.8
,
shadowRadius
:
2
,
shadowOffset
:
{
height
:
1
,
width
:
1
},
},
main_title
:{
textAlign
:
'
center
'
,
fontSize
:
40
,
color
:
'
#000000
'
},
form_input
:{
marginTop
:
5
,
padding
:
20
,
},
text_input
:{
padding
:
15
,
fontSize
:
16
,
borderWidth
:
1
,
borderRadius
:
50
,
backgroundColor
:
'
#EDEDED
'
,
color
:
'
#000000
'
},
btn
:{
padding
:
15
,
borderRadius
:
50
,
backgroundColor
:
'
#1DCE92
'
,
width
:
150
,
textAlign
:
'
center
'
,
alignItems
:
'
center
'
,
marginLeft
:
80
},
btn_text
:{
fontSize
:
20
,
fontWeight
:
'
bold
'
,
color
:
'
#000000
'
},
text_if
:{
fontSize
:
20
,
fontWeight
:
'
bold
'
,
color
:
'
#000000
'
,
textAlign
:
'
center
'
,
alignItems
:
'
center
'
,
marginTop
:
10
}
})
export
default
Register
;
\ 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