-
Notifications
You must be signed in to change notification settings - Fork 0
/
Budget.js
111 lines (110 loc) · 2.88 KB
/
Budget.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
import React from 'react';
import { View, Text, Pressable } from 'react-native';
import config from '../config';
export default function Budget({ navigation }) {
return (
<View
style={{
flex: 1,
justifyContent: 'center',
backgroundColor: '#F4F3E8',
}}
>
<Text
style={{
justifyContent: 'flex-start',
fontSize: 35,
color: '#1B463C',
paddingLeft: config.deviceWidth * 0.1,
}}
>
Do you have a {'\n'}budget?
</Text>
<View
style={{
width: config.deviceWidth - 60,
paddingLeft: config.deviceWidth * 0.1,
height: config.deviceHeight / 2,
justifyContent: 'flex-start',
alignItems: 'left',
}}
>
<Pressable
style={{
backgroundColor: '#D9E7E4',
marginTop: config.deviceHeight / 16,
alignItems: 'center',
width: '40%',
height: 40,
justifyContent: 'center',
borderRadius: 25,
marginBottom: config.deviceHeight / 33,
}}
>
<Text style={{ color: '#1B463C' }}>$8 - $15</Text>
</Pressable>
<Pressable
style={{
backgroundColor: '#D9E7E4',
alignItems: 'center',
width: '40%',
height: 40,
justifyContent: 'center',
borderRadius: 25,
marginBottom: config.deviceHeight / 33,
}}
>
<Text style={{ color: '#1B463C' }}>$15 - $25</Text>
</Pressable>
<Pressable
style={{
backgroundColor: '#D9E7E4',
alignItems: 'center',
color: '#FFFFFF',
width: '40%',
height: 40,
justifyContent: 'center',
borderRadius: 25,
marginBottom: config.deviceHeight / 33,
}}
>
<Text>$25 - $35</Text>
</Pressable>
<Pressable
style={{
backgroundColor: '#D9E7E4',
alignItems: 'center',
color: '#FFFFFF',
width: '40%',
height: 40,
justifyContent: 'center',
borderRadius: 25,
marginBottom: config.deviceHeight / 33,
}}
>
<Text>$35 - $45</Text>
</Pressable>
</View>
<View
style={{
alignItems: 'center',
}}
>
<Pressable
onPress={() => navigation.navigate('Curating')}
style={{
backgroundColor: '#1B463C',
alignItems: 'center',
color: '#FFFFFF',
width: '80%',
height: 50,
justifyContent: 'center',
borderRadius: 25,
}}
>
<Text style={{ color: '#FFFFFF' }}>Continue</Text>
</Pressable>
</View>
</View>
);
}