-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSettingsPage.js
105 lines (94 loc) · 2.96 KB
/
SettingsPage.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
import React, { useState } from 'react';
import { View, Text, StyleSheet, ScrollView, SafeAreaView } from 'react-native';
import { Ionicons } from '@expo/vector-icons';
import { ExpandableListView } from 'react-native-expandable-listview';
const CONTENT = [
{
id: "1",
categoryName: "About",
subCategory: [
{
id: "2",
name: "About Pocket Jesus"
}
]
}
]
function SettingsPage() {
return (
<SafeAreaView style={{ flex: 1, justifyContent: 'space-between' }}>
<ScrollView style={styles.container}>
{/* <ExpandableListView
data={CONTENT}
chevronColor="black"
/> */}
<View style={styles.titleView}>
<Text style={styles.title}>
Pocket Jesus
</Text>
</View>
<View
style={{
borderBottomColor: 'black',
borderBottomWidth: 1.5,
marginHorizontal: -20
}}
/>
<View style={styles.translationContainer}>
<Text style={{ fontSize: 20 }}>Translation: </Text>
<Text style={styles.translationText}>World English Bible</Text>
</View>
<Text style={{ fontSize: 30 }}>About</Text>
<Text style={styles.description}>
Pocket Jesus is a mobile app that keeps Jesus's sayings in your pocket.
Get a daily notification with a random saying, or browse bible verses straight from your phone.
</Text>
{/* <Text style={styles.aboutText}>
This app will always be free. I will never run ads on Pocket Jesus.
That being said, if you would like to support my work you can Venmo me @Eli-Gooch-2 :)
</Text> */}
<View style={styles.copyrightView}>
<Text style={styles.copyright}>Eli Gooch 2023</Text>
</View>
</ScrollView>
</SafeAreaView>
);
}
const styles = StyleSheet.create({
container: {
flexGrow: 1,
paddingTop: Platform.OS === "android" ? StatusBar.currentHeight : 0,
paddingHorizontal: 10,
},
titleView: {
alignItems: 'center'
},
title: {
fontSize: 36
},
aboutText: {
fontSize: 20
},
description: {
fontSize: 20
},
copyrightView: {
marginTop: 20,
alignItems: "center",
justifyContent: 'flex-end'
},
copyright: {
fontSize: 20
},
translationContainer: {
flexDirection: "row",
justifyContent: 'space-between',
paddingTop: 20,
paddingBottom: 10
},
translationText: {
fontSize: 20,
color: 'gray'
}
})
export default SettingsPage;