From 47623a3e15d0682f64bad72969f5ede8124d1d00 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Fri, 29 Mar 2019 10:38:49 -0400 Subject: added short description --- mobile/components/GreetingPage.js | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/mobile/components/GreetingPage.js b/mobile/components/GreetingPage.js index 9301fbc..70b7277 100644 --- a/mobile/components/GreetingPage.js +++ b/mobile/components/GreetingPage.js @@ -53,7 +53,7 @@ export default class GreetingPage extends Component { //when creating web pages // initialy show a loading screen when trying to get location on load - if (this.state.isLoading) { + if (this.state.isLoading && this.state.fontsLoaded) { return ( @@ -71,7 +71,10 @@ export default class GreetingPage extends Component { - Welcome to Helpthehome! + See a homeless person who might need help? {"\n\n"}TELL US!! + + + Tell us where they are ⬇ {"\n\n"}(And don't worry, we won't force you to share your location) @@ -125,18 +128,24 @@ const styles = StyleSheet.create( { alignItems: 'stretch' }, titleContainer: { - flex: 3, + flex: 4, //position: 'absolute', - marginTop: 205, + marginTop: 100, //flexGrow: 1 }, title: { color: '#FFF', - marginTop: 10, + padding: 35, textAlign: 'center', opacity: 0.9, + fontSize: 24, + fontStyle: 'italic', + }, + subtitle: { + color: "#FFF" , + padding: 20, + textAlign: "center", fontSize: 18, - fontStyle: 'italic' }, current_location_title: { color: '#FFF', -- cgit v1.2.3 From d6920204095df4e5f68324212ac6938bafcc3ad4 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Fri, 29 Mar 2019 10:41:02 -0400 Subject: remove unused code --- mobile/components/GreetingPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/components/GreetingPage.js b/mobile/components/GreetingPage.js index 70b7277..0bc61cf 100644 --- a/mobile/components/GreetingPage.js +++ b/mobile/components/GreetingPage.js @@ -53,7 +53,7 @@ export default class GreetingPage extends Component { //when creating web pages // initialy show a loading screen when trying to get location on load - if (this.state.isLoading && this.state.fontsLoaded) { + if (this.state.isLoading) { return ( -- cgit v1.2.3