Commit ebf20096 authored by Malsha Jayakody's avatar Malsha Jayakody

changes in UI

parent 50353b07
...@@ -165,7 +165,7 @@ const MainDetailsForm = ({navigation}) => { ...@@ -165,7 +165,7 @@ const MainDetailsForm = ({navigation}) => {
marginBottom: 20, marginBottom: 20,
color: COLORS.black, color: COLORS.black,
}}> }}>
Family Background: Current Situation of Family Background:
</Text> </Text>
<View style={styles.radioContainer}> <View style={styles.radioContainer}>
{familyBackgroundOptions.map(item => ( {familyBackgroundOptions.map(item => (
...@@ -192,7 +192,7 @@ const MainDetailsForm = ({navigation}) => { ...@@ -192,7 +192,7 @@ const MainDetailsForm = ({navigation}) => {
marginBottom: 20, marginBottom: 20,
color: COLORS.black, color: COLORS.black,
}}> }}>
Previous Child Birth Experiences: No of Previous Child Births:
</Text> </Text>
<TextInput <TextInput
style={{ style={{
......
...@@ -166,7 +166,7 @@ const MainDetailsFormInSinhala = ({navigation}) => { ...@@ -166,7 +166,7 @@ const MainDetailsFormInSinhala = ({navigation}) => {
marginBottom: 20, marginBottom: 20,
color: COLORS.black, color: COLORS.black,
}}> }}>
පවුල් පසුබිම: වත්මන් පවුල් පසුබිම් තත්ත්වය:
</Text> </Text>
<View style={styles.radioContainer}> <View style={styles.radioContainer}>
{familyBackgroundOptions.map(item => ( {familyBackgroundOptions.map(item => (
......
...@@ -24,39 +24,46 @@ const QuizOptionsPage = ({navigation}) => { ...@@ -24,39 +24,46 @@ const QuizOptionsPage = ({navigation}) => {
<View style={{padding: 25}}> <View style={{padding: 25}}>
<View <View
style={{ style={{
justifyContent: 'center',
alignItems: 'center', alignItems: 'center',
display: 'flex', textAlign: 'center',
}}> }}>
<Text <Text
style={{ style={{
display: 'flex',
color: COLORS.navyBlue, color: COLORS.navyBlue,
fontSize: 20, fontSize: 22,
fontWeight: 'bold', fontWeight: 'bold',
marginBottom: 25, marginBottom: 25,
fontFamily: 'monospace',
textAlign: 'center',
}}> }}>
The Edinburgh Postnatal Depression {' '}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We can improve your mental well-being...
Scale (EDPS)
</Text> </Text>
</View> </View>
<View <View
style={{ style={{
justifyContent: 'center', alignItems: 'center',
padding: 10, padding: 10,
}}> }}>
<Text <Text
style={{ style={{
color: 'black', color: 'black',
fontSize: 14, fontSize: 18,
fontWeight: 'bold',
fontFamily: 'monospace',
textAlign: 'center',
}}>
Try with Us & Have a fun
</Text>
<Text
style={{
color: 'black',
fontSize: 18,
fontWeight: 'bold', fontWeight: 'bold',
textAlign: 'justify', fontFamily: 'monospace',
textAlign: 'center',
}}> }}>
The questionnaire below is called the Edinburgh Postnatal Play Games & Enjoy your time
Depression Scale (EDPS) The EDPS was developed to identify women
who may have postpartum depression. Each answer is given a score
of 0 to 3 . The maximum score is 30.
</Text> </Text>
</View> </View>
<View <View
...@@ -67,10 +74,28 @@ const QuizOptionsPage = ({navigation}) => { ...@@ -67,10 +74,28 @@ const QuizOptionsPage = ({navigation}) => {
<Text <Text
style={{ style={{
color: 'black', color: 'black',
fontSize: 18, fontSize: 16,
fontWeight: 'bold',
marginTop: 30,
textAlign: 'center',
fontFamily: 'monospace',
}}>
Please give answers for this small questionnaire
</Text>
</View>
<View
style={{
justifyContent: 'center',
alignItems: 'center',
}}>
<Text
style={{
color: 'black',
fontSize: 16,
fontWeight: 'bold', fontWeight: 'bold',
marginTop: 40, marginTop: 40,
textAlign: 'justify', textAlign: 'center',
fontFamily: 'monospace',
}}> }}>
Select Your Prefered Option to Answer Select Your Prefered Option to Answer
</Text> </Text>
...@@ -133,7 +158,7 @@ const styles = StyleSheet.create({ ...@@ -133,7 +158,7 @@ const styles = StyleSheet.create({
}, },
bottomView: { bottomView: {
flex: 2, flex: 2,
backgroundColor: '#FFE6EB', backgroundColor: '#FFC0D9',
}, },
}); });
......
...@@ -71,7 +71,7 @@ const WelcomePageGame = ({navigation}) => { ...@@ -71,7 +71,7 @@ const WelcomePageGame = ({navigation}) => {
color: COLORS.black, color: COLORS.black,
fontWeight: 'bold', fontWeight: 'bold',
}}> }}>
Bad moments don't make bad mamas. Taking care of your mental helath is an act of self-love
</Text> </Text>
</View> </View>
<View style={{marginTop: 1}}> <View style={{marginTop: 1}}>
...@@ -93,7 +93,7 @@ const WelcomePageGame = ({navigation}) => { ...@@ -93,7 +93,7 @@ const WelcomePageGame = ({navigation}) => {
medium medium
center center
style={{color: 'white', fontSize: 24, fontWeight: 'bold'}}> style={{color: 'white', fontSize: 24, fontWeight: 'bold'}}>
Start Let Us Help You
</Text> </Text>
</TouchableOpacity> </TouchableOpacity>
</View> </View>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment