Skip to content

Commit 1ffecb4

Browse files
lackerFacebook Github Bot
authored andcommitted
fix bugs on landing page code, make the url an easter egg
Summary: This is just improving a bit of lameness on the homepage - Devin pointed out the <>'s don't work within a Text tag, so I removed them, and someone else pointed out that nonexistent fake urls are suboptimal, so I improved that too. Closes #8387 Differential Revision: D3479087 Pulled By: JoelMarcey fbshipit-source-id: 45a2d21a9073b58b869e8b344550c28f849e0185
1 parent c6b1ed6 commit 1ffecb4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

website/src/react-native/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ class WhyReactNativeIsSoGreat extends Component {
5050
If you like React on the web, you'll like React Native.
5151
</Text>
5252
<Text>
53-
You just use native components like '<View>' and '<Text>',
54-
instead of web components like '<div>' and '<a>'.
53+
You just use native components like 'View' and 'Text',
54+
instead of web components like 'div' and 'span'.
5555
</Text>
5656
</View>
5757
);
@@ -72,12 +72,12 @@ class AwkwardScrollingImageWithText extends Component {
7272
render() {
7373
return (
7474
<ScrollView>
75-
<Image source={{uri: 'http://facebook.github.io/react/thats-amazing.png'}} />
75+
<Image source={{uri: 'https://i.chzbgr.com/full/7345954048/h7E2C65F9/'}} />
7676
<Text>
77-
On iOS, a React Native '<ScrollView>' uses a native UIScrollView.
77+
On iOS, a React Native ScrollView uses a native UIScrollView.
7878
On Android, it uses a native ScrollView.
7979
80-
On iOS, a React Native '<Image>' uses a native UIImageView.
80+
On iOS, a React Native Image uses a native UIImageView.
8181
On Android, it uses a native ImageView.
8282
8383
React Native wraps the fundamental native components, giving you

0 commit comments

Comments
 (0)