Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit 985265c

Browse files
author
soliury
committed
edit About style
1 parent 6ddd3a6 commit 985265c

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

app/configs/config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ module.exports = {
1212
blog: 'http://lingyong.me/about',
1313
cnodeName: 'soliury'
1414
},
15-
cnodeAbout: 'https://cnodejs.org/about'
15+
cnodeAbout: 'https://cnodejs.org/about',
16+
RNWebPage: 'http://facebook.github.io/react-native/'
1617
}

app/containers/About.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ class Home extends Component {
8989
></Image>
9090
</TouchableOpacity>
9191
</View>
92+
93+
<TouchableOpacity onPress={() => window.link(config.RNWebPage)}>
94+
<Text style={styles.reactNative}>Power By
95+
React-Native {'v' + config.package.dependencies['react-native']}</Text>
96+
</TouchableOpacity>
9297
</View>
9398
</BlurView>
9499
</Image>
@@ -157,6 +162,11 @@ var styles = StyleSheet.create({
157162
height: 20,
158163
width: 100,
159164
opacity: 0.5
165+
},
166+
reactNative: {
167+
fontSize: 16,
168+
color: 'rgba(255,255,255,0.3)',
169+
marginBottom: 10
160170
}
161171
})
162172

0 commit comments

Comments
 (0)