Skip to content

Commit

Permalink
finish some adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
bob committed Sep 20, 2016
1 parent bedbb2a commit 4f64096
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
Binary file added src/assets/personal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 11 additions & 12 deletions src/pages/AboutPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ export default class extends Component {
<Image source={require('../assets/avatar.png')} style={[styles.avatar, {backgroundColor: 'white'}]}/>
<Image source={require('../assets/liaohuqiu.jpeg')} style={[styles.avatar, {marginLeft: -15, zIndex: -1}]}/>
</View>
<View style={styles.bottom}>
<TouchableOpacity
style={styles.bottom}
onPress={() => Linking.openURL('https://github.com/Bob1993/mdcc-client')}>
<Text style={[styles.bottomText, {marginBottom: 5}]}>latest_update: {updateTime}</Text>
<TouchableOpacity
style={{flexDirection: 'row'}}
onPress={() => Linking.openURL('https://github.com/Bob1993/mdcc-client')}>
<Image
style={styles.github}
source={{uri: 'https://upload.wikimedia.org/wikipedia/commons/thumb/9/91/Octicons-mark-github.svg/1200px-Octicons-mark-github.svg.png'}} />
<Text style={styles.bottomText}>https://github.com/Bob1993/mdcc-client</Text>
</TouchableOpacity>
</View>
<View style={[{flexDirection: 'row', justifyContent: 'center', alignItems: 'center'}]}>
<Image
style={styles.github}
source={{uri: 'https://upload.wikimedia.org/wikipedia/commons/thumb/9/91/Octicons-mark-github.svg/1200px-Octicons-mark-github.svg.png'}} />
<Text style={styles.bottomText}>https://github.com/Bob1993/mdcc-client</Text>
</View>
</TouchableOpacity>
</View>
<TouchableOpacity
hitSlop={{top: 15, left: 15, bottom: 15, right: 15}}
Expand Down Expand Up @@ -80,8 +80,7 @@ const styles = StyleSheet.create({
right: 0,
left: 0,
bottom: 0,
height: 50,
justifyContent: 'center',
height: 45,
alignItems: 'center'
},
bottomText: {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/MySchedules.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class MySchedules extends Component {

render () {
let profilePicture = (
<Image source={require('../assets/avatar.png')}
<Image source={require('../assets/personal.png')}
style={{height: 90, width: 90, borderRadius: 45, backgroundColor: 'white'}}
/>
)
Expand Down

0 comments on commit 4f64096

Please sign in to comment.