Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-090 frontend
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
2021-090
2021-090 frontend
Commits
ad7284ac
Commit
ad7284ac
authored
Aug 03, 2021
by
IT18111170-Silva S.H.I
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor UI updates
parent
146e53b9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
15 deletions
+27
-15
screen/HomeScreen.js
screen/HomeScreen.js
+11
-4
screen/PriceScreen.js
screen/PriceScreen.js
+14
-9
screen/SignUp.js
screen/SignUp.js
+1
-1
screen/gamification.js
screen/gamification.js
+1
-1
No files found.
screen/HomeScreen.js
View file @
ad7284ac
...
...
@@ -3,7 +3,7 @@
// Import React and Component
import
React
from
'
react
'
;
import
{
StyleSheet
,
View
,
Text
,
TouchableOpacity
}
from
"
react-native
"
;
import
{
StyleSheet
,
View
,
Text
,
TouchableOpacity
,
ImageBackground
}
from
"
react-native
"
;
import
ImageSliderz
from
"
react-native-image-slideshow
"
;
import
{
AntDesign
,
...
...
@@ -18,8 +18,10 @@ export function HomeScreen({ navigation }) {
return
(
<
View
style
=
{
styles
.
background
}
>
<
ImageBackground
source
=
{
require
(
'
../assets/signin1.jpg
'
)}
style
=
{
styles
.
images
}
>
<
ImageSliderz
height
=
{
4
50
}
height
=
{
3
50
}
dataSource
=
{[
{
url
:
require
(
"
../assets/d.jpg
"
),
...
...
@@ -60,6 +62,7 @@ export function HomeScreen({ navigation }) {
<
Text
style
=
{
styles
.
heading2
}
>
All
Right
Reserved
.
<
/Text
>
<
/ImageBackground
>
<
/View
>
);
}
...
...
@@ -86,7 +89,7 @@ const styles = StyleSheet.create({
marginTop
:
25
,
marginLeft
:
20
,
marginHorizontal
:
10
,
backgroundColor
:
"
#ff
8000
"
,
backgroundColor
:
"
#ff
426e
"
,
flexDirection
:
"
row
"
,
marginBottom
:
15
,
justifyContent
:
"
center
"
,
...
...
@@ -101,6 +104,10 @@ const styles = StyleSheet.create({
background
:{
backgroundColor
:
'
#bababa
'
,
height
:
'
100%
'
}
},
images
:
{
height
:
'
100%
'
,
justifyContent
:
'
center
'
}
});
screen/PriceScreen.js
View file @
ad7284ac
...
...
@@ -16,12 +16,7 @@ export function PriceScreen({ navigation, data }) {
<View style={styles.editUSer}>
<TouchableOpacity>
<FontAwesome5 name="user-edit" size={30} color="black" />
</TouchableOpacity>
</View>
<View style={styles.inContainer}>
<View ><Text style={styles.heading}>User Profile</Text></View>
<View style={styles.iconStyle}>
...
...
@@ -60,8 +55,15 @@ export function PriceScreen({ navigation, data }) {
</View>
</View>
</ImageBackground> */
}
<
ImageBackground
source
=
{
require
(
'
../assets/signin1.jpg
'
)}
style
=
{
styles
.
images
}
>
<
View
style
=
{
styles
.
editUSer
}
>
<
TouchableOpacity
>
<
FontAwesome5
name
=
"
user-edit
"
size
=
{
30
}
color
=
"
black
"
/>
<
/TouchableOpacity
>
<
/View
>
<
View
style
=
{
styles
.
secondContainer
}
>
<
View
style
=
{
styles
.
SectionStyle
}
>
{
/* <Text style={styles.text}>
...
...
@@ -116,13 +118,13 @@ export function PriceScreen({ navigation, data }) {
<
/View
>
<
View
style
=
{
styles
.
SectionStyle
}
>
<
View
style
=
{
styles
.
textinputicon
}
>
<
Entypo
name
=
"
loc
k
"
size
=
{
30
}
color
=
"
white
"
/>
<
Entypo
name
=
"
loc
ation-pin
"
size
=
{
30
}
color
=
"
white
"
/>
<
TextInput
style
=
{
styles
.
input1
}
// onChangeText={(UserPassword) =>
// setUserPassword(UserPassword)
// }
placeholder
=
"
Enter
Password
"
//12345
placeholder
=
"
Enter
District
"
//12345
placeholderTextColor
=
"
#8b9cb5
"
// ref={passwordInputRef}
// onSubmitEditing={Keyboard.dismiss}
...
...
@@ -179,7 +181,7 @@ const styles = StyleSheet.create({
width
:
"
80%
"
,
padding
:
10
,
marginTop
:
30
,
marginLeft
:
30
,
marginLeft
:
45
,
marginHorizontal
:
10
,
backgroundColor
:
"
#ff426e
"
,
flexDirection
:
"
row
"
,
...
...
@@ -246,5 +248,8 @@ const styles = StyleSheet.create({
// marginBottom: 10,
justifyContent
:
"
center
"
,
borderRadius
:
8
},
editUSer
:{
alignSelf
:
"
flex-end
"
}
});
\ No newline at end of file
screen/SignUp.js
View file @
ad7284ac
...
...
@@ -128,7 +128,7 @@ const styles = StyleSheet.create({
marginTop
:
60
,
marginLeft
:
30
,
marginHorizontal
:
10
,
backgroundColor
:
"
#ff8000
"
,
backgroundColor
:
"
yellow
"
,
flexDirection
:
"
row
"
,
marginBottom
:
10
,
justifyContent
:
"
center
"
,
...
...
screen/gamification.js
View file @
ad7284ac
...
...
@@ -125,7 +125,7 @@ const styles = StyleSheet.create({
textdata
:{
fontSize
:
18
,
textAlign
:
'
center
'
,
color
:
'
#ff8000
'
,
color
:
'
black
'
,
marginTop
:
20
,
marginBottom
:
5
,
...
...
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