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 React from 'react';
import { View, Text } from 'react-native'; import { View } from 'react-native';
// Constants
// Components
import { Logo } from '../../../components'; import { Logo } from '../../../components';
// import styles from './launchStyles'; const LaunchScreen = () => (
<View
class LaunchScreen extends PureComponent { style={{
/* Props flex: 1,
* ------------------------------------------------ justifyContent: 'center',
* @prop { type } name - Description.... alignItems: 'center',
*/ marginBottom: 80,
}}
constructor(props) { >
super(props); <Logo style={{ width: 105, height: 110 }} />
this.state = {}; </View>
} );
// 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>
// );
}
}
export default LaunchScreen; 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',
},
});