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 @@
...
@@ -3,7 +3,7 @@
// Import React and Component
// Import React and Component
import
React
from
'
react
'
;
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
ImageSliderz
from
"
react-native-image-slideshow
"
;
import
{
import
{
AntDesign
,
AntDesign
,
...
@@ -18,8 +18,10 @@ export function HomeScreen({ navigation }) {
...
@@ -18,8 +18,10 @@ export function HomeScreen({ navigation }) {
return
(
return
(
<
View
style
=
{
styles
.
background
}
>
<
View
style
=
{
styles
.
background
}
>
<
ImageBackground
source
=
{
require
(
'
../assets/signin1.jpg
'
)}
style
=
{
styles
.
images
}
>
<
ImageSliderz
<
ImageSliderz
height
=
{
4
50
}
height
=
{
3
50
}
dataSource
=
{[
dataSource
=
{[
{
{
url
:
require
(
"
../assets/d.jpg
"
),
url
:
require
(
"
../assets/d.jpg
"
),
...
@@ -60,6 +62,7 @@ export function HomeScreen({ navigation }) {
...
@@ -60,6 +62,7 @@ export function HomeScreen({ navigation }) {
<
Text
style
=
{
styles
.
heading2
}
>
<
Text
style
=
{
styles
.
heading2
}
>
All
Right
Reserved
.
All
Right
Reserved
.
<
/Text
>
<
/Text
>
<
/ImageBackground
>
<
/View
>
<
/View
>
);
);
}
}
...
@@ -86,7 +89,7 @@ const styles = StyleSheet.create({
...
@@ -86,7 +89,7 @@ const styles = StyleSheet.create({
marginTop
:
25
,
marginTop
:
25
,
marginLeft
:
20
,
marginLeft
:
20
,
marginHorizontal
:
10
,
marginHorizontal
:
10
,
backgroundColor
:
"
#ff
8000
"
,
backgroundColor
:
"
#ff
426e
"
,
flexDirection
:
"
row
"
,
flexDirection
:
"
row
"
,
marginBottom
:
15
,
marginBottom
:
15
,
justifyContent
:
"
center
"
,
justifyContent
:
"
center
"
,
...
@@ -101,6 +104,10 @@ const styles = StyleSheet.create({
...
@@ -101,6 +104,10 @@ const styles = StyleSheet.create({
background
:{
background
:{
backgroundColor
:
'
#bababa
'
,
backgroundColor
:
'
#bababa
'
,
height
:
'
100%
'
height
:
'
100%
'
}
},
images
:
{
height
:
'
100%
'
,
justifyContent
:
'
center
'
}
});
});
screen/PriceScreen.js
View file @
ad7284ac
...
@@ -16,12 +16,7 @@ export function PriceScreen({ navigation, data }) {
...
@@ -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 style={styles.inContainer}>
<View ><Text style={styles.heading}>User Profile</Text></View>
<View ><Text style={styles.heading}>User Profile</Text></View>
<View style={styles.iconStyle}>
<View style={styles.iconStyle}>
...
@@ -60,8 +55,15 @@ export function PriceScreen({ navigation, data }) {
...
@@ -60,8 +55,15 @@ export function PriceScreen({ navigation, data }) {
</View>
</View>
</View>
</View>
</ImageBackground> */
}
</ImageBackground> */
}
<
ImageBackground
source
=
{
require
(
'
../assets/signin1.jpg
'
)}
style
=
{
styles
.
images
}
>
<
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
.
secondContainer
}
>
<
View
style
=
{
styles
.
SectionStyle
}
>
<
View
style
=
{
styles
.
SectionStyle
}
>
{
/* <Text style={styles.text}>
{
/* <Text style={styles.text}>
...
@@ -116,13 +118,13 @@ export function PriceScreen({ navigation, data }) {
...
@@ -116,13 +118,13 @@ export function PriceScreen({ navigation, data }) {
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
SectionStyle
}
>
<
View
style
=
{
styles
.
SectionStyle
}
>
<
View
style
=
{
styles
.
textinputicon
}
>
<
View
style
=
{
styles
.
textinputicon
}
>
<
Entypo
name
=
"
loc
k
"
size
=
{
30
}
color
=
"
white
"
/>
<
Entypo
name
=
"
loc
ation-pin
"
size
=
{
30
}
color
=
"
white
"
/>
<
TextInput
<
TextInput
style
=
{
styles
.
input1
}
style
=
{
styles
.
input1
}
// onChangeText={(UserPassword) =>
// onChangeText={(UserPassword) =>
// setUserPassword(UserPassword)
// setUserPassword(UserPassword)
// }
// }
placeholder
=
"
Enter
Password
"
//12345
placeholder
=
"
Enter
District
"
//12345
placeholderTextColor
=
"
#8b9cb5
"
placeholderTextColor
=
"
#8b9cb5
"
// ref={passwordInputRef}
// ref={passwordInputRef}
// onSubmitEditing={Keyboard.dismiss}
// onSubmitEditing={Keyboard.dismiss}
...
@@ -179,7 +181,7 @@ const styles = StyleSheet.create({
...
@@ -179,7 +181,7 @@ const styles = StyleSheet.create({
width
:
"
80%
"
,
width
:
"
80%
"
,
padding
:
10
,
padding
:
10
,
marginTop
:
30
,
marginTop
:
30
,
marginLeft
:
30
,
marginLeft
:
45
,
marginHorizontal
:
10
,
marginHorizontal
:
10
,
backgroundColor
:
"
#ff426e
"
,
backgroundColor
:
"
#ff426e
"
,
flexDirection
:
"
row
"
,
flexDirection
:
"
row
"
,
...
@@ -246,5 +248,8 @@ const styles = StyleSheet.create({
...
@@ -246,5 +248,8 @@ const styles = StyleSheet.create({
// marginBottom: 10,
// marginBottom: 10,
justifyContent
:
"
center
"
,
justifyContent
:
"
center
"
,
borderRadius
:
8
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({
...
@@ -128,7 +128,7 @@ const styles = StyleSheet.create({
marginTop
:
60
,
marginTop
:
60
,
marginLeft
:
30
,
marginLeft
:
30
,
marginHorizontal
:
10
,
marginHorizontal
:
10
,
backgroundColor
:
"
#ff8000
"
,
backgroundColor
:
"
yellow
"
,
flexDirection
:
"
row
"
,
flexDirection
:
"
row
"
,
marginBottom
:
10
,
marginBottom
:
10
,
justifyContent
:
"
center
"
,
justifyContent
:
"
center
"
,
...
...
screen/gamification.js
View file @
ad7284ac
...
@@ -125,7 +125,7 @@ const styles = StyleSheet.create({
...
@@ -125,7 +125,7 @@ const styles = StyleSheet.create({
textdata
:{
textdata
:{
fontSize
:
18
,
fontSize
:
18
,
textAlign
:
'
center
'
,
textAlign
:
'
center
'
,
color
:
'
#ff8000
'
,
color
:
'
black
'
,
marginTop
:
20
,
marginTop
:
20
,
marginBottom
:
5
,
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