Add circleci logo

This commit is contained in:
Jake Howard 2016-02-06 17:55:11 +00:00
parent 87ea67cc2d
commit d679e84f9b
2 changed files with 11 additions and 3 deletions

View file

@ -19,7 +19,8 @@ const {
ScrollView, ScrollView,
BackAndroid, BackAndroid,
TouchableWithoutFeedback, TouchableWithoutFeedback,
Alert Alert,
Image
} = React; } = React;
const styles = StyleSheet.create({ const styles = StyleSheet.create({
@ -33,7 +34,7 @@ const styles = StyleSheet.create({
alignItems: 'center' alignItems: 'center'
}, },
input: { input: {
marginHorizontal: 15, marginHorizontal: 10,
fontSize: 15, fontSize: 15,
textAlign: 'center' textAlign: 'center'
}, },
@ -67,7 +68,6 @@ const styles = StyleSheet.create({
heading: { heading: {
fontSize: 18, fontSize: 18,
margin: 8, margin: 8,
marginVertical: 20
}, },
helpText: { helpText: {
fontSize: 11, fontSize: 11,
@ -76,6 +76,10 @@ const styles = StyleSheet.create({
}, },
text: { text: {
color: GlobalStyles.get('CIRCLE_TEXT') color: GlobalStyles.get('CIRCLE_TEXT')
},
icon: {
flex: 1,
margin: 5
} }
}); });
@ -153,6 +157,10 @@ export default class Login extends React.Component {
<View style={styles.container}> <View style={styles.container}>
<ScrollView keyboardShouldPersistTaps={false} contentContainerStyle={styles.container}> <ScrollView keyboardShouldPersistTaps={false} contentContainerStyle={styles.container}>
<View style={styles.contentWrapper}> <View style={styles.contentWrapper}>
<Image
style={styles.icon}
source={require('../../img/circle-ci-logo.png')}
resizeMode="contain"/>
<Text style={[styles.heading, styles.text]}> <Text style={[styles.heading, styles.text]}>
Please enter your CircleCI token Please enter your CircleCI token
</Text> </Text>

BIN
app/img/circle-ci-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB