created launch screen

This commit is contained in:
u-e 2019-07-07 13:49:55 +03:00
parent 1009828dd9
commit 5c5814aa4a
2 changed files with 14 additions and 69 deletions

View File

@ -1,48 +1,18 @@
import React, { PureComponent, Fragment } from 'react';
import { View, Text } from 'react-native';
// Constants
// Components
import React from 'react';
import { View } from 'react-native';
import { Logo } from '../../../components';
// import styles from './launchStyles';
class LaunchScreen extends PureComponent {
/* Props
* ------------------------------------------------
* @prop { type } name - Description....
*/
constructor(props) {
super(props);
this.state = {};
}
// Component Life Cycles
// Component Functions
render() {
return <Fragment />;
// Temporarily removed
// return (
// <View
// style={{
// flex: 1,
// justifyContent: 'center',
// alignItems: 'center',
// marginBottom: 130,
// }}
// >
// <Logo style={{ width: 130, height: 130 }} />
// {/* <Text style={{ fontSize: 24 }}>eSteem</Text>
// <Text style={{ fontSize: 24 }}>mobile</Text> */}
// </View>
// );
}
}
const LaunchScreen = () => (
<View
style={{
flex: 1,
justifyContent: 'center',
alignItems: 'center',
marginBottom: 80,
}}
>
<Logo style={{ width: 105, height: 110 }} />
</View>
);
export default LaunchScreen;

View File

@ -1,25 +0,0 @@
import EStyleSheet from 'react-native-extended-stylesheet';
export default EStyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'red',
},
title: {
fontFamily: 'Sansation_Bold',
color: '$primaryDarkBlue',
fontSize: 30,
paddingBottom: 0,
},
subTitle: {
fontFamily: 'Sansation_Regular',
color: '#00519c',
fontSize: 24,
},
logo: {
width: '$deviceWidth / 4',
height: '$deviceWidth / 4',
},
});