From 922013ba61a116520f9b7ae2965a71e2b926b48a Mon Sep 17 00:00:00 2001 From: Evandro Jr Date: Mon, 17 Jun 2019 23:04:59 -0300 Subject: [PATCH 1/4] adicionada a logo na tela de auth --- src/Screens/Auth/auth.js | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/src/Screens/Auth/auth.js b/src/Screens/Auth/auth.js index e8b39cc..525923d 100644 --- a/src/Screens/Auth/auth.js +++ b/src/Screens/Auth/auth.js @@ -11,7 +11,9 @@ import { YellowBox, TouchableOpacity, BackHandler, - PermissionsAndroid + PermissionsAndroid, + Image, + Dimensions } from "react-native" import LinearGradient from "react-native-linear-gradient" import firebase from "react-native-firebase" @@ -20,6 +22,7 @@ import AsyncStorage from "@react-native-community/async-storage" import Contacts from "react-native-contacts" import countryList from "../../assets/country_dials/dials" import { scale } from "~/Components/responsive" +import unichatIcon from "../../assets/imgs/unichat-icon.png" YellowBox.ignoreWarnings([ "Warning: componentWillMount is deprecated", @@ -198,7 +201,9 @@ export default class Auth extends Component { return ( - Insira seu número de telefone + + + Digite o número do seu telefone junto com o DDD @@ -254,6 +259,7 @@ export default class Auth extends Component { } } +const largura = Dimensions.get("window").width const styles = StyleSheet.create({ container: { flex: 1, @@ -262,17 +268,9 @@ const styles = StyleSheet.create({ marginTop: 10, padding: 5 }, - textBig: { - alignSelf: "center", - fontSize: scale(24), - color: "black", - fontWeight: "bold", - marginTop: 10, - marginBottom: 20 - }, textSmall: { alignSelf: "center", - fontSize: scale(12), + fontSize: scale(14), color: "gray", marginBottom: 20 }, @@ -290,6 +288,17 @@ const styles = StyleSheet.create({ }, textInputView: { flexDirection: "row" + }, icon: { + width: largura / 3 + 20, + height: largura / 3 + 20, + marginBottom: 30 + }, + logo: { + alignItems: "center", + justifyContent: "center", + height: (1 / 2) * largura, + top: 0, + marginBottom: 30 }, countryTextInput: { fontSize: scale(16), From 020b0b9295b8d499a63933bfb84df7e660fee2eb Mon Sep 17 00:00:00 2001 From: Evandro Jr Date: Mon, 17 Jun 2019 23:38:39 -0300 Subject: [PATCH 2/4] borda alterada a cor --- src/Screens/Auth/auth.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Screens/Auth/auth.js b/src/Screens/Auth/auth.js index 525923d..e025017 100644 --- a/src/Screens/Auth/auth.js +++ b/src/Screens/Auth/auth.js @@ -288,17 +288,6 @@ const styles = StyleSheet.create({ }, textInputView: { flexDirection: "row" - }, icon: { - width: largura / 3 + 20, - height: largura / 3 + 20, - marginBottom: 30 - }, - logo: { - alignItems: "center", - justifyContent: "center", - height: (1 / 2) * largura, - top: 0, - marginBottom: 30 }, countryTextInput: { fontSize: scale(16), From 98cffcb9f859f813e7bd9609ad57395c73f3a50c Mon Sep 17 00:00:00 2001 From: Sosolidkk Date: Tue, 18 Jun 2019 00:30:47 -0300 Subject: [PATCH 3/4] =?UTF-8?q?Realizada=20algumas=20corre=C3=A7=C3=B5es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Screens/Auth/auth.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/Screens/Auth/auth.js b/src/Screens/Auth/auth.js index 525923d..d0df901 100644 --- a/src/Screens/Auth/auth.js +++ b/src/Screens/Auth/auth.js @@ -288,17 +288,15 @@ const styles = StyleSheet.create({ }, textInputView: { flexDirection: "row" - }, icon: { - width: largura / 3 + 20, - height: largura / 3 + 20, - marginBottom: 30 + }, + icon: { + width: largura / 2.5, + height: largura / 2.5 }, logo: { alignItems: "center", justifyContent: "center", - height: (1 / 2) * largura, - top: 0, - marginBottom: 30 + marginBottom: 20 }, countryTextInput: { fontSize: scale(16), From 1a93b1f71bd9a4294cbb02fd7e68dd3d24c4321b Mon Sep 17 00:00:00 2001 From: Evandro Jr Date: Tue, 18 Jun 2019 00:40:42 -0300 Subject: [PATCH 4/4] =?UTF-8?q?mudan=C3=A7a=20no=20alinhamento=20do=20text?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Screens/Auth/auth.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Screens/Auth/auth.js b/src/Screens/Auth/auth.js index e025017..28b82e2 100644 --- a/src/Screens/Auth/auth.js +++ b/src/Screens/Auth/auth.js @@ -272,7 +272,8 @@ const styles = StyleSheet.create({ alignSelf: "center", fontSize: scale(14), color: "gray", - marginBottom: 20 + marginBottom: 20, + textAlign: "center" }, textEnd: { alignSelf: "center", @@ -289,6 +290,15 @@ const styles = StyleSheet.create({ textInputView: { flexDirection: "row" }, + icon: { + width: largura / 2.5, + height: largura / 2.5 + }, + logo: { + alignItems: "center", + justifyContent: "center", + marginBottom: 20 + }, countryTextInput: { fontSize: scale(16), width: 50,