diff options
author | Ivan Chen <ivan@thetaggid.com> | 2021-02-02 18:34:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 18:34:03 -0500 |
commit | 269f693ae3bc3e6f72128b0a3d1d268edd9f9140 (patch) | |
tree | 05fe0f790cd7ef0c7e7cc2875bbfa05e650f07cb /src | |
parent | 5404ffb251885bb748f974f8f9d6f592fa0e1466 (diff) | |
parent | 116438009503359a78c3af7f36485e46cdd25bb6 (diff) |
Merge pull request #205 from tbhatia2299/TMA-546-Onboarding-Page
TMA-546-Onboarding-Page
Diffstat (limited to 'src')
-rw-r--r-- | src/assets/images/welcome.png | bin | 304406 -> 415560 bytes | |||
-rw-r--r-- | src/screens/onboarding/WelcomeScreen.tsx | 24 |
2 files changed, 13 insertions, 11 deletions
diff --git a/src/assets/images/welcome.png b/src/assets/images/welcome.png Binary files differindex 46ab4f9f..62b46077 100644 --- a/src/assets/images/welcome.png +++ b/src/assets/images/welcome.png diff --git a/src/screens/onboarding/WelcomeScreen.tsx b/src/screens/onboarding/WelcomeScreen.tsx index 96d3f929..7e18cb99 100644 --- a/src/screens/onboarding/WelcomeScreen.tsx +++ b/src/screens/onboarding/WelcomeScreen.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import {StyleSheet, View, Text, Image, TouchableOpacity} from 'react-native'; -import {SCREEN_WIDTH} from '../../utils'; +import {normalize, SCREEN_WIDTH} from '../../utils'; import {Background} from '../../components'; import {OnboardingStackParams} from '../../routes'; import {StackNavigationProp} from '@react-navigation/stack'; @@ -29,7 +29,7 @@ const WelcomeScreen: React.FC<WelcomeScreenProps> = ({navigation}) => { /> <View> - <Text style={styles.header}>Welcome to TAGG!</Text> + <Text style={styles.header}>Welcome to Tagg!</Text> <Text style={styles.subtext}> Tagg is the new social networking platform for you! It will help you create your own personalized digital space where you can express who @@ -53,26 +53,28 @@ const styles = StyleSheet.create({ flexDirection: 'column', justifyContent: 'center', alignItems: 'center', + marginTop: '10%', }, image: { - width: SCREEN_WIDTH, - height: SCREEN_WIDTH, + width: SCREEN_WIDTH * 0.9, + height: SCREEN_WIDTH * 0.9, }, header: { color: '#fff', - fontSize: 32, - fontWeight: '600', + fontSize: normalize(28), + fontWeight: '700', textAlign: 'center', marginBottom: '4%', marginHorizontal: '10%', }, subtext: { color: '#fff', - fontSize: 16, - fontWeight: '600', + fontSize: normalize(17), + fontWeight: '500', textAlign: 'center', - marginBottom: '15%', + marginBottom: '10%', marginHorizontal: '10%', + lineHeight: normalize(25), }, nextButton: { backgroundColor: '#8F01FF', @@ -86,8 +88,8 @@ const styles = StyleSheet.create({ marginBottom: '15%', }, nextButtonLabel: { - fontSize: 30, - fontWeight: '500', + fontSize: normalize(20), + fontWeight: '700', color: '#ddd', }, }); |