diff --git a/src/Components/About/aboutCards.js b/src/Components/About/aboutCards.js
new file mode 100644
index 0000000..38044bf
--- /dev/null
+++ b/src/Components/About/aboutCards.js
@@ -0,0 +1,75 @@
+import React from "react"
+import { View, StyleSheet, Text, Linking } from "react-native"
+import Icon from "react-native-vector-icons/FontAwesome"
+import { Avatar } from "react-native-elements"
+import LinearGradient from "react-native-linear-gradient"
+
+const aboutCards = props => {
+ const { name, desc, avatar, socialMedia } = props
+
+ const openURL = url => {
+ Linking.openURL(url)
+ }
+
+ return (
+
+
+
+ {name}
+ {desc}
+
+ openURL(socialMedia.twitter)}
+ />
+ openURL(socialMedia.github)}
+ />
+
+
+
+ )
+}
+
+const styles = StyleSheet.create({
+ cardView: {
+ elevation: 1,
+ backgroundColor: "#fff",
+ borderRadius: 10,
+ paddingTop: 10,
+ paddingBottom: 10,
+ paddingLeft: 10,
+ marginLeft: 30,
+ marginRight: 30,
+ marginBottom: 15,
+ flexDirection: "row"
+ },
+ iconView: {
+ flexDirection: "row"
+ },
+ cardViewText: {
+ marginLeft: 10
+ },
+ titleTextStyle: {
+ fontSize: 20,
+ fontFamily: "OpenSans",
+ color: "#999295"
+ },
+ bodyTextStyle: {
+ fontSize: 14,
+ fontFamily: "OpenSans",
+ color: "#999295"
+ }
+})
+
+export default aboutCards
diff --git a/src/Components/About/aboutHeader.js b/src/Components/About/aboutHeader.js
new file mode 100644
index 0000000..754e64b
--- /dev/null
+++ b/src/Components/About/aboutHeader.js
@@ -0,0 +1,54 @@
+import React from "react"
+
+import { View, StyleSheet, Text, TouchableOpacity } from "react-native"
+import { Icon } from "react-native-elements"
+
+const aboutHeader = props => {
+ return (
+
+
+ {
+ const { navigation } = props
+ navigation.navigate("SettingsScreen")
+ }}
+ hitSlop={{ top: 20, bottom: 20, left: 20, right: 20 }}
+ >
+
+
+ Sobre
+
+
+ )
+}
+
+const styles = StyleSheet.create({
+ header: {
+ backgroundColor: "#fff",
+ elevation: 5,
+ marginTop: 0,
+ fontFamily: "OpenSans"
+ },
+ headerContent: {
+ backgroundColor: "#fff",
+ marginBottom: 15,
+ marginTop: 15,
+ marginLeft: 15,
+ marginRight: 10,
+ flexDirection: "row"
+ },
+ backButton: {
+ justifyContent: "center"
+ },
+ languagesInfo: {
+ flex: 1,
+ fontSize: 22,
+ textAlign: "center",
+ backgroundColor: "#fff",
+ marginLeft: 20,
+ paddingRight: 20
+ }
+})
+
+export default aboutHeader
\ No newline at end of file
diff --git a/src/Components/Config/configBody.js b/src/Components/Config/configBody.js
index b8d2aae..62082c9 100644
--- a/src/Components/Config/configBody.js
+++ b/src/Components/Config/configBody.js
@@ -130,7 +130,12 @@ export default class configBody extends Component {
Política de Privacidade
-
+ {
+ navigation.navigate("AboutScreen")
+ }}
+ >
Sobre
diff --git a/src/Screens/About/about.js b/src/Screens/About/about.js
new file mode 100644
index 0000000..ca6eba3
--- /dev/null
+++ b/src/Screens/About/about.js
@@ -0,0 +1,138 @@
+import React from "react"
+import {
+ View,
+ StyleSheet,
+ Text,
+ TouchableOpacity,
+ Image,
+ ScrollView,
+ Linking
+} from "react-native"
+import AboutHeader from "~/Components/About/aboutHeader"
+import AboutCards from "~/Components/About/aboutCards"
+
+const aboutScreen = props => {
+ const { navigation } = props
+
+ const openURL = url => {
+ Linking.openURL(url)
+ }
+
+ const devCards = [
+ {
+ id: "1",
+ name: "José Chaves",
+ desc: "Cara que fez (quase) tudo",
+ avatar: require("../../assets/imgs/dev_profiles/neto.jpeg"),
+ socialMedia: {
+ twitter: "https://twitter.com/dctlol",
+ github: "https://github.com/netochaves"
+ }
+ },
+ {
+ id: "2",
+ name: "João Pedro",
+ desc: "Só ajudou mesmo",
+ avatar: require("../../assets/imgs/dev_profiles/jpe.jpeg"),
+ socialMedia: {
+ twitter: "https://twitter.com/",
+ github: "https://github.com/sosolidkk"
+ }
+ },
+ {
+ id: "3",
+ name: "Max Nícolas",
+ desc: "100% estresse",
+ avatar: require("../../assets/imgs/dev_profiles/max.jpeg"),
+ socialMedia: {
+ twitter: "https://twitter.com/Mex978",
+ github: "https://github.com/Mex978"
+ }
+ },
+ {
+ id: "4",
+ name: "Evandro Monte",
+ desc: "Foi o último team leader",
+ avatar: require("../../assets/imgs/dev_profiles/evandro.jpeg"),
+ socialMedia: {
+ twitter: "https://twitter.com/",
+ github: "https://github.com/mrvan04"
+ }
+ }
+ ]
+
+ return (
+
+
+
+ Unichat
+ Versão 0.3.0
+
+ 2019 Unichat Inc.
+
+ openURL("https://github.com/ES2-UFPI/Unichat/blob/master/LICENSE")
+ }
+ >
+ Licença
+
+
+
+ Créditos
+
+
+ {devCards.map(dev => {
+ return
+ })}
+
+
+ )
+}
+
+const styles = StyleSheet.create({
+ container: {
+ flex: 1,
+ backgroundColor: "#F4F5F8"
+ },
+ elevationBody: {
+ backgroundColor: "#fff",
+ elevation: 1,
+ borderRadius: 10,
+ paddingTop: 10,
+ paddingBottom: 10,
+ marginTop: 30,
+ marginLeft: 30,
+ marginRight: 30,
+ marginBottom: 10,
+ alignItems: "center",
+ justifyContent: "center",
+ flexDirection: "column"
+ },
+ textViewStyle: {
+ marginTop: 15,
+ marginBottom: 20,
+ marginLeft: 30,
+ marginRight: 30
+ },
+ imageStyle: {
+ marginTop: 10,
+ marginBottom: 10,
+ width: 75,
+ height: 75
+ },
+ linkStyle: {
+ fontSize: 20,
+ color: "#0000ff",
+ textDecorationLine: "underline"
+ },
+ titleTextStyle: {
+ fontSize: 20,
+ fontFamily: "OpenSans",
+ color: "#999295"
+ }
+})
+
+export default aboutScreen
diff --git a/src/assets/imgs/dev_profiles/evandro.jpeg b/src/assets/imgs/dev_profiles/evandro.jpeg
new file mode 100644
index 0000000..f381911
Binary files /dev/null and b/src/assets/imgs/dev_profiles/evandro.jpeg differ
diff --git a/src/assets/imgs/dev_profiles/jpe.jpeg b/src/assets/imgs/dev_profiles/jpe.jpeg
new file mode 100644
index 0000000..a2ed938
Binary files /dev/null and b/src/assets/imgs/dev_profiles/jpe.jpeg differ
diff --git a/src/assets/imgs/dev_profiles/max.jpeg b/src/assets/imgs/dev_profiles/max.jpeg
new file mode 100644
index 0000000..da53454
Binary files /dev/null and b/src/assets/imgs/dev_profiles/max.jpeg differ
diff --git a/src/assets/imgs/dev_profiles/neto.jpeg b/src/assets/imgs/dev_profiles/neto.jpeg
new file mode 100644
index 0000000..a1136c7
Binary files /dev/null and b/src/assets/imgs/dev_profiles/neto.jpeg differ
diff --git a/src/assets/imgs/unichat-icon.png b/src/assets/imgs/unichat-icon.png
new file mode 100644
index 0000000..b44c747
Binary files /dev/null and b/src/assets/imgs/unichat-icon.png differ
diff --git a/src/routes.js b/src/routes.js
index 84d0fe8..347e3d6 100644
--- a/src/routes.js
+++ b/src/routes.js
@@ -15,7 +15,7 @@ import Conversas from "~/Screens/Conversas/conversas"
import Settings from "~/Screens/Config/config"
import EditPerfil from "~/Screens/EditPerfil/editperfil"
import Languages from "~/Screens/Languages/languages"
-
+import About from "~/Screens/About/about"
import { Icon } from "react-native-elements"
const tabBarNavigator = createMaterialTopTabNavigator(
@@ -91,13 +91,14 @@ const HomeStackNavigator = createStackNavigator(
header: null
}
},
+ PreviewImage: {
+ screen: PreviewImage
+ },
+
LanguagesScreen: {
screen: Languages,
navigationOptions: {
- title: "Tela de Idiomas",
- headerTitleStyle: {
- fontWeight: "normal"
- }
+ header: null
}
},
Contacts: {
@@ -118,6 +119,12 @@ const HomeStackNavigator = createStackNavigator(
navigationOptions: {
header: null
}
+ },
+ AboutScreen: {
+ screen: About,
+ navigationOptions: {
+ header: null
+ }
}
},
{