Skip to content

Commit

Permalink
fix bugs on landing page code, make the url an easter egg
Browse files Browse the repository at this point in the history
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 facebook#8387

Differential Revision: D3479087

Pulled By: JoelMarcey

fbshipit-source-id: 45a2d21a9073b58b869e8b344550c28f849e0185
  • Loading branch information
lacker authored and Morgan Pretty committed Aug 24, 2016
1 parent 77abc8f commit cfc2831
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions website/src/react-native/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class WhyReactNativeIsSoGreat extends Component {
If you like React on the web, you'll like React Native.
</Text>
<Text>
You just use native components like '<View>' and '<Text>',
instead of web components like '<div>' and '<a>'.
You just use native components like 'View' and 'Text',
instead of web components like 'div' and 'span'.
</Text>
</View>
);
Expand All @@ -72,12 +72,12 @@ class AwkwardScrollingImageWithText extends Component {
render() {
return (
<ScrollView>
<Image source={{uri: 'http://facebook.github.io/react/thats-amazing.png'}} />
<Image source={{uri: 'https://i.chzbgr.com/full/7345954048/h7E2C65F9/'}} />
<Text>
On iOS, a React Native '<ScrollView>' uses a native UIScrollView.
On iOS, a React Native ScrollView uses a native UIScrollView.
On Android, it uses a native ScrollView.
On iOS, a React Native '<Image>' uses a native UIImageView.
On iOS, a React Native Image uses a native UIImageView.
On Android, it uses a native ImageView.
React Native wraps the fundamental native components, giving you
Expand Down

0 comments on commit cfc2831

Please sign in to comment.