Onboarding texts

This commit is contained in:
Diego Mello 2020-03-26 12:24:48 -03:00
parent 77256eb3c0
commit e695a83920
2 changed files with 16 additions and 8 deletions

View File

@ -147,9 +147,10 @@ class OnboardingView extends React.Component {
testID='onboarding-view' testID='onboarding-view'
> >
<StatusBar theme={theme} /> <StatusBar theme={theme} />
<Image style={styles.onboarding} source={{ uri: 'onboarding' }} fadeDuration={0} /> <Image style={styles.onboarding} source={{ uri: 'logo' }} fadeDuration={0} />
<Text style={[styles.title, { color: themes[theme].titleText }]}>{I18n.t('Welcome_to_RocketChat')}</Text> <Text style={[styles.title, { color: themes[theme].titleText }]}>{I18n.t('Welcome_to_RocketChat')}</Text>
<Text style={[styles.subtitle, { color: themes[theme].auxiliaryText }]}>{I18n.t('Open_Source_Communication')}</Text> <Text style={[styles.subtitle, { color: themes[theme].controlText }]}>Beyond Team Collaboration</Text>
<Text style={[styles.description, { color: themes[theme].auxiliaryText }]}>A workspace is your team or organizations space to collaborate. Ask the workspace admin for address to join or create one for your team.</Text>
<View style={[styles.buttonsContainer, isTablet && sharedStyles.tabletScreenContent]}> <View style={[styles.buttonsContainer, isTablet && sharedStyles.tabletScreenContent]}>
<Button <Button
type='secondary' type='secondary'

View File

@ -12,12 +12,12 @@ export default StyleSheet.create({
}, },
onboarding: { onboarding: {
alignSelf: 'center', alignSelf: 'center',
marginTop: verticalScale(30), marginTop: verticalScale(116),
marginBottom: verticalScale(35), marginBottom: verticalScale(50),
maxHeight: verticalScale(150), maxHeight: verticalScale(150),
resizeMode: 'contain', resizeMode: 'contain',
width: 309, width: 80,
height: 250 height: 70
}, },
title: { title: {
...sharedStyles.textBold, ...sharedStyles.textBold,
@ -29,8 +29,15 @@ export default StyleSheet.create({
subtitle: { subtitle: {
...sharedStyles.textRegular, ...sharedStyles.textRegular,
fontSize: moderateScale(16), fontSize: moderateScale(16),
color: '#54585E', alignSelf: 'center',
alignSelf: 'center' marginBottom: verticalScale(24)
},
description: {
...sharedStyles.textRegular,
fontSize: moderateScale(14),
alignSelf: 'center',
textAlign: 'center',
marginHorizontal: 20
}, },
buttonsContainer: { buttonsContainer: {
marginBottom: verticalScale(10), marginBottom: verticalScale(10),