-
Notifications
You must be signed in to change notification settings - Fork 0
/
About.js
95 lines (91 loc) · 2.45 KB
/
About.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
import React from "react";
import {
View,
Text,
Button,
Image,
StyleSheet,
TouchableOpacity,
SafeAreaView,
ScrollView,
} from "react-native";
import { useNavigation } from "@react-navigation/native";
const AboutScreen = () => {
const navigation = useNavigation();
const handleBack = () => {
navigation.navigate("Home");
};
return (
<SafeAreaView style={styles.container}>
<View style={styles.containerIconHeading}>
<TouchableOpacity onPress={handleBack}>
<Image
source={require("./assets/images/arrow.png")}
style={{ width: 55, height: 55 }}
resizeMode="contain"
/>
</TouchableOpacity>
<Text style={styles.containerIconTitle}>About GTCD</Text>
</View>
<ScrollView>
<View>
<Image
source={require("./assets/images/image1.jpg")}
style={{ width: 355, height: 255 }}
resizeMode="contain"
/>
</View>
<View>
<View>
<Image
source={require("./assets/images/avatar.png")}
style={{ borderRadius: 60, width: 60, height: 60 }}
/>
</View>
<Text style={styles.aboutHeading}>
Gabriel Taborin College of Davao
</Text>
<Text>
Gabriel Taborin College of Davao Foundation, Inc. is a private,
Catholic school located in Lasang, Davao City. It was established
through the Brothers of the Holy Family in 2001. {"\n"} {"\n"}The
school values fostering relationships among its members and aspires
to produce graduates who also value harmony within their community.
</Text>
<View>
<Image
source={require("./assets/images/image2.jpg")}
style={{ width: 355, height: 255 }}
resizeMode="contain"
/>
</View>
</View>
</ScrollView>
</SafeAreaView>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
marginTop: 45,
marginHorizontal: 15,
marginVertical: 10,
},
aboutHeading: {
fontSize: 24,
fontWeight: "600",
marginTop: 10,
marginBottom: 10,
},
containerIconHeading: {
flexDirection: "row",
alignItems: "center",
justifyContent: "space-between",
padding: 10,
},
containerIconTitle: {
fontSize: 20,
fontWeight: "600",
},
});
export default AboutScreen;